Liking cljdoc? Tell your friends :D

cljam.io.bam.decoder

Decoder of BAM alignment blocks.

Decoder of BAM alignment blocks.
raw docstring

decode-alignmentclj

(decode-alignment refs block)
(decode-alignment refs block start end)

Decodes BAM block and creates SAMAlignment instance which is compatible with SAM. When called with start and end, this function may return nil if any base of the block is not included in the range.

Decodes BAM block and creates SAMAlignment instance which is compatible with SAM.
When called with start and end, this function may return nil if any base of the block
is not included in the range.
sourceraw docstring

decode-coordinate-blockclj

(decode-coordinate-block block)
(decode-coordinate-block block start end)

Decodes BAM block and returns a SAMCoordinateBlock instance containing ref-id, pos and flag.

Decodes BAM block and returns a SAMCoordinateBlock instance containing ref-id, pos and flag.
sourceraw docstring

decode-next-ref-idclj

(decode-next-ref-id refs ref-id next-ref-id)

Returns "=" if ref and next is same reference, otherwise returns next-ref-name.

Returns "=" if ref and next is same reference, otherwise returns next-ref-name.
sourceraw docstring

decode-optionsclj

(decode-options rest')

Decodes bytes of bam options.

Decodes bytes of bam options.
sourceraw docstring

decode-pointer-blockclj

(decode-pointer-block block)
(decode-pointer-block block start end)

Decodes BAM block and returns a BAMPointerBlock instance containing region, flag and block pointers.

Decodes BAM block and returns a BAMPointerBlock instance containing region, flag and block pointers.
sourceraw docstring

decode-qualclj

(decode-qual b)

Decodes qual from bytes. Returns "*" if input is filled with 0xff, otherwise returns qual.

Decodes qual from bytes.
Returns "*" if input is filled with 0xff, otherwise returns qual.
sourceraw docstring

decode-queryname-blockclj

(decode-queryname-block block)
(decode-queryname-block block start end)

Decodes BAM block and returns a SAMQuerynameBlock instance containing qname and flag.

Decodes BAM block and returns a SAMQuerynameBlock instance containing qname and flag.
sourceraw docstring

decode-region-blockclj

(decode-region-block block)
(decode-region-block block start end)

Decodes BAM block and returns a SAMRegionBlock instance containing covering range of the alignment.

Decodes BAM block and returns a SAMRegionBlock instance containing covering range of the alignment.
sourceraw docstring

decode-seqclj

(decode-seq seq-bytes length)

Decodes seq from bytes. Returns "*" if seq is empty, otherwise returns sequence.

Decodes seq from bytes.
Returns "*" if seq is empty, otherwise returns sequence.
sourceraw docstring

options-sizeclj

(options-size block-size l-read-name n-cigar-op l-seq)

Returns the number of bytes of the trailing optional fields.

Returns the number of bytes of the trailing optional fields.
sourceraw docstring

parse-tag-singleclj

(parse-tag-single tag-type bb)

Parses a tag according to tag-type.

Parses a tag according to `tag-type`.
sourceraw docstring

raw-blockclj

(raw-block b)
(raw-block b s e)

Checks the range of BAM block and returns the given block if any base is included.

Checks the range of BAM block and returns the given block if any base is included.
sourceraw docstring

validate-tag-typeclj

(validate-tag-type t)

Changes (u)int8 or (u)int16 tag type to int32 tag type.

Changes (u)int8 or (u)int16 tag type to int32 tag type.
sourceraw docstring

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

× close