Liking cljdoc? Tell your friends :D

clj-hgvs.core

Functions to handle HGVS. See http://varnomen.hgvs.org/ for the detail HGVS nomenclature.

Functions to handle HGVS. See http://varnomen.hgvs.org/ for the detail HGVS
nomenclature.
raw docstring

formatclj/s

(format hgvs)
(format hgvs opts)

Returns a HGVS string representing the given HGVS map. The second argument is an optional map to specify style: :show-bases? - displays additional bases, e.g. g.6_8delTGC, default false. :ins-format - bases style of insertion, default :auto. <:auto|:bases|:count> :range-format - range style, default :auto. <:auto|:bases|:coord> :amino-acid-format - amino acid style of protein HGVS, default :long. <:long|:short> :ter-format - ter codon style of protein frame shift. <:long|:short>

Returns a HGVS string representing the given HGVS map. The second argument is
an optional map to specify style:
  :show-bases? - displays additional bases, e.g. g.6_8delTGC, default false.
  :ins-format - bases style of insertion, default :auto. <:auto|:bases|:count>
  :range-format - range style, default :auto. <:auto|:bases|:coord>
  :amino-acid-format - amino acid style of protein HGVS, default :long. <:long|:short>
  :ter-format - ter codon style of protein frame shift. <:long|:short>
sourceraw docstring

hgvsclj/s

(hgvs transcript kind mutation)

Constructor of HGVS map. Throws an exception if any input is illegal.

Constructor of HGVS map. Throws an exception if any input is illegal.
sourceraw docstring

parseclj/s

(parse s)

Parses a HGVS string s, returning a map representing the HGVS.

Parses a HGVS string s, returning a map representing the HGVS.
sourceraw docstring

plainclj/s

(plain hgvs)

Returns a plain map representing the given HGVS. This function is useful for sending data through another codec. Use restore to retrieve original HGVS data.

Returns a plain map representing the given HGVS. This function is useful for
sending data through another codec. Use restore to retrieve original HGVS
data.
sourceraw docstring

restoreclj/s

(restore m)

Restores a plain map to a suitable HGVS data structure. This function is useful for sending data through another codec.

Restores a plain map to a suitable HGVS data structure. This function is
useful for sending data through another codec.
sourceraw docstring

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

× close