This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Read depth interval comparison

I was wondering about a good method to compare read depth at specific positions (bed file intervals) between two bam files and get as an output the depth across both bam files next to each interval in question? Thanks!

read depth bam bed bedtools bedops

1 answer

samtools depth -b in.bed 1.bam 2.bam 3.bam 4.bam

Log in to answer this question.