Liking cljdoc? Tell your friends :D

cljam.io.sam.util.header

Utility functions for SAM header.

Utility functions for SAM header.
raw docstring

into-headerclj

A reducing function which builds a map from parsed headers.

A reducing function which builds a map from parsed headers.
sourceraw docstring

order-coordinateclj

Coordinate sorting order of alignments.

Coordinate sorting order of alignments.
sourceraw docstring

order-querynameclj

queryname sorting order of alignments.

queryname sorting order of alignments.
sourceraw docstring

order-unknownclj

Unknown sorting order of alignments.

Unknown sorting order of alignments.
sourceraw docstring

order-unsortedclj

Unsorted of alignments.

Unsorted of alignments.
sourceraw docstring

parse-headerclj

(parse-header s)

Parse a header string, returning a map of the header.

Parse a header string, returning a map of the header.
sourceraw docstring

parse-header-lineclj

(parse-header-line line)

e.g. "@SQ SN:ref LN:45" => [:SQ {:SN "ref" :LN 45}]

e.g. "@SQ	SN:ref	LN:45" => [:SQ {:SN "ref" :LN 45}]
sourceraw docstring

sort-orderclj

(sort-order header)

Returns sorting order of the sam as Keyword. Returning order is one of the following: :queryname, :coordinate, :unsorted, :unknown.

Returns sorting order of the sam as Keyword. Returning order is one of the
following: :queryname, :coordinate, :unsorted, :unknown.
sourceraw docstring

sorted-byclj

(sorted-by order header)

Replaces the sorting order field in SAM header.

Replaces the sorting order field in SAM header.
sourceraw docstring

sorted?clj

(sorted? header)

Returns true if the sam is sorted, false if not. It is detected by @HD SO:*** tag in the header.

Returns true if the sam is sorted, false if not. It is detected by
`@HD SO:***` tag in the header.
sourceraw docstring

stringify-headerclj

(stringify-header hdr)

Converts parsed header lines to a string.

Converts parsed header lines to a string.
sourceraw docstring

update-versionclj

(update-version header)

Overwrites format version in SAM header.

Overwrites format version in SAM header.
sourceraw docstring

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

× close