Thanks a lot. Will give it a try now and keep u posted :)
Read counts for peak file
Hi,
Need some help. I need a peak call file with read counts for some downstream analysis. I have my BAM file, I used MACS2 to get the peak calls, next I used Samtools bedcov but I am not familiar with these tools therefore I don't know bedcov output header to identify the reads count if any. How may I get the reads count falling between the position coordinate?
• 3,236 views
•
link
1 answer
You can make a SAF file out of that narrowPeak file from macs, see Converting from BED to SAF/GFF and then use featureCounts from the subread package to get the count matrix:
featureCounts -a in.saf -F SAF -o out.counts your.bam
• 0 views
•
link
Log in to answer this question.