GMOD / jbrowse-components

Source code for JBrowse 2, a modern React-based genome browser
https://jbrowse.org/jb2
Apache License 2.0
195 stars 60 forks source link

Categorize synteny tracks in track selector according to reference or query relative mode #4327

Open cmdcolin opened 3 months ago

cmdcolin commented 3 months ago

specifically when you are viewing synteny tracks in the linear genome view.

some precedent for this is the session tracks, this is an automatically generated category

there is a bit of jargon in the title but the crux of the issue is you can have a hg19VsHg38 track, where hg19 was aligned to hg38. That means hg38 was the target of the alignent, hg19 was the query. You can also have the reverse. This would result in two different synteny tracks. Both synteny tracks would be viewable in the linear genome view track selector when you are just browsing e.g. hg19

It may help users to automatically organize these as 'query relative' or 'reference relative' with an added category

discussion motivation thread https://github.com/GMOD/jbrowse-components/discussions/4324

cmdcolin commented 3 months ago

Another alternative is hiding one of them. JBrowse has the ability to show the reverse as well because there could be complementary information, but some users might just want to hide one set

ihh commented 2 months ago

There was some discussion of homology maps (I'm just going to start calling them this) in the Apollo planning meeting today. See #4370, #4371, #4372, #4373, #4374, #4375, #4376, #4377