Hello everyone,
I have TF ChIP seq data from NCBI GEO in wig format. I converted wig to bedgraph and then used MACS peak caller to get bed narrowpeak files.I further uploaded file on genome browser to get graphical map of peak regions. This figure is more of a binary (yes/no) indicating just presence of peaks at particular regions.
Is there anyway I can get figure showing peak heights, using the data I have. I don't have raw reads. I only have data in wig, bedgraph and narrowpeak files. I was wondering if there is some way I can get peak heights using signal values from wig/bedgraph or using score values in the fifth field of bed narrowpeak?
Thank you
Thanks for the answer. Would you please clarify a bit more. I can't exactly follow what "bedmap --echo --max-element" is doing. I did run this on my wig file. Just pasting top few lines of my wig and output file:
What is the difference between signal values shown in wig and output file? Also to further clarify my question, I have already called peaks from wig file using MACS. I already have peak regions in bed narrowpeak file. Following are top few lines of my bed narrowpeak file:
I need a figure showing height of the peaks. Can the score value in the 5th column of narrowpeak file be used for that?
Thank you
The 5th column is simply a re-scaled q-value from MACS, not really a peak height, but it does tend to correlate. However, if you've run MACS, then don't you have the .xls file which has a column for pileup - which is the height at the peak summit? In addition, you would also have the summits file, which is the base at the peak summit. What will your figure look like?
I see - well isn't that the wig file? And by "figure" I think you mean to say that you want a track. The wig file would be the signal trace of read heights along the genome (aka read coverage), and the BED file shows the regions of signal that have been classified into a peak. Maybe you want to convert the WIG file to a bigWig (binary version of wig)? Is this correct, or am I misunderstanding you? In this figure top upper track is a bigWig of IP signal, and the lower track is a BED file of peak calls.
Thank you so much for the very helping reply. Yes I want this upper track. Right now I only have the lower one (with bed file). How can I get this type of figure (track) showing both peaks and signals together? Should I upload both bigwig and bed file on the browser?
Yes, you would load the wig or bigwig file to the browser. Not sure what your set up is (there are various ways of doing this). The wig file is meant to display continuous data along the genome (data that wiggles).
I want two tracks simultaneously like you showed, BED only demarcating peak positions and wig showing peak heights too, I am usIng Jbrowse genome browser. I think I need to upload both bed and wig files, right? Thank you again.
Yes, upload both files. You should be able to view multiple tracks simultaneously.
Thank you so much
Thank you. Yes, I used macs. I converted wig to bedgraph and used macs3 bdgpeakcall function to get bed narrowpeak file:
No, I don't get any .xls file which has height at the peak summit. That info would be useful. How can I get that? I also don't get any summit fiie. For figure, right now when I upload my bed file on browser, it demarcates the peak region. This figure is more of a binary (yes/no) indicating just presence of peaks at particular regions. I want a figure with quantitative information showing how strong is the signal for every peak. I want to have figure showing peaks with varying peak heights.