UC-Davis-molecular-computing / scadnano

Web application for designing DNA structures such as DNA origami.
https://scadnano.org
MIT License
21 stars 13 forks source link

option to display paired bases with gray rectangle #897

Closed dave-doty closed 3 months ago

dave-doty commented 11 months ago

Currently "base pair lines" can be displayed, which helps when making figures:

image

Another common convention is to depicted double-stranded regions with a gray rectangle connecting the two DNA strands (e.g., from https://www.solo-group.link/papers/dsd-leakless.pdf, Leakless DNA strand displacement systems, Chris Thachuk, Erik Winfree, David Soloveichik, [DNA Computing and Molecular Programming 21 (DNA21), 2015]):

image

Give this as another view option under View-->Base pairs-->then have a radio button selector (DialogRadio) with three options:

With "... even if bases mismatch" disabled if None is selected.

rayzhuca commented 7 months ago

Before I implement it, I wanted to double check that I have the correct idea in mind. So we just replace the baselines with a grey rectangle?

Screenshot 2023-12-18 at 12 22 18 PM
dave-doty commented 7 months ago

Before I implement it, I wanted to double check that I have the correct idea in mind. So we just replace the baselines with a grey rectangle? Screenshot 2023-12-18 at 12 22 18 PM

Exactly, that looks perfect.