Hi all,
I have a bed file with the start and end positions of all the exons. How can we find out, what percentage of these exons are covered in the sequenced sample(bam file)?
I have tried using,
samtools view -b <BAM> | coverageBed -abam stdin -b exons.bed
and a few lines from the output looks like,
chr1 60817388 60817507 0 0 119 0.0000000
chr1 91226064 91226183 0 0 119 0.0000000
chr1 101711776 101711895 0 0 119 0.0000000
chr1 108003221 108003340 0 0 119 0.0000000
....
Also tried,
samtools view -b | coverageBed -abam stdin -b exons.bed -hist
Few lines of output:
chr1 60817388 60817507 32 1 119 0.0084034
chr1 60817388 60817507 33 2 119 0.0168067
chr1 60817388 60817507 34 3 119 0.0252101
Which output should be used to get the percentage of exons covered?
Or Any other method to do so, would be highly appreciated.
Thanks
I have a bed file with the start and end positions of all the exons. How can we find out, what percentage of these exons are covered in the sequenced sample(bam file)?
I have tried using,
samtools view -b <BAM> | coverageBed -abam stdin -b exons.bed
and a few lines from the output looks like,
chr1 60817388 60817507 0 0 119 0.0000000
chr1 91226064 91226183 0 0 119 0.0000000
chr1 101711776 101711895 0 0 119 0.0000000
chr1 108003221 108003340 0 0 119 0.0000000
....
Also tried,
samtools view -b | coverageBed -abam stdin -b exons.bed -hist
Few lines of output:
chr1 60817388 60817507 32 1 119 0.0084034
chr1 60817388 60817507 33 2 119 0.0168067
chr1 60817388 60817507 34 3 119 0.0252101
Which output should be used to get the percentage of exons covered?
Or Any other method to do so, would be highly appreciated.
Thanks
Comment