Liking cljdoc? Tell your friends :D

cljam.io.sam.util.flag

Utility functions for SAM flags.

Utility functions for SAM flags.
raw docstring

both-unmapped?clj

(both-unmapped? f)

Tests if both the segment and its mate segment are unmapped.

Tests if both the segment and its mate segment are unmapped.
sourceraw docstring

decodeclj

(decode f)

Returns a set of keywords for a given flag integer.

Returns a set of keywords for a given flag integer.
sourceraw docstring

encodeclj

(encode flag-set)

Returns a flag integer encoding set of keywords.

Returns a flag integer encoding set of keywords.
sourceraw docstring

encodedcljmacro

(encoded flag-set-literal)

Macro to provide an encoded flag with set of keywords.

Macro to provide an encoded flag with set of keywords.
sourceraw docstring

flag-keywordsclj

source

flagsclj

source

multiple?clj

(multiple? f)

Tests if the template has multiple segments.

Tests if the template has multiple segments.
sourceraw docstring

primary?clj

(primary? f)

Returns true when an alignment with given flag is a primary line.

Returns true when an alignment with given flag is a primary line.
sourceraw docstring

properly-aligned?clj

(properly-aligned? f)

Tests if the paired-end segments are properly aligned.

Tests if the paired-end segments are properly aligned.
sourceraw docstring

r1?clj

(r1? f)

Tests if the segment is the first in the template.

Tests if the segment is the first in the template.
sourceraw docstring

r1r2clj

(r1r2 f)

Returns 0 for single-end, 1 for R1 and 2 for R2.

Returns 0 for single-end, 1 for R1 and 2 for R2.
sourceraw docstring

r2?clj

(r2? f)

Tests if the segment is the last in the template.

Tests if the segment is the last in the template.
sourceraw docstring

reversed?clj

(reversed? f)

Tests if the segment is reversed.

Tests if the segment is reversed.
sourceraw docstring

secondary?clj

(secondary? f)

Tests if the alignment is secondary.

Tests if the alignment is secondary.
sourceraw docstring

unmapped?clj

(unmapped? f)

Tests if the segment is unmapped.

Tests if the segment is unmapped.
sourceraw docstring

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

× close