Liking cljdoc? Tell your friends :D

varity.ref-gene

Handles refGene.txt(.gz) content.

Handles refGene.txt(.gz) content.
raw docstring

cds->genomic-posclj

(cds->genomic-pos cds-pos rg)
(cds->genomic-pos cds-pos region {:keys [strand cds-start cds-end exon-ranges]})
source

cds-coordclj

(cds-coord pos rg)

Converts the genomic position into the cDNA coordinate. The return value is clj-hgvs.coordinate/CDNACoordinate record.

Converts the genomic position into the cDNA coordinate. The return value is
clj-hgvs.coordinate/CDNACoordinate record.
sourceraw docstring

cds-coord->genomic-posclj

(cds-coord->genomic-pos coord {:keys [strand] :as rg})

Converts the cDNA coordinate into the genomic position. coord must be clj-hgvs.coordinate/CDNACoordinate record.

Converts the cDNA coordinate into the genomic position. coord must be
clj-hgvs.coordinate/CDNACoordinate record.
sourceraw docstring

cds-posclj

(cds-pos pos {:keys [strand cds-start cds-end exon-ranges]})
source

in-any-exon?clj

(in-any-exon? chr pos rgidx)

Returns true if chr:pos is located in any ref-gene exon, else false.

Returns true if chr:pos is located in any ref-gene exon, else false.
sourceraw docstring

in-cds?clj

(in-cds? pos {:keys [cds-start cds-end]})

Returns true if pos is in the coding region, false otherwise.

Returns true if pos is in the coding region, false otherwise.
sourceraw docstring

in-exon?clj

(in-exon? pos {:keys [exon-ranges]})

Returns true if pos is in the exon region, false otherwise.

Returns true if pos is in the exon region, false otherwise.
sourceraw docstring

indexclj

(index rgs)

Creates refGene index for search.

Creates refGene index for search.
sourceraw docstring

load-ref-genesclj

(load-ref-genes f)

Loads f (e.g. refGene.txt(.gz)), returning the all contents as a sequence.

Loads f (e.g. refGene.txt(.gz)), returning the all contents as a sequence.
sourceraw docstring

max-tx-marginclj

source

ref-genesclj

(ref-genes s rgidx)
(ref-genes chr pos rgidx)
(ref-genes chr pos rgidx tx-margin)

Searches refGene entries with ref-seq, gene or (chr, pos) using index, returning results as sequence. See also varity.ref-gene/index.

Searches refGene entries with ref-seq, gene or (chr, pos) using index,
returning results as sequence. See also varity.ref-gene/index.
sourceraw docstring

seek-gene-regionclj

(seek-gene-region chr pos rgidx)
(seek-gene-region chr pos rgidx name)

Seeks chr:pos through exon entries in refGene and returns those indices

Seeks chr:pos through exon entries in refGene and returns those indices
sourceraw docstring

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

× close