genome / bam-readcount

Count bases in BAM/CRAM files
MIT License
305 stars 95 forks source link

fail to load bam index #61

Closed mcfog1 closed 5 years ago

mcfog1 commented 5 years ago

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