This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Annotate counts region by region

Hi guys, I know it could be an answer 1000 times redundant but I looked around without find a quick solution. I have 5 .bam files and a .gtf file that looks like this:

     1    134202951   134202953
     1    134202954   134203590
     1    134199215   134203590
  

where 1 indicates chromosome 1 and the other two columns respectively start and end position of the chromosome region. I simply would like, for each start-end to have the number of counts. I tried using

  overlap.counts1 <- countOverlaps(bedfile,bamfile1)
  

for a single file but it outputs the total number of counts not region per region. Can anyone help me please?

thank you in advance

chip-seq bam

0 answers

No answers yet.

Log in to answer this question.