cad2scad.py

This script wraps the scadnano Python Library to perform quick interconversions between the caDNAno and scadnano file formats.

To convert from caDNAno to scadnano:

python3 cad2scad.py origami_name.json

To convert from scadnano to caDNAno:

python3 cad2scad.py origami_name.sc

In each case, the source file specified as argument should be in the _assets directory. The new file converted to is also placed in the _assets directory.

Note that these operations are also available on the scadnano web interface.