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

Interpreting the HGVS Recommendations

The HGVS nomenclature recommendations are the standard for naming sequence variants. They are large and carefully written, but — like any natural-language standard — in places they leave a question open, or two passages can be read as pointing different ways. A normalizer still has to emit exactly one string. Where ferro has had to settle such a question, this section records the decision, mirrored page-for-page against the official recommendations.

32 pages, one per spec section

Each page shows the spec's own text, ferro's reading of it, and a table of example spellings with ferro's verdict on each.

Every example is exercised

A build check parses each spelling and asserts every reference-backed output against a real GRCh38 reference. A wrong verdict, a moved quote, or a changed normalization fails the build.

New to the vocabulary?

Start with How to read a page — the verdicts, the table conventions, and the recurring terms, explained once.

The verdicts, at a glance

The recommendations are HGVS’s, not ferro’s. ferro’s job is to take any input and produce the form the recommendations prefer; the verdict describes ferro’s output against that goal.

recommended   the form the recommendations prefer — the target.    conformant   valid HGVS, but not yet the recommended form.    refused   not valid HGVS; ferro correctly rejects it.    bug   ferro produced invalid HGVS — a defect.

Full definitions, plus the table conventions (self, —, “parse-only”) and the recurring terms, are on the How to read a page reference.

Pages

DNA

PageCovers
Substitutionone base replaced by one other base
Deletionremoving one or more bases
Duplicationa tandem copy of existing bases
Insertionnew bases between two adjacent positions
Inversiona reverse-complemented span
Deletion-Insertionone or more bases replaced by one or more others
Repeated Sequencesshort tandem repeat notation
Allelescombining variants in cis / trans / unknown phase
Complextranslocations and multi-part rearrangements
Othercases the rest of the list doesn’t cover

RNA

PageCovers
Substitutionone base for one base, on the transcript
Deletionremoving one or more transcript bases
Duplicationa tandem copy on the transcript
Insertionnew transcript bases between two positions
Inversiona reverse-complemented transcript span
Deletion-insertiontranscript bases replaced by others
Repeated Sequencestandem repeat notation, transcript coordinates
Allelescis / trans / unknown / product combinations
Splicingsplice-site consequences written as del/ins
Adjoined transcriptgene-fusion transcripts

Protein

Protein examples run against NP_003997.1 (dystrophin, the translation of NM_004006.3) in the committed slice. There are no genomic sequence alignments on this axis — a p. description has no SPDI — so the pages rely on the executed verdict and “normalizes to” columns.

PageCovers
Substitutionone amino acid for one (missense, nonsense, silent)
Deletionremoving one or more residues, 3′-placed
Duplicationa tandem copy of residues
Insertionresidues added between two flanking positions
Deletion-insertionresidues replaced by others
Repeated Sequencesamino-acid repeat notation
Frameshifttranslation shifted to another frame
Extensionthe sequence extended past a terminus
Allelescis / trans / unknown phase on the protein

Cross-cutting

These three shadow the spec’s non-axis pages — the rules and notation that apply across DNA, RNA, and protein.

PageCovers
General notationthe DNA-level-primary rule, mandatory prefixes, prioritisation, and the special characters (=, /, _, …)
Uncertain descriptions( ) / ? / ^ notation for predicted or incompletely-known variants, across all axes
Publication checklistthe most frequently offended rules, as correct-vs-refused pairs

What this section is not

It is not a second copy of the rules. The canonical ruleset lives in the normalization rules page, and every adjudication is recorded once in the ruling ledger (hgvs_spec_normalization_overrides.json, rendered for reading as NORMALIZATION_CONTRACT.md). These pages draw their explanations from the ledger rather than restating them — a rule written in two places is a rule that drifts.

How it stays honest

Every example is exercised through ferro by a build check, though not every row is checked the same way: each spec quote is verified against the pinned spec checkout, every spelling is parsed (and strict-refused where marked refused), and every reference-backed output — a row on an accession in the committed slice — is asserted against a real GRCh38 reference. Rows marked — (parse-only foreign accessions, and p. rows with no genomic SPDI) are checked for parsing only. A wrong verdict, a moved quote, or a changed normalization on a checked row fails the build — so a page cannot claim reference-backed behavior ferro does not have.