cljam.io.bam-index

Parser for a BAM index file.

bam-index

(bam-index f)
Returns a cljam.bam-index.core.BAMIndex.

bin-index

(bin-index f ref-idx)
Returns binning index for the given reference index.

get-spans

(get-spans bai ref-idx beg end)
Returns regions of a BAM file that may contain an alignment for the given range.

linear-index

(linear-index f ref-idx)
Returns linear index for the given reference index.