BamReader.has_index

True if BAI file was found for this BAM file. This is necessary for any random-access operations.
Looks for files in the same directory which filename is either the file name of BAM file with '.bai' appended, or with the last extension replaced with '.bai' (that is, for file.bam paths file.bai and file.bam.bai will be checked)

Meta