Skip to content

Support merged tracks in track hubs #343

@boehmv

Description

@boehmv

Dear IGV team,

as a long-term and daily IGV user I am very grateful for your developed tools such as the igv-webapp, which we recently adopted for a project and now heavily use for internal display of our RNA-seq data.

For simplicity, we normally work with .tdf files and merge replicates for individual conditions. Until igv-web version 2.2.7 the track selection was very simple and worked great also with merged .tdf tracks. I wanted to update to igv-web 2.3.5 and use the new tracks selection options (especially the custom-data-modal), but encountered some issues, for which your help would be appreciatedl:

  1. The new simple track selection with tickboxes works in principle with merged .tdf files (type: merged), but the already displayed merged tracks are not captured in the tickboxes. In other words, once I tick and load them, close the track selection and open it up again, the already loaded tracks stay not ticked and I could load them again, leading to duplicated display of tracks.
  2. I could not get the custom-data-modal track selection to work with merged tracks, since I am not sure how to format the columns such that igv-web would accept the list of tracks. Is there an easy way how I could achieve this goal?
  3. Alternatively, is it possible to configure a simple track selection with multiple collapsable "accordion"-like entries, such as the dbVar Hub for hg38 genomes? For normal tracks there is just the "Annotations" header and all tracks listed, but I would like to separate some of them by new collapsable headers.
  4. Maybe a naive question, but is it possible to bring back the "old" track selection (e.g. as "type": "simple-data-modal"), since its simplicity would be useful in some situations.

I have to admit that I am not a javascript expert so I apologize if some questions appear basic. Here is a very simple track.json that I used:

{
"label": "2018 RNA-Seq",
"description": "siRNA-KD data",
"tracks": [
{
"name": "(2018) HEK293 control",
"height": 35,
"alpha": 0.75,
"type": "merged",
"order": 7701,
"autoscale": true,
"tracks": [
{
"url": "../data/2018_10/K002000269_94802.tdf",
"color": "#9E9E9E",
"autoscaleGroup": "2018_10"
},
{
"url": "../data/2018_10/K002000269_94804.tdf",
"color": "#9E9E9E",
"autoscaleGroup": "2018_10"
},
{
"url": "../data/2018_10/K002000269_94806.tdf",
"color": "#9E9E9E",
"autoscaleGroup": "2018_10"
}
]
}
]
}

Thanks again and best wishes,
Volker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions