Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 867 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 867 Bytes

In-silico gel electrophoresis visualization

  • Take a dict of {samples : [DNA lengths list]}
  • Migrate according to a reference ladder's DNA size: vertical displacement proportion (1kb+ only)
  • assign samples to howevermany rows of length row_len
  • Visualize hypothetical plot
  • Could go downstream of PCR or restriction digestion simulation

Updates:

2025-01-13:

  • Added 1kb+ band intensity (mass) to gel_plotly()
  • Added example plotly png

2025-01-10:

  • Tested some visualization alternatives and settled on Plotly.
  • See ./plotly_eg.html
  • Data generation detailed in plotly_eg.py.

Example plotly image

A static image of an interactive plot

Requirements:

  • numpy
  • matplotlib
  • plotly

shortcomings:

  • band intensity is singular
  • unusable standalone without some sequence parsing know-how