Hi Deqiang,

Here is a saved session that will show you that it is possible to display
data with the value of 0.

http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=Vanessa&hgS_otherUserSessionName=zero_wiggle

You see that there is a line at 0 where the data has a value of 0. When you
zoom out you see that when there is no data, there is no line.

Here is the what was uploaded for this custom track example:

track db=hg19 type=wiggle_0 priority='80' name='Wiggle bedGraph
Format' description='wiggle bedGraph format thru zero' visibility=full
color=200,100,0 altColor=0,100,200
chr21   33031597        33032705         -1.00
chr21   33032705        33033813         -0.75
chr21   33033813        33034921         -0.50
chr21   33034921        33036029         -0.25
chr21   33036029        33037137          0.00
chr21   33037137        33038245          0.25
chr21   33038245        33039353          0.50
chr21   33039353        33040461          0.75
chr21   33040461        33041569          1.00
track db=hg19 type=wiggle_0 priority='90' name='Wiggle bedGraph to
zero' description='wiggle bedGraph format to zero' visibility=full
color=200,100,0 altColor=0,100,200
chr21   33031597        33032705         -1.00
chr21   33032705        33033813         -0.75
chr21   33033813        33034921         -0.50
chr21   33034921        33036029         -0.25
chr21   33036029        33037137          0.00
chr21   33037137        33038245         -0.25
chr21   33038245        33039353         -0.50
chr21   33039353        33040461         -0.75
chr21   33040461        33041569         -1.00
track db=hg19 type=wiggle_0 priority='100' name='Wiggle bedGraph from
zero' description='wiggle bedGraph format from zero' visibility=full
color=200,100,0 altColor=0,100,200
chr21   33031597        33032705          1.00
chr21   33032705        33033813          0.75
chr21   33033813        33034921          0.50
chr21   33034921        33036029          0.25
chr21   33036029        33037137          0.00
chr21   33037137        33038245          0.25
chr21   33038245        33039353          0.50
chr21   33039353        33040461          0.75
chr21   33040461        33041569          1.00


Hopefully leads you in the right direction. If you have further
questions, please email the list: [email protected].

Vanessa Kirkup Swing
UCSC Genome Bioinformatics Group


---------- Forwarded message ----------
From: Sun, Deqiang <[email protected]>
Date: Thu, May 31, 2012 at 11:23 AM
Subject: [Genome] help: how to display zero on track
To: "[email protected]" <[email protected]>
Cc: "Sun, Deqiang" <[email protected]>


Dear sir or madam,

I need display integer number from 0 to 100 on a track. But I found that 0
can not be displayed. In that situation, I can not distinguish whether it
is zero or no data.
Any help is appreciated.

Best Regards,
Deqiang Sun
[email protected]<mailto:[email protected]>
713-798-6936
Baylor College of Medicine



_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome
_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to