How to open/work with wig or tdf files
1
0
Entering edit mode
2.1 years ago
Apex92 ▴ 320

Hi all,

I have downloaded ChIP-seq data from a publication in .wig format to look at the chromatin mark signals in IGV. The recommendation of IGV is to convert .wig files to .tdf format for faster performance.

My question is that how can I work on these .tdf or wig files using bash or python? I would like to transform the signals from these files into numerical values for each gene in order to perform some calculations.

Any recommendation is appreciated. Thank you.

IGV sequencing wig rna-seq tdf • 2.1k views
ADD COMMENT
0
Entering edit mode

you can use wigToBigWig command line too to make it a bigwig file. this would probably get similar performance as tdf

ADD REPLY
2
Entering edit mode
2.1 years ago

I'd advice against trying to analyze already processed wig files unless you're very sure they show what you expect. The data may have been transformed, normalized, or otherwise altered such that additional analysis may not be appropriate in the way that you'd hope.

If you really wanted to proceed, you could convert the wig to a BED file via bedops, and then pull values for your genic regions via bedtools or bedops followed by summing the values across each gene. Or something similar depending on what you're trying to actually do.

ADD COMMENT
0
Entering edit mode

Thank you Jared for your answer, it helped a lot. I do not do involved analyses on the wig files but just want to have the peak values for genomic locations so that I can make plots for better comparison and interpretation.

ADD REPLY

Login before adding your answer.

Traffic: 2387 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6