hms-dbmi / chromoscope

Interactive multiscale visualization for structural variation in human genomes
https://chromoscope.bio/
MIT License
60 stars 6 forks source link

Load multiple samples or a cohort through the UI #136

Open skchronicles opened 5 months ago

skchronicles commented 5 months ago

Hello @sehilyi,

I hope you are having a great day! Before I get started, I just wanted to say thank you for creating this awesome tool. Chromoscope is amazing.

Would it be possible to add a mechanism that allows a user to load multiple samples from config through the UI? I was thinking it would be awesome if a user could point to a multi-sample config file as described here via https or as a local config file, it would be awesome.

Some thing like this would be perfect: image

Please let me know what you think, and have a great day!

Best regards, @skchronicles

dominikglodzikhms commented 5 months ago

Thank you for pointing this out!

So we can best help you and other users, I would like to ask a follow-up question. Am I correctly guessing that the graphical interface for adding cohorts would eliminate the complicated URLs for the cohorts (which contain URLs within URLs)? What you are describing would currently be achieved by modifying the URL and using the 'external' variable. https://chromoscope.bio/loading-data/url-parameters

Or, perhaps, would you like to entirely skip the need to upload configuration files to servers, hoping that Chromoscope would take care of this complexity?

Thank you Dominik

skchronicles commented 5 months ago

Hey @dominikglodzikhms,

Am I correctly guessing that the graphical interface for adding cohorts would eliminate the complicated URLs for the cohorts (which contain URLs within URLs)?

Yes, that is correct. I was hoping I could send another user a copy of a local config file and then they could upload it into the application to view a batch or set of samples. If the UI could accept a local file (and also a file over https, less important), that would be perfect!