-
Notifications
You must be signed in to change notification settings - Fork 13
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
export to oxView format #588
Comments
Here is the addition I wrote for converting to the .oxview format in the candano conversion script: If you can get correct positions and connectivity for oxDNA, it should be easy to output to oxView as well I've also added oxview conversion for rpoly (vhelix) and tiamat. There is no written standard for the oxview format yet, I'm afraid, but you can easily create and test examples by saving and loading structures in oxview: https://sulcgroup.github.io/oxdna-viewer/. And just let me know if you have any questions! |
Now that this is implemented in the Python package (UC-Davis-molecular-computing/scadnano-python-package#173), this should be easy by translating the export code to Dart. See how the oxDNA export currently works (in middleware) for an example of how to do this sort of export in general. |
Release notesExport to oxView formatThe scadnano web interface can now export to the oxView format, which (like oxDNA files) can be read the tool oxView. It has been possible for a while to export to the oxDNA format, but this is nicer just for visualizing scadnano structures in oxView, because
For example, this scadnano design: exports like this in oxView: In particular, this provides an immediate visual cue that the view angle in oxView is reversed in both horizontal and vertical directions from that of scadnano, since the purple staple in the bottom right of scadnano appears in the top left of oxView. Rotating it 180 degrees around the y (up-down) axis, and then rotating 180 degree around the z (left-right) axis, then the oxView orientation matches scadnano's: This can also be checked with the axis arrows of oxView and scadnano, which match colors: |
…to-oxview-format closes #588: export to oxView format
There is a new file format for oxView, which has more information than oxDNA (such as strand names, colors, base pairs).
scadnano should be able to export directly to this format, since scadnano has such information that can be embedded in the oxView format.
See also issue UC-Davis-molecular-computing/scadnano-python-package#139
Format explained here: https://github.com/sulcgroup/oxdna-viewer/blob/master/file-format.md
The text was updated successfully, but these errors were encountered: