Basic I/O of CSI:Coordinate Sorted Index files.
Basic I/O of CSI:Coordinate Sorted Index files.
(offsets->index offsets
shift
depth
{:keys [variant-file-type] :or {variant-file-type :bcf}})
Calculates loffsets and bidx
from offsets {:file-beg :file-end :beg :end :chr :chr-index}.
variant-file-type
is one of :vcf
or :bcf
.
If variant-file-type
is :vcf
, tabix-like aux data will be created.
Calculates loffsets and bidx from offsets {:file-beg :file-end :beg :end :chr :chr-index}. `variant-file-type` is one of `:vcf` or `:bcf`. If `variant-file-type` is `:vcf`, tabix-like aux data will be created.
(read-index f)
Reads a CSI file f
and returns an instance of cljam.io.csi.CSI.
Reads a CSI file `f` and returns an instance of cljam.io.csi.CSI.
(write-index f csi)
Writes CSI file from CSI data.
Writes CSI file from CSI data.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close