Liking cljdoc? Tell your friends :D

cljam.io.csi

Basic I/O of CSI:Coordinate Sorted Index files.

Basic I/O of CSI:Coordinate Sorted Index files.
raw docstring

offsets->indexclj

(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.
sourceraw docstring

read-indexclj

(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.
sourceraw docstring

write-indexclj

(write-index f csi)

Writes CSI file from CSI data.

Writes CSI file from CSI data.
sourceraw docstring

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

× close