(create-ba buffer)
Copies bytes in [0, position) of the given buffer
.
Copies bytes in [0, position) of the given `buffer`.
(get-file-pointer this)
(read-buffer this start end)
(read-line this)
(seek this pos)
(read rdr)
Reads FASTA sequence data, returning its information as a lazy sequence.
Reads FASTA sequence data, returning its information as a lazy sequence.
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close