Hi Shicheng,
Thank you for your question about displaying custom tracks in the
UCSC Genome Browser.
Please see the following documentation in our help pages for using
these "browser" lines with custom tracks:
https://genome.ucsc.edu/goldenPath/help/hgTracksHelp.html#BROWSER.
Note the that the "browser" lines must be in the format:
browser attribute_name attribute_value(s)
Additionally, for the "hide" option, you must specify the track
table name, not the track label as you have provided:
- hide <track_primary_table_name(s)> - Hides the listed
tracks. Multiple track names should be space-separated.
You can find this "track_primary_table_name" by following the
instructions in the video:
https://www.youtube.com/watch?v=RQZ4EeYS6Zk.
Additionally, it appears that you are attempting to use "browser"
lines in the trackDb.txt file of your track hub. This will not work
as these "browser" tracks lines can only be used with custom tracks,
not track hubs. You can, however, provide visibilities in a URL to
load a track hub. For example:
https://genome.ucsc.edu/cgi-bin/hgTracks?db=hg19&hubUrl=http://my.lab.edu/path/to/hub.txt&track_primary_table_name=hide.
I hope this is helpful. If you have any further questions, please
reply to
gen...@soe.ucsc.edu. All messages sent to that address are
archived on a publicly-accessible Google Groups forum. If your
question includes sensitive data, you may send it instead to
genom...@soe.ucsc.edu.
Matthew Speir
UCSC Genome Bioinformatics Group