graph-genome / MatrixTubeMap

Using a Matrix to show coverage of multiple genomic sequences using a prototype hack of Sequence Tubemap
MIT License
7 stars 0 forks source link

Sunset: Picking a Production Platform Successor #22

Open josiahseaman opened 4 years ago

josiahseaman commented 4 years ago

This is a second generation version of Issue: Decide on Technology Stack. Now our requirements have changed significantly. For production, we should start a new project that will replace the ugly prototype that is MatrixTubemap. For starters we will:

Jobs to Fill

  1. Load Graph, Sort, Link: ODGI (C++ with Python Bindings)
  2. Convert to our static format: Tubeify (Should still work here)
  3. Render queries to Pixels
    • SPARQL endpoint: ?
    • FluentDNA: creates static zoom stack
  4. Browsing Canvas: OpenSeadragon or chromozoom.org (either will need an extra zoom dimension implemented OSD has better image plugins, chromozoom has user tracks)
  5. Annotation Stretch to Pangenome coordinates: not yet written
  6. Annotation Renderer: (UCSC, JBrowse, JBrowse2, IGV, etc.)
ekg commented 4 years ago

This looks good to me.

Could we directly go from odgi to the pixel format? This could work based on python bindings.

josiahseaman commented 4 years ago

Erik, my inclination is certainly to go directly to pixels because it's so straightforward. My only concern is that we might eventually want 2-3 parallel images with different color info. We can color progress and inversions in one image, but we can't also pack in copy number, row and haplotype into the same color space. However, progress and inversions coloring is a strong first use case, and haplotype is better served with row sorting. Row coloring is only a visual assist which can be replaced with good mouse UX. That leaves copy number, which is rare so maybe we can smuggle it in or just have the one alternative color image.

I just wrote a lengthy post describing options for a front end platform: OpenSeadragon #277