Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The backbone of 1st structure does not move when display multiple structures with applyForce = True option #49

Open
LeKhang97 opened this issue May 14, 2022 · 0 comments

Comments

@LeKhang97
Copy link

LeKhang97 commented May 14, 2022

When I tried to display multiple structures with applyForce = True, for the 2nd structure, it doesn't have any problem. But for the first structure, the backbone does not move with the nucleotide chain, thus extracting the backbone from the nucleotide chain.

Here is my code:





<script type='text/javascript' src='htdocs/js/jquery.js'></script>
<script type='text/javascript' src='htdocs/js/d3.js'></script>
<script type='text/javascript' src='htdocs/js/fornac.js'></script>

<script type='text/javascript'>
    var container = new FornaContainer("#rna_ss1", {'applyForce': true});
    var options = {'structure': '((..((....)).(((....))).))',
                   'sequence':  'CGCUUCAUAUAAUCCUAAUGACCUAU'};
    container.addRNA(options.structure, options);

    var container = new FornaContainer("#rna_ss2", {'applyForce': true});
    var options = {'structure': '((..((....)).(((....))).))',
                   'sequence':  'CGCUUCAUAUAAUCCUAAUGACCUAU'};
    container.addRNA(options.structure, options);

I would be very appreciated if someone can help me for this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant