biod / sambamba

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

Select index file #414

Closed oyvinev closed 4 years ago

oyvinev commented 4 years ago

We are running sambamba (0.6.8/0.7.0) actively in an automated pipeline. Recently, we have discovered that sambamba will pick up the index file myfile.bam.bai (if it exists) for the file myfile.bam. In our case, this is incorrect, as we have the index stored in myfile.bai.

Is there any way to force sambamba to use a specified index file?