Utilities related to SAM/BAM format.
Utilities related to SAM/BAM format.
(compute-bin aln)
Returns indexing bin based on alignment start and end.
Returns indexing bin based on alignment start and end.
(get-end aln)
Returns the end position in reference for the given alignment.
Returns the end position in reference for the given alignment.
(parse-alignment line)
Parse an alignment line, returning a map of the alignment.
Parse an alignment line, returning a map of the alignment.
(reg->bin beg end)
Calculates bin given an alignment covering [beg,end) (zero-based, half-close-half-open), the same as reg2bin on samtools.
Calculates bin given an alignment covering [beg,end) (zero-based, half-close-half-open), the same as reg2bin on samtools.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close