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

labelInterval on cofolded sequences #9

Open
h-vermeiren opened this issue Mar 5, 2017 · 0 comments
Open

labelInterval on cofolded sequences #9

h-vermeiren opened this issue Mar 5, 2017 · 0 comments

Comments

@h-vermeiren
Copy link

h-vermeiren commented Mar 5, 2017

on cofolded sequences, the label is correct on the first sequence, but on the second sequence the first label is wrong

<script type='text/javascript'> var alignment = "AAAAAAAAGGAAAAAAAAA&AAAAAAAAAAAAAAAAAAAAAAACCAAACACA" var dotbracket = "........((.........&.......................))......." var container = new fornac.FornaContainer("#cofold_ss", {'allowPanningAndZooming': true, 'initialSize':[500,300]}); var options = {'structure': dotbracket, 'sequence': alignment, 'circularizeExternal': false, 'applyForce': true, 'labelInterval': 5, 'name':'test' }; container.addRNA(options.structure, options); container.setSize(); </script>

results in:
image

on 1 sequence the label is correctly at 5,10,15,20; on the other sequence it is at 4, 9, 14,...

the length of the sequence with the correct labelling (sequence 1) influences the offset of the labels on the second sequence:
when
var alignment = "AAAAAAAAGGAAAAAAAAAA&AAAAAAAAAAAAAAAAAAAAAAACCAAACACA" var dotbracket = "........((..........&.......................))......."
(sequence 1 has length=20) then the first label on sequence 2 is at 3
image

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