Liking cljdoc? Tell your friends :D

cljam.io.bam.encoder

Encoder of BAM alignment blocks.

Encoder of BAM alignment blocks.
raw docstring

encode-alignmentclj

(encode-alignment wrtr aln refs)

Converts the alignment aln into a byte stream in the BAM file format and writes it to the given writer wrtr. refs is a sequence of names of reference sequences that can be acquired using cljam.io.protocols/read-refs.

Converts the alignment `aln` into a byte stream in the BAM file format
and writes it to the given writer `wrtr`.
`refs` is a sequence of names of reference sequences that can be acquired
using `cljam.io.protocols/read-refs`.
sourceraw docstring

get-block-sizeclj

(get-block-size aln)

Returns the number of bytes required to encode the given alignment.

Returns the number of bytes required to encode the given alignment.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close