[Genome] Wiggle track
Brooke Rhead
rhead at soe.ucsc.edu
Mon Dec 10 17:46:03 PST 2007
Hello Peter,
This page is probably the most useful for figuring out how do display
wiggle data as a custom track (apologies if you have already looked at it):
http://genome.ucsc.edu/goldenPath/help/wiggle.html
The first thing you need to do is add this line before any of the data:
track type=wiggle_0
This is the only required track definition line for a wiggle track. If
you want the data to be autoscaled by default, you can add
"autoScale=on" to the track definition line, like so:
track type=wiggle_0 autoScale=on
(You can also just make this selection with the track controls after you
have made the custom track . . . click on the mini-button on the far
left-hand side of your track in the Genome Browser.)
Another thing you need to do is sort your lines of data so that the
chromosome positions are in ascending order. You will get an error if
they are out of order.
Now you can simply paste the data into the box on the custom track page.
I was able to successfully load this:
track type=wiggle_0 name=myWiggleTrack autoScale=on
chr1 149425822 149425881 -0.08
chr1 149427694 149427751 0.02
chr1 149452382 149452441 0.01
chr1 149505715 149505767 0.07
chr1 149506363 149506407 0.09
chr1 149530390 149530449 -0.03
chr1 149539255 149539314 -0.11
chr1 149546405 149546464 -0.12
chr1 149547068 149547120 0.06
chr1 149552708 149552762 0.04
chr1 149554891 149554936 0.07
chr1 149576001 149576060 0.02
chr1 149582350 149582397 -0.01
chr1 149607234 149607285 0.1
chr1 149645162 149645217 0.1
chr1 149669687 149669744 0.06
chr1 149671528 149671587 0.24
chr1 149679760 149679819 -0.03
chr1 149683830 149683889 0
chr1 149698153 149698197 0.19
chr1 149748090 149748142 0.69
chr1 149781679 149781738 0.16
chr1 149790533 149790588 -0.01
chr1 149798247 149798306 -0.11
chr1 149860334 149860393 0.22
chr1 149905306 149905365 -0.02
I hope this helps you get started. If you are still having
difficulties, please feel free to write back to this mailing list.
--
Brooke Rhead
UCSC Genome Bioinformatics Group
Peter Scacheri wrote:
> How do I make a wiggle track from the data below? (Sorry, I've read
> the help pages, but I can't figure this out!) Also, is there a way
> to autoscale the data?
>
> Thanks,
> Peter
>
> chr1 149645162 149645217 0.09955
> chr1 149576001 149576060 0.0161285
> chr1 149748090 149748142 0.692
> chr1 149425822 149425881 -0.083185
> chr1 149781679 149781738 0.16
> chr1 149506363 149506407 0.0886
> chr1 149539255 149539314 -0.11105
> chr1 149798247 149798306 -0.111
> chr1 149607234 149607285 0.1008
> chr1 149905306 149905365 -0.022781
> chr1 149671528 149671587 0.2355
> chr1 149683830 149683889 0
> chr1 149530390 149530449 -0.02773
> chr1 149679760 149679819 -0.02525
> chr1 149452382 149452441 0.01005
> chr1 149552708 149552762 0.04119
> chr1 149546405 149546464 -0.1248
> chr1 149669687 149669744 0.05535
> chr1 149582350 149582397 -0.014805
> chr1 149698153 149698197 0.1855
> chr1 149505715 149505767 0.0663
> chr1 149547068 149547120 0.06485
> chr1 149427694 149427751 0.0223
> chr1 149790533 149790588 -0.01355
> chr1 149860334 149860393 0.217
> chr1 149554891 149554936 0.06705
> _______________________________________________
> Genome maillist - Genome at soe.ucsc.edu
> http://www.soe.ucsc.edu/mailman/listinfo/genome
More information about the Genome
mailing list