bedtools2
bedtools2 copied to clipboard
bedtools genomecov for a specific set of chromosomes
I am trying to compute genome coverage starting from a bam file. By default bedtools genomecov
computes coverage for the entire genome. Is there a way to restrict this to a specific set of ranges? I tried adding -g <genome>
to restrict the output to a specific set of chromosomes but the genome files are ignored when a bam is used as input.