wig files beyond chromosome coordinates

196 views
Skip to first unread message

Venu

unread,
Oct 17, 2011, 7:55:12 AM10/17/11
to MACS announcement
Hi MACS users

I am using MACS version 1.4.0rc2. Sometimes the coordinates in the wig
files generated are beyond the coordinates of actual chromosome size.
I am sure I have seen a post regarding this which suggests to replace
the script with an updated one. I am now unable to find it. The only
thing I could see is dealing with negative coordinates in bedgraph
file. Can someone please tell me which program I need to update to
avoid this happening. Thank you very much for your help.

Venu

Tao Liu

unread,
Oct 20, 2011, 6:57:34 PM10/20/11
to macs-ann...@googlegroups.com
Hi Venu,

Nowadays, I like to convert wiggle or bedGraph to bigwig. So if you want to do so, "wigToBigWig -clip foo.wig chromosome.txt foo.bw" can clip out the values outside of chromosome boundaries and convert wig file to bigwig. BigWig is more convenient for visualization on UCSC browser or IGV. And our Cistrome team is developing tools for bigwig files based on James Taylor's bx-python where he implemented some python wrappers for UCSC toolkits. Download wigToBigWig here: http://hgdownload.cse.ucsc.edu/admin/exe/. And the chromosome size file can be downloaded in UCSC download page <http://hgdownload.cse.ucsc.edu/downloads.html>, for example <http://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/chromInfo.txt.gz>

HTH,
Tao

Venu Pullabhatla

unread,
Oct 21, 2011, 9:01:48 AM10/21/11
to macs-ann...@googlegroups.com
Hi Tao

Thank you very much for your suggestion.

Venu



--
You received this message because you are subscribed to the Google Groups "MACS announcement" group.
To view this discussion on the web visit https://groups.google.com/d/msg/macs-announcement/-/WoGm5wHh0E0J.
To post to this group, send email to macs-ann...@googlegroups.com.
To unsubscribe from this group, send email to macs-announcem...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/macs-announcement?hl=en.



--
Venu Pullabhatla, Ph.D.
Bioinformatician
NIHR GSTFT/KCL Comprehensive Biomedical Research Centre
Guy's & St. Thomas' NHS Foundation Trust
8th Floor, Tower Wing, Guy's Hospital
Great Maze Pond, London SE1 9RT

Reply all
Reply to author
Forward
0 new messages