UC-Davis-molecular-computing / scadnano

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

Feature request for web interface: more export options #868

Open Sam-Davidson opened 1 year ago

Sam-Davidson commented 1 year ago

General export options: -for IDT plates, the default export puts the staples in wells by plate column (A1, B1, C1, etc). I go by row for my experimental purposes, and currently I must manually switch to plate row (A1, A2, A3, etc). -option to include a space between each domain on a staple. Spaces do not affect IDT orders, and they can be useful for adding more visual meaning.

I would like the option to include more info columns in exported spreadsheets, such as: -staple color (in RGB or hex is fine) -staple group (if you implement my request to have selectable staple groups) -helices that the staple binds to -number of domains / crossovers in the staple -whether the staple bridges a scaffold crossover

dave-doty commented 1 year ago

General export options: -for IDT plates, the default export puts the staples in wells by plate column (A1, B1, C1, etc). I go by row for my experimental purposes, and currently I must manually switch to plate row (A1, A2, A3, etc).

This is already implemented:

image

-option to include a space between each domain on a staple. Spaces do not affect IDT orders, and they can be useful for adding more visual meaning.

This can be done.

I would like the option to include more info columns in exported spreadsheets, such as: -staple color (in RGB or hex is fine) -staple group (if you implement my request to have selectable staple groups) -helices that the staple binds to -number of domains / crossovers in the staple -whether the staple bridges a scaffold crossover

I'm hesitant to implement anything this complex in the web interface because I wouldn't know how to provide all the options anyone could ever want. Right now the exports are mainly for file formats supported by IDT to make that simple (and at some point I want to support other formats such as Bioneer or Eurofins). To make something more custom, if it were me, I'd simply use the Python package to do this, and then you can configure what goes into the exported file however you like.

dave-doty commented 1 year ago

Pranav and Edwin, for now let's just do the "option for space between domains" part of this when exporting DNA sequences.

Sam-Davidson commented 1 year ago

Hi Dave! Thanks for reading and responding to my 99 theses on feature requests.

This is already implemented:

That is a good feature, but it is not the one I am requesting. That checkbox is for row and column order in the origami, not in the IDT plate. The resulting sort order is different, such that the A1 well on the first plate may contain different strands (as shown in the attached Excel files). However, for the feature I'm requesting, the contents of the A1 well would not change since the strand sort order will always be the same. If you decide to add a second checkbox for my requested feature, you could potentially have the two options say: "origami column-major order (uncheck for row-major order" (this is the one you already have) "plate column-major order (uncheck for row-major order)" (this would be the new one I'm requesting)

column major order.xlsx row major order.xlsx response to Dave 1 response to Dave 2

dave-doty commented 1 year ago

That checkbox is for row and column order in the origami, not in the IDT plate.

Ah, I implemented this so long ago I forgot what it really means. Yes, now that I look at the code, I see that whatever order the strands come in, they go into the plate in column-major order unconditionally, so definitely there should be an option to specify row-major order in the plate.

I'm going to make that a separate issue.

dave-doty commented 1 year ago

See #912.

dave-doty commented 1 year ago

See #874.