Parser for a BAM index file. | (ns cljam.io.bam-index (:require [cljam.io.bam-index.core :as bai-core] [cljam.io.util.bin :as util-bin])) |
Returns binning index for the given reference index. | (defn bin-index [f ref-idx] (bai-core/bin-index f ref-idx)) |
Returns linear index for the given reference index. | (defn linear-index [f ref-idx] (bai-core/linear-index f ref-idx)) |
Returns regions of a BAM file that may contain an alignment for the given range. | (defn get-spans [bai ref-idx beg end] (util-bin/get-spans bai ref-idx beg end)) |
Returns a cljam.bam-index.core.BAMIndex. | (defn bam-index [f] (bai-core/bam-index f)) |