Encoder of BAM alignment blocks.
Encoder of BAM alignment blocks.
(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`.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close