varity.chain
index
(index chains)
Creates chain index for search.
load-chain
(load-chain f)
Loads f (e.g. hg19ToHg38.over.chain(.gz)), returning the all contents as a
sequence.
search-chains
(search-chains chr pos chain-idx)
Searches chain entries with chr and pos using the index, returning the
results as a sequence. See also varity.chain/index.
search-containing-chains
(search-containing-chains chr start end chain-idx)
Calculates a list of chains that contain the given interval.
search-overlap-blocks
(search-overlap-blocks start end blocks-idx)
Calculates a list of blocks that overlap the given interval.