UC-Davis-molecular-computing / scadnano-python-package

Python scripting library for generating designs readable by scadnano.
https://scadnano.org
MIT License
13 stars 7 forks source link

add method `Design.base_pairs` #252

Closed dave-doty closed 1 year ago

dave-doty commented 1 year ago

It would be useful to have a method that calculates addresses (helix idx and offset) all base pairs in the design.

Have an optional parameter "include mismatches", default False, that includes non-complementary bases that are at the same offset on the same helix.

After translating it to Dart for the web interface it would help with issue https://github.com/UC-Davis-molecular-computing/scadnano/issues/829.