30 May 2012 21:07
How are subtracks configured?
Dear Gbrowse team
I'm trying to get two quantitative tracks to display as subtracks so that their min and max scales will be the same.
I've been through http://gmod.org/wiki/Creating_and_Managing_Subtracks_with_GBrowse2 but I'm definitely missing something basic in my understanding, so am hoping someone can help me figure it out:
I already have two bigwig tracks that display perfectly. In the Database section:
[female.coverage.bw:database]
db_adaptor = Bio::DB::BigWig
db_args = -bigwig /var/www/html/gbrowse2/databases/female.coverage.bw
[intestine.coverage.bw:database]
db_adaptor = Bio::DB::BigWig
db_args = -bigwig /var/www/html/gbrowse2/databases/intestine.coverage.bw
And in the Tracks section:
feature = summary
database = female.coverage.bw
glyph = wiggle_whiskers
height = 50
key = female.coverage.bw
category = Normalised RNA coverage
feature = summary
database = intestine.coverage.bw
height = 50
glyph = wiggle_whiskers
key = intestine.coverage.bw
category = Normalised RNA coverage
I tried writing a new Track section called supertrack:
[supertrack]
feature = summary
glyph = wiggle_whiskers
height = 50
metadata = /var/www/gbrowse2/databases/metadata.txt
And, in metadata.txt, I put:
:selected = 1
factor = intestine
:selected = 1
factor = female
And nothing shows up. Do I need to define the BigWig database adaptor in the metadata.txt file? What am I doing wrong? Any help much appreciated!
Actually - am I even thinking about this correctly? Is a subtrack the best way to get the two tracks to have the same scale? Or is there a better way?
I could manually set the min and the max of each track, but even though this is normalised RNA data, the range is too much to be displayed when set to the min/max of the whole data set?
Best wishes,
- Sujai
Blaxter Lab, University of Edinburgh
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Gmod-gbrowse mailing list Gmod-gbrowse@... https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
RSS Feed