Liking cljdoc? Tell your friends :D

cljam.io.fasta.reader


create-baclj

(create-ba buffer)

Copies bytes in [0, position) of the given buffer.

Copies bytes in [0, position) of the given `buffer`.
sourceraw docstring

load-headersclj

(load-headers rdr)

Reads fasta headers.

Reads fasta headers.
sourceraw docstring

RandomAccessorcljprotocol

get-file-pointerclj

(get-file-pointer this)

read-bufferclj

(read-buffer this start end)

read-lineclj

(read-line this)

seekclj

(seek this pos)
source

readclj

(read rdr)

Reads FASTA sequence data, returning its information as a lazy sequence.

Reads FASTA sequence data, returning its information as a lazy sequence.
sourceraw docstring

read-sequenceclj

(read-sequence rdr name' start end {:keys [mask?]})

Reads the specified sequence range. start and end can each be set to nil, in which case, the first and the last element of the sequence are specified, respectively. rdr must be indexed.

Reads the specified sequence range.
`start` and `end` can each be set to `nil`, in which case, the first
and the last element of the sequence are specified, respectively.
`rdr` must be indexed.
sourceraw docstring

read-sequencesclj

(read-sequences rdr)

Reads sequences by line, returning the line-separated sequences as lazy sequence.

Reads sequences by line, returning the line-separated sequences
as lazy sequence.
sourceraw docstring

resetclj

(reset rdr)

Moves the file pointer of the given FASTA reader rdr to the beginning.

Moves the file pointer of the given FASTA reader `rdr` to the beginning.
sourceraw docstring

sequential-read-byte-arrayclj

(sequential-read-byte-array stream page-size seq-buf-size)

Returns list of maps containing sequence as byte-array. Bases ACGTN are encoded as 1-5.

Returns list of maps containing sequence as byte-array. Bases ACGTN are
encoded as 1-5.
sourceraw docstring

sequential-read-stringclj

(sequential-read-string stream page-size seq-buf-size {:keys [mask?]})

Returns list of maps containing sequence as upper-case string.

Returns list of maps containing sequence as upper-case string.
sourceraw docstring

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

× close