Hi,
Is there a library in java which allows me to read BAM index files(.bai) ?
I want to understand how the index maps to BAM files' particular location. How do I get to directly reach a particular file location to read instead of parsing from the start of the file. Please suggest a good read for this.
Is it possible to deduce a particular byte to read in the BAM file by reading the index in the BAI ?
Thank You for your help.