mauranolab / mapping

2 stars 1 forks source link

SARS: default order puts GC content and NCBI genes below track hub #205

Closed mattmaurano closed 4 years ago

mattmaurano commented 4 years ago

Is display order tied to the order on the config page?

Can we get the track hub to fit after Mapping and Sequencing and Genes and Gene Predictions?

cadley-nyulangone commented 4 years ago

I think we can do this by changing the user priority in this table:

wuhCor1
+------------+----------------------------+----------+
| name       | label                      | priority |
+------------+----------------------------+----------+
| user       | Custom Tracks              |        1 |
| map        | Mapping and Sequencing     |        2 |
| genes      | Genes and Gene Predictions |        3 |
| pub        | Phenotype and Literature   |      3.5 |
| rna        | mRNA and EST               |        4 |
| regulation | Expression and Regulation  |        5 |
| compGeno   | Comparative Genomics       |        6 |
| varRep     | Variation and Repeats      |        7 |
| x          | Experimental Tracks        |       10 |
+------------+----------------------------+----------+

But I will ask UCSC first. I'd hate to screw up the sql table by accident.

mattmaurano commented 4 years ago

Can't you adjust the priorities of your track hub groups to fit in the middle of those?

cadley-nyulangone commented 4 years ago

Adding a priority line to either the hub.txt file or the genomes.txt file doesn't do anything.

The order of the control groups is consistent with the above sql table.

I've sent the question in to the UCSC forum.

cadley-nyulangone commented 4 years ago

I just heard back from UCSC regarding this issue. They say:

you can manipulate the order of most items in the menu by changing the priority values. This includes all the standard headers and custom tracks. However, hubs are different. Attached hubs always show up at the top, and that is a hard-coded feature.

So it looks like we can't move the track hub control.