stjude / proteinpaint

Data visualization and analysis framework focused on phenotype-molecular data integration at cohort level.
https://proteinpaint.stjude.org/
Other
17 stars 5 forks source link

feat: Support inputing custom CNV segments in mds3 tk, improve cnv re… #1793

Closed xzhou82 closed 3 months ago

xzhou82 commented 3 months ago

…ndering

Description

refactoring to fix logic of assuming mds3 tk only works with "skewer" data. now it can support cnv-only data. also has a convenient format to drop in custom cnv segments

to test, at http://localhost:3000/?genome=hg38-test&gene=p53&mds3=TermdbTest, click + button and paste below to render custom cnv segments:

only cnv, no sample:

100 200 1 50 250 -1

cnv+ssm, no sample:

abc 100 M 100 200 1 50 250 -1

cnv+ssm, has sample:

abc 100 M sample1 100 200 1 sample2 50 250 -1 sample3

all mds3 tests pass. a few new tests added to cover cnv rendering. all gdc lollipop features are not impacted

Checklist

Check each task that has been performed or verified to be not applicable.