Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ferro-hgvs

A high-performance HGVS variant nomenclature parser and normalizer, written in Rust with Python bindings. It supports every HGVS coordinate system (g / c / n / r / p / m / o) and edit type (substitution, deletion, insertion, duplication, inversion, repeat).

Use it as a Python package, a Rust crate, or a command-line tool. API docs are on docs.rs; source is on GitHub.

Start here

  • Installationpip install ferro-hgvs, cargo install ferro-hgvs, or the Rust crate.
  • Quickstart — parse a variant, then normalize one.

Guides

Interpretation

The Interpretation section is a per-line reading of the HGVS recommendations that records exactly how ferro interprets each clause — with runnable example spellings, the form ferro normalizes each input to, and the reasoning behind each decision. It is under construction, one spec page at a time.