Utility functions for SAM flags.
Utility functions for SAM flags.
(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.
(decode f)
Returns a set of keywords for a given flag integer.
Returns a set of keywords for a given flag integer.
(encode flag-set)
Returns a flag integer encoding set of keywords.
Returns a flag integer encoding set of keywords.
(encoded flag-set-literal)
Macro to provide an encoded flag with set of keywords.
Macro to provide an encoded flag with set of keywords.
(multiple? f)
Tests if the template has multiple segments.
Tests if the template has multiple segments.
(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.
(properly-aligned? f)
Tests if the paired-end segments are properly aligned.
Tests if the paired-end segments are properly aligned.
(r1? f)
Tests if the segment is the first in the template.
Tests if the segment is the first in the template.
(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.
(r2? f)
Tests if the segment is the last in the template.
Tests if the segment is the last in the template.
(reversed? f)
Tests if the segment is reversed.
Tests if the segment is reversed.
(secondary? f)
Tests if the alignment is secondary.
Tests if the alignment is secondary.
(unmapped? f)
Tests if the segment is unmapped.
Tests if the segment is unmapped.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close