genome/bam-readcount

fail to load bam index

mcfog1 opened this issue · 0 comments

When I attempt to run bam-headcount I get the following error
(bam-readcount) -bash-4.1$ bam-readcount -b 15 -f all.fasta rh2hisat.sam.bam CslC9_Mn84-_Assembly
Minimum mapping quality is set to 0
[bam_index_load] fail to load BAM index.
BAM indexing file is not available.

I have sorted and indexed my bam files. My bam files and their .bai files are stored in the same directory that I run bam-headcount from. I have tried running the code with and with out a -f reference as well. Any ideas of what my issue could be?
Thanks