Back to All

Unable to find BAM file index

When I try to run samtools mpileup it expects to find the BAM index in the same folder as the BAM file with the extension ".bai". I'm not sure how I can expose the BAM index to a tool that assumes a certain file location for the index.