Skip to content

genotechture/insilicogel

Repository files navigation

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

About

in-silico gel electrophoresis visualization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published