Entering edit mode
5.4 years ago
Morris_Chair
▴
370
Hello everyone,
I’m new to Chip-Seq data analysis and I’m using the Biostar handbook as reference which I find very useful. I understand that once I have the indexed bam file I can load it on IGV for peak detection but I can also use a smaller bed graph file to display coverages over intervals.
I used this command to create a bedgraph file but when I load it into IGV does not show any peak unlike the relative bam file
bedtools genomecov -ibam /SRR3033154_1.bam -g REF/saccer3.fa.fai -bg > SRR3033154_1.bedgraph
I wonder what it could be wrong since I followed the book tutorial step by step (I think..)
thank you
hi , are you sure it's REF/saccer3.fa.fai and not REF/saccer3.fa or just REF/saccer3?
Best
-g
expects a genome file. See for example Bedtools Genomecoveragebed Usage : How To Create A Genome File?It is probably not required for a bam file though.
Hi Titus, yes this is what I get from that file
This is the command line from the book
Thank you
Please use
ADD REPLY
to answer to previous reactions, as such this thread remains logically structured and easy to follow. I have now moved your reaction but as you can see it's not optimal. Adding an answer should only be used for providing a solution to the question asked.problem solved,
thank you all
How? Please post the answer here to provide closure to this thread.
Hi Genomax, basically I didn't write correctly the command line below...I was a bit ashamed to tell..
was missing -bg..
nothing to be ashamed of, typos/omissions are the bane of every coder's existence