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

account for Helix Group rotation properly in oxdna/oxview export #309

Open
dave-doty opened this issue Oct 15, 2024 · 0 comments
Open

account for Helix Group rotation properly in oxdna/oxview export #309

dave-doty opened this issue Oct 15, 2024 · 0 comments
Assignees

Comments

@dave-doty
Copy link
Member

dave-doty commented Oct 15, 2024

This scadnano design:

image

Does not export as expected to oxView:

image

complex.zip

The three short (length 7) helices 2,3,4 should be between the two longer helices 0 and 1, since they are grid coordinates (0,0), (0,1), and (0,2). Instead, helices 2,3,4 go in the positive y-direction instead of the negative z-direction.

But, I could simply be thinking about this improperly. I assumed if I set the rotation of the helix group containing helices 2,3,4 to 90, then grid coordinates (0,0), (0,1), (0,2), which move in the positive y-direction normally, after rotating should now move in the negative x direction. I could be thinking about this improperly. But the intention was always that any design that can be rendered in the scadnano 2D main view should look similar in a 3D export since adjusting only pitch (which rotates in the y-z plane of the main view) and y-z position (which translates only within the y-z plane) should preserve the geometric depiction of the design in both.

@DanielHader DanielHader self-assigned this Oct 15, 2024
dave-doty added a commit that referenced this issue Oct 21, 2024
…-for-helix-group-rotation-properly

Close Issue #309: account for helix group rotation properly
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

2 participants