Hi Hanfei, The problem is that there are track lines specified at the beginnings of both of your files, and they are causing the track lines you are specifying in the "Add custom tracks" box to be ignored.
Here is an explanation of what happens when multiple custom tracks are added with URLs: https://lists.soe.ucsc.edu/pipermail/genome/2008-September/017124.html So, the way the tracks are currently being specified, it looks to the Genome Browser as if this is being pasted into the custom track box: track name=new_method track type=narrowPeak nextItemButton=on (data) track name=old_method track type=narrowPeak nextItemButton=on (data) Each track only uses one track line. The lines that say "track type=narrowPeak nextItemButton=on" are the lines that are being used, and since there are no names specified there, the second track overwrites the first track. So, you could either add the name= specification to the track lines within the files, and then just paste the two URLs into the input box: http://cistrome.org/~hanfei/exo/SRR346401/NEW/example.narrowPeak http://cistrome.org/~hanfei/exo/SRR346401/NEW/MAPPED_small_peaks.encodePeak OR you could remove the track lines from data files and put all of the information into the track lines in the input box, like so: track name=new_method type=narrowPeak nextItemButton=on http://cistrome.org/~hanfei/exo/SRR346401/NEW/example.narrowPeak track name=old_method type=narrowPeak nextItemButton=on http://cistrome.org/~hanfei/exo/SRR346401/NEW/MAPPED_small_peaks.encodePeak If you have further questions, please contact us again at [email protected]. -- Brooke Rhead UCSC Genome Bioinformatics Group On 2/10/12 3:30 PM, Hanfei Sun wrote: > Hi all, > > I tried many ways to add multiply custom narrowPeak track into UCSC genome > browsers but failed. > > I found this > reply(https://lists.soe.ucsc.edu/pipermail/genome/2011-September/027221.html) > and write in its format like this: > > track name=new_method > http://cistrome.org/~hanfei/exo/SRR346401/NEW/example.narrowPeak track > name=old_method > http://cistrome.org/~hanfei/exo/SRR346401/NEW/MAPPED_small_peaks.encodePeak > > But it does't work. Only the second track was added under the name of "User > Track". > And the first track( > http://cistrome.org/~hanfei/exo/SRR346401/NEW/example.narrowPeak) disappeared. > Does anyone know how to add multiple custom narrowPeak track? > _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
