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.
(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>
(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.
(parse s)
Parses a HGVS string s, returning a map representing the HGVS.
Parses a HGVS string s, returning a map representing the HGVS.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close