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.
you can use wigToBigWig command line too to make it a bigwig file. this would probably get similar performance as tdf