I have a single BAM file between a set of vectors and the bacterium genome. I would like to know the read depth of each genomic feature of the plasmid, and the median coverage of each plasmid. I would like to use bedtools coverage but I am finding difficulties applying it with my dataset as I only have one alignment file. I looked at FeatureCounts but as far as I could search, it retrieves the read counts. Is there a way to use bedtools coverage with a single bam file?
I hope you could help me out. Thank you in advance.
hum... why is it a problem ? what did you try ?
Having just a BAM file was not enough and I didn't understand what parameters to include but the problem was solved.