biod / sambamba

Tools for working with SAM/BAM data
http://thebird.nl/blog/D_Dragon.html
GNU General Public License v2.0
555 stars 104 forks source link

depth region -L for multiple bam #491

Open yuanjianwen-gif opened 2 years ago

yuanjianwen-gif commented 2 years ago

I try: sambamba depth region -L $bed $sample1.bam $sample2.bam ... > output.bed

and I expected to get multiple coverage columns that indicate the multiple input bams in one output, but it will merge all bams into one and only get the sum coverage in one column. I do not know whether it is a bug but I think what I expected may be better. Thanks!