public Path createIndex ( ) throws IOException { Path indexPath = bamFile . getParent ( ) . resolve ( bamFile . getFileName ( ) . toString ( ) + ".bai" ) ; return createIndex ( indexPath ) ; }
Creates a index file for the BAM or CRAM input file .