UCSC Viewer : Adjust all tracks on the same scale at the same time.
2
1
Entering edit mode
8.0 years ago
ZheFrench ▴ 590

Question is in the title. Imagine you have many bigwig track...and you want to display the same scale for each tracks but you don't want to change viewlimits one by one for all of them. Is there a way to do that in a one time shot for all using maybe session file or Supertrack ,multiwig, composite arguments.

UCSC viewer visualisation • 5.4k views
ADD COMMENT
1
Entering edit mode

While someone may answer these UCSC specific question here you may also want to post them to UCSC browser forum at genome@soe.ucsc.edu

ADD REPLY
2
Entering edit mode
5.1 years ago

You can check the "Oct. 11, 2019 New "group auto-scale" option" here.

Example track file for group of tracks: bigWig

track myComposite  
compositeTrack on  
shortLabel test 
longLabel my_comp_testing
type bigWig  


    track myFirstSubtrack
    parent myComposite on
    shortLabel test_1_short
    longLabel tes_1_long
    type bigWig
    visibility full
    maxHeightPixels 70:70:32
    configurable on
    autoScale off
    viewLimits 0.0:1.0
    alwaysZero on
    priority 0.1
    bigDataUrl file1.bw
    color 0,0,0


    track mySecondSubtrack
    parent myComposite on
    shortLabel test_2_short
    longLabel tes_2_long
    type bigWig
    visibility full
    maxHeightPixels 70:70:32
    configurable on
    autoScale off
    viewLimits 0.0:1.0
    alwaysZero on
    priority 0.1
    bigDataUrl file2.bw
    color 0,0,255

```

ADD COMMENT
0
Entering edit mode
8.0 years ago
Ian 6.1k

You cannot do this using a normal set of custom tracks. You will need to implement a trackhub. Two useful references are:

Using trackhubs allows you to group data together. You can also select samples based on custom cateorgies, such as replicate, ChIP, input, tissue, etc.

Lots of examples can be seen at: https://genome-euro.ucsc.edu/cgi-bin/hgHubConnect

If you click on the hub name you can look at the necessary files. BTW to use trackhubs you need access to a web-server.

ADD COMMENT
0
Entering edit mode

Ian, can he really set the view limits globally if he uses a track hub composite?

ADD REPLY
0
Entering edit mode

Oh sorry, this is probably more the multiWig mode rather than the composite... nevermind... https://genome.ucsc.edu/goldenpath/help/trackDb/trackDbHub.html#multiWig

ADD REPLY

Login before adding your answer.

Traffic: 2069 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6