(read-features reader)
Reads features of the GFF file, returning them as a lazy sequence. reader
must be an instance of cljam.io.gff.GFFReader
.
Reads features of the GFF file, returning them as a lazy sequence. `reader` must be an instance of `cljam.io.gff.GFFReader`.
(reader f)
Returns an open cljam.io.gff.GFFReader
instance of f
. Should be used
inside with-open
to ensure the reader is properly closed.
Returns an open `cljam.io.gff.GFFReader` instance of `f`. Should be used inside `with-open` to ensure the reader is properly closed.
(version reader)
Returns a file format version of the given reader
.
Returns a file format version of the given `reader`.
(write-features writer features)
Writes features
to the GFF file. writer
must be an instance of
cljam.io.gff.GFFWriter
. features
must be a sequence of feature maps.
Writes `features` to the GFF file. `writer` must be an instance of `cljam.io.gff.GFFWriter`. `features` must be a sequence of feature maps.
(writer f)
(writer f options)
Returns an open cljam.io.gff.GFFWriter
instance of f
. Should be used
inside with-open
to ensure the writer is properly closed. Can take an
optional argument options
, a map containing :version
, :major-revision
,
:minor-revision
and :encoding
. Currently supporting only :version
3.
To compress outputs, set :encoding
to :gzip
or :bzip2
.
Returns an open `cljam.io.gff.GFFWriter` instance of `f`. Should be used inside `with-open` to ensure the writer is properly closed. Can take an optional argument `options`, a map containing `:version`, `:major-revision`, `:minor-revision` and `:encoding`. Currently supporting only `:version` 3. To compress outputs, set `:encoding` to `:gzip` or `:bzip2`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close