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

Deletion-insertion — ferro’s reading

ferro’s reading of the HGVS delins recommendations on the transcript (r.) axis, clause by clause, with each spelling’s normalized form and a verdict. See How to read a page for verdicts, table conventions, and recurring terms.

DNA twin: Deletion-insertion (c./g.).

Executable rows use NM_004006.3, the one transcript in the committed slice. Where a spec example’s stated flank doesn’t match NM_004006.3, the row is shown on a stated-flank twin with the same base shape. Rows on accessions outside the slice are parse-only (—).

Two rows below are refused because ferro’s parser does not yet accept the spec’s bracketed cross-reference payload (delins[ACC:g.…], delins[ACC:r.…]) — a parser gap, not an invalid input.

delins.md:5 — definition: not a substitution, not an inversion

Deletion-Insertion (delins): a sequence change where, compared to a reference sequence, one or more nucleotides are replaced by one or more other nucleotides and which is not a substitution or inversion.

Ferro: a delins is one-or-more-for-one-or-more nucleotides that is neither a 1-for-1 substitution nor a whole-span reverse complement (typed inv). The DNA-side ruling (whole-span-reverse-complement-types-as-inv) has not been extended to r.; open.

InputVerdictNormalizes toNotes
NM_004006.3:r.902_909delinsuuurecommendedselfa genuine delins (acacacag → uuu)
NM_004006.3:r.5delinsarecommendedNM_004006.3:r.5u>a1-for-1 net effect is a substitution, not a delins — see :16

delins.md:16 — one nucleotide for one is a substitution, not a delins

by definition, when one nucleotide is replaced by one other nucleotide, the change is a substitution.

Ferro: a delins whose net effect is exactly one nucleotide for one is normalized to the substitution form, on rule-1 (“by definition”) force.

InputVerdictNormalizes toNotes
NM_004006.3:r.5delinsarecommendedNM_004006.3:r.5u>ar.5 is u; the net 1-for-1 change collapses to the recommended substitution

delins.md:17-19 — separation, and the one-nucleotide codon exception

  • two variants separated by one or more nucleotides should be described individually and not as a “delins”.
    • exception: two variants separated by one nucleotide, together affecting one amino acid, should be described as a “delins” (e.g., r.142_144delinsugg p.(Arg48Trp)).
      NOTE: this prevents tools predicting the consequences of a variant to make conflicting and incorrect predictions of two different substitutions at one position.

Ferro: rule 2 stands unqualified on r. — members a nucleotide or more apart are described individually — except for the one-nucleotide codon exception, which also applies to r.. The DNA-side payload-coincidence widening (DNA/delins.md:47) has no RNA/delins.md counterpart, so it does not reach this axis.

Why ferro reads it this way

separation-rule-force-modal-or-negation — Two changes a nucleotide or more apart are described individually — this is the spec’s preference (ruleset rule 2), not an outright ban; the only spelling the recommendations forbid is the split at separation zero.

delins-codon-carve-out-gap-one — Two changes one nucleotide apart that together affect a single amino acid are written as one delins on the coding sequence, the explicit exception the spec makes to describing them individually.

projection-codon-exception-is-decided-by-the-rendered-axis — The codon merge fires only on an axis that declares a reading frame, so when a coding description merges under it ferro leaves the members individual on the derived genomic axis rather than re-merging it to match.

delins-payload-coincidence-carve-out-is-coding-dna-scoped — Where a split exists only because payload bases coincide with the reference, ferro writes it as one spanning delins on every DNA axis (c./g./m./n., but not r.); on the frameless axes this is a disclosed rule-2 deviation and the project’s choice among conformant forms.

InputVerdictNormalizes toNotes
NM_004006.3:r.[100a>u;104a>g]recommendedselfseparated by 3 nt and in different codons (34 and 35) — no codon-exception antecedent; stays split, r.’s recommended form under rule 2
NM_004006.3:r.[142a>u;144g>c]recommendedNM_004006.3:r.142_144delinsugccodon 48 (agg → ugc, p.(Arg48Cys)); one nucleotide apart, one amino acid — the :18 exception reaches r. on this document’s own authority. Worked in full at :38-42 below

delins.md:20-21 — conversions are a delins; con is retired

conversions, a sequence change where a range of nucleotides are replaced by a sequence from elsewhere in the genome, are described as a “delins”. The previous format “con” is no longer used (see Community Consultation SVD-WG009).

Ferro: SVD-WG009 is accepted; the retired con syntax is never emitted — refused in strict, repaired to delins in lenient.

Why ferro reads it this way

absolute-prohibition-enforcement-stage — Spellings the spec prohibits are rejected — at parse in strict mode; lenient mode instead repairs the input where it can and fails only if it cannot normalize.

InputVerdictNormalizes toNotes
NM_004006.2:r.2623_2803delins2804_2949conformant—the delins form for a conversion (SVD-WG009 accepted); ferro would expand the same-accession range to literal bases on a real reference, so not the recommended range form (spec’s own accession, outside the slice — parse-only)
NM_004006.3:r.5_16delins123_134conformantNM_004006.3:r.[5_8delinscagu;10_13delinsaccu;15_16delinsca]executable conversion probe on the slice: a same-accession numeric-range payload — ferro expands the 123_134 range to literal bases and re-derives the resulting change into a three-member split, so not the recommended range form — conformant
NM_004006.2:r.2623_2803con2804_2949refused—the retired con syntax — rejected in strict mode

delins.md:22-24 — adjoined transcripts: a special-case delins

Adjoined transcripts from gene fusions represent a special case of deletion-insertion variant. The fusion break point is described using ::.
NOTE: to avoid confusion, HGVS recommends to follow the HGNC guidelines to describe products of gene translocations or fusions (format GENESYMBOL1::GENESYMBOL2) and readthrough transcripts (format GENESYMBOL1-GENESYMBOL2).

Ferro: descriptive — syntax is delegated entirely to adjoined_transcript.md. “Special case of delins” is not read as “may be rewritten as a delins”: with two reference sequences, nothing is re-derivable and nothing 3’-shifts.

InputVerdictNormalizes toNotes
NM_152263.2:r.-115_775::NM_002609.3:r.1580_*1924recommended—the spec’s own TPM3::PDGFRB example (adjoined_transcript.md:29); neither partner is in the slice — parse-only. The full rules live in adjoined_transcript.md, not on this page
NM_152263.2:c.-115_775::NM_002609.3:c.1580_*1924refused—c. partners inside :: are rejected — the syntax is RNA-only, per adjoined_transcript.md:18

delins.md:25 — the 3’ rule

for all descriptions, the most 3’ position possible of the reference sequence is arbitrarily assigned to have been changed (3’rule).

Ferro: canonicalization derives from the resulting sequence and applies the 3’ rule as part of that re-derivation (the exon-junction exception lives at general.md:43). For a delins the rule bites only after re-derivation trims payload bases that coincide with the reference into residual pieces, which then shift.

Why ferro reads it this way

canonical-form-choice-when-both-legal — When two descriptions of one variant are both legal and no clause chooses between them, ferro applies the edit set to the reference and re-derives the description from the resulting sequence — subject to every explicit spec tie-break, and breaking any remaining tie toward the already-shipped form — rather than preserving the input’s spelling.

InputVerdictNormalizes toNotes
NM_004006.3:r.775_776delinsarecommendedNM_004006.3:r.777delr.775_777 is aaa; the net effect is one a deleted from the run, and the 3’ rule places it on r.777
NM_004006.3:r.149delinsgarecommendedselfc[u]c → c[ga]c: neither payload base coincides with the reference, nothing residual to shift — a fixed point

delins.md:29-31 — example: r.775delinsga

r.775delinsga
a deletion of nucleotide r.775 (a u, not described), replaced by nucleotides ga, changing ..aggcucauu.. to ..aggcgacauu...

Ferro: on the stated flank neither payload base equals the deleted u; both minimal two-member partitions are separation zero with an ins on one side, so both merge to one delins under delins-adjacent-members-when-both-consume-reference — a fixed point. Shown on the stated-flank twin r.149 (c[u]c), since NM_004006.3’s r.775 is a, not the spec’s u.

Why ferro reads it this way

delins-adjacent-members-when-both-consume-reference — Two adjacent changes that both consume reference bases are written as a single delins; the spec marks the split spelling “not correct” at separation zero.

InputVerdictNormalizes toNotes
NM_004006.3:r.149delinsgarecommendedselfstated-flank twin (cuc → cgac); fixed point
NM_004006.3:r.[149u>g;149_150insa]recommendedNM_004006.3:r.149delinsgaone minimal split, separation zero — converges to the delins
NM_004006.3:r.[148_149insg;149u>a]recommendedNM_004006.3:r.149delinsgathe other minimal split — also converges
NM_004006.3:r.775delinsgarecommendedNM_004006.3:r.774_775insgthe spec’s literal spelling on this transcript’s bases: r.775 is a, so the payload’s a coincides with the reference and the variant is an insertion of g, not a delins — ferro re-derives from the resulting sequence rather than preserving the spelling

Confluence. {r.[149u>g;149_150insa], r.[148_149insg;149u>a], r.149delinsga} → r.149delinsga.

delins.md:32-34 — example: r.775_777delinsc, and the r.-exclusion

r.775_777delinsc
a deletion of nucleotides r.775 to r.777 (uca, not described), replaced by nucleotide c, changing ..aggcucauu.. to ..aggccuu...

Ferro: on the stated flank the payload c coincides with reference base 776, so the minimal partition is [775del;777del] — one unchanged base apart, :17’s antecedent. The DNA-side payload-coincidence carve-out (DNA/delins.md:47) is scoped to DNA axes only, so on a non-coding r. transcript rule 2 governs unqualified and the block stays split — a rule-2-conformant r. split, not a ferro limitation. On a coding transcript, whether the one-nucleotide codon exception (:18) separately licenses keeping this block whole is open (see Notes). Executable rows use stated-flank twins, since NM_004006.3’s r.775_777 is aaa and has no coincidence at all.

Why ferro reads it this way

delins-payload-coincidence-carve-out-is-coding-dna-scoped — Where a split exists only because payload bases coincide with the reference, ferro writes it as one spanning delins on every DNA axis (c./g./m./n., but not r.); on the frameless axes this is a disclosed rule-2 deviation and the project’s choice among conformant forms.

unequal-length-block-a-placed-gap-is-not-a-separation — A lone unequal-length net-deletion delins whose payload merely coincides with the reference, and whose every member other than the placed gap would itself render as a delins, is kept whole on every DNA axis (c./g./m./n., but not r.) rather than split at that coincidence into a separate residual member.

codon-carve-out-shape-restriction — Two changes one nucleotide apart that together alter a single amino acid are ruled one delins whatever the edit types — because “together affecting one amino acid” is a fact about the resulting sequence, not about how the input was spelled — though the coding-codon pass currently implements only the substitution/unchanged-base/substitution triplet.

InputVerdictNormalizes toNotes
NR_x.1:r.775_777delinscrecommended—non-coding twin, illustrative accession (not resolvable — parse-only). The decided reading: payload coincides with reference 776c, separation one, no reading frame for :18, :17 unqualified — r.[775del;777del] is r.’s recommended form, since the DNA-scoped carve-out does not reach this axis (delins-payload-coincidence-carve-out-is-coding-dna-scoped, unequal-length-block-a-placed-gap-is-not-a-separation)
NM_004006.3:r.123_125delinsarecommendedNM_004006.3:r.[123del;125del]coding transcript, stated-flank twin spanning codons 41/42 (u[cag]u → u[a]u): payload coincides with 124a, separation one, but the pair does not sit within one codon — :18 has no antecedent, :17 governs, split
NM_004006.3:r.103_105delinsaconformantselfcoding transcript, stated-flank twin within codon 35 (g[cag]c → g[a]c): same shape, one codon; whether :18’s “together affecting one amino acid” also covers this net −2 (frameshift) pair is open — provisional, see Notes

Notes. The spec publishes this example whole and accession-less. On a non-coding r. reading, no clause licenses re-merging the split, even though the DNA axes merge the identical shape under the payload-coincidence carve-out. On a coding r. reading, whether a net-length-changing (frameshift) pair counts as “together affecting one amino acid” is undecided (codon-carve-out-shape-restriction); ferro’s implementation merges on span-within-one-codon alone, so its whole-block output on a coding transcript is marked conformant rather than recommended pending that decision.

delins.md:35-37 — example: r.902_909delinsuuu

r.902_909delinsuuu
a deletion of nucleotides r.902 to r.909, replaced by nucleotides uuu.

Ferro: no flank is stated; on NM_004006.3 (r.902_909 is acacacag) no payload base coincides with any reference base in the deleted span, and the span crosses codons 301-303. Nothing to split, nothing to shift — fixed point.

InputVerdictNormalizes toNotes
NM_004006.3:r.902_909delinsuuurecommendedselfno payload/reference coincidence; span crosses three codons — fixed point

delins.md:38-42 — example: r.142_144delinsugg, and the polymorphism note

r.142_144delinsugg (p.Arg48Trp)
a deletion replacing nucleotides r.142 to r.144 (cga, not described) with ugg.
NOTE: the variant can also be described as r.[142c>u;144a>g], i.e. two substitutions. This format is preferred when either of the two variants is known as a frequently occurring variant (“polymorphism”).

Ferro: on the stated flank, separation is one (143g unchanged) and codon 48 — the :18 exception merges the split to one delins. The spec’s preference for the split, on population frequency, is provenance no normalizer holds; ferro re-derives from the resulting sequence instead. NM_004006.3’s codon 48 is agg, not the spec’s cga, so the rows use the same-shaped agg → ugc.

Why ferro reads it this way

delins-codon-carve-out-gap-one — Two changes one nucleotide apart that together affect a single amino acid are written as one delins on the coding sequence, the explicit exception the spec makes to describing them individually.

canonical-form-choice-when-both-legal — When two descriptions of one variant are both legal and no clause chooses between them, ferro applies the edit set to the reference and re-derives the description from the resulting sequence — subject to every explicit spec tie-break, and breaking any remaining tie toward the already-shipped form — rather than preserving the input’s spelling.

InputVerdictNormalizes toNotes
NM_004006.3:r.142_144delinsugcrecommendedselfcodon 48; p.(Arg48Cys) — fixed point
NM_004006.3:r.[142a>u;144g>c]recommendedNM_004006.3:r.142_144delinsugcthe polymorphism-preferred split shape; ferro re-derives from the resulting sequence rather than preserving that provenance

Confluence. {r.[142a>u;144g>c], r.142_144delinsugc} → r.142_144delinsugc.

delins.md:43-51 — RNA conversion examples

  • RNA conversion (based on SVD-WG009)
    • NM_004006.2:r.2623_2803delins2804_2949
      conversion replacing nucleotides r.2623 to r.2803 (exon 21) with nucleotides r.2804 to r.2949 (exon 22) as found in the DMD coding RNA sequence file NM_004006.2.
    • r.415_1655delins[AC096506.5:g.409_1649]
      conversion replacing nucleotides r.415 to r.1655 with nucleotides g.409 to g.1649 as found in the genomic reference sequence AC096506.5.
    • r.1401_1446delins[NR_002570.3:r.1513_1558]
      conversion in exon 9 of the CYP2D6 gene, replacing exon 9 nucleotides r.1401 to r.1446 with those of the 3’ flanking CYP2D7P1 gene, nucleotides r.1513 to r.1558.

Ferro: three payload forms — a same-accession range, a bracketed foreign genomic range, a bracketed foreign RNA range. Ferro parses only the same-accession range form, and does not keep it as a range: on a real reference it expands the range to literal bases and normalizes the result, so its output is not the recommended delins<range> citation form — conformant. The two bracketed cross-reference forms it does not yet parse at all — a parser gap, refused below.

InputVerdictNormalizes toNotes
NM_004006.2:r.2623_2803delins2804_2949conformant—same-accession conversion range; ferro would expand it to literal bases on a real reference rather than preserve it, so not the recommended range form (spec’s own accession, outside the slice — parse-only)
r.415_1655delins[AC096506.5:g.409_1649]refused—the spec’s own foreign-genomic-range payload — ferro’s parser does not yet accept a bracketed cross-reference payload, so refused records a parser gap, not an invalid input
r.1401_1446delins[NR_002570.3:r.1513_1558]refused—the spec’s own foreign-RNA-range payload (CYP2D6/CYP2D7P1). Same ferro parser gap as the row above — a limitation on a spec-recommended form, not an invalid input

Notes. r.2623_2803delins2804_2949 is sequence-identical to r.[2623_2803del;2804_2949dup] — a del adjacent to a dup at separation zero. The dup half of the separation-zero merge is still open (delins-adjacent-members-when-both-consume-reference covers only del/ins/sub/inv); open.

delins.md:62-66 — Q&A: gc>ug is not a di-nucleotide substitution

!!! note “Can I describe a gc to ug variant as a di-nucleotide substitution (r.4gc>ug)?”

No, this is not allowed. By definition, a substitution changes one nucleotide into one other nucleotide (see Substitution). The change augugcca to auguugca should be described as r.5_6delinsug, i.e. a deletion/insertion (delins).

Ferro: the di-nucleotide substitution spelling is refused; two adjacent changed nucleotides (separation zero) are described as one delins — RNA’s own authority for the sub+sub merge. NM_004006.3:r.5_6 is uu (not the Q&A’s gc), so the executable rows change both to ag.

Why ferro reads it this way

delins-adjacent-members-when-both-consume-reference — Two adjacent changes that both consume reference bases are written as a single delins; the spec marks the split spelling “not correct” at separation zero.

InputVerdictNormalizes toNotes
NM_004006.3:r.4gc>ugrefused—the disallowed di-nucleotide substitution spelling
NM_004006.3:r.[5u>a;6u>g]recommendedNM_004006.3:r.5_6delinsagadjacent, separation zero — merges to the recommended delins
NM_004006.3:r.5_6delinsagrecommendedselfthe merged form is a fixed point

Confluence. {r.[5u>a;6u>g], r.5_6delinsag} → r.5_6delinsag.

Note. The governing record does not yet cite this clause or its RNA/substitution.md:16 twin — a citation gap, not a behavior question.

delins.md:68-71 — Q&A: the BRCA1 sub+ins merge

!!! note “The BRCA1 coding RNA reference sequence NM_007294.3 from position r.2074 to r.2080 is caugaca. A variant frequently found in the population is cauaaca (NM_007294.3:r.2077g>a). In a patient I found the sequence cauauaaca. Can I describe this variant as NM_007294.3:r.[2077g>a;2077_2078insua]?”

The correct description of this variant is NM_007294.3:r.2077delinsaua.
NOTE: the answer was modified, i.e. the addition “However, since the variant is likely a combination of two other variants, it is acceptable to describe it as NM_007294.3:r.[2077g>a;2077_2078insua].” was removed.

Ferro: separation-zero sub+ins merges to one delins; the committee withdrew a provenance-based permission for the split. The spec’s own NM_007294.3 rows are parse-only here (outside the slice); the same shape is executed on NM_004006.3 at r.149 (c[u]c → c[aga]c).

Why ferro reads it this way

delins-adjacent-members-when-both-consume-reference — Two adjacent changes that both consume reference bases are written as a single delins; the spec marks the split spelling “not correct” at separation zero.

InputVerdictNormalizes toNotes
NM_007294.3:r.2077delinsauarecommended—the spec’s own answer; fixed point by construction (parse-only here)
NM_007294.3:r.[2077g>a;2077_2078insua]recommended—the withdrawn split — the committee removed the passage permitting it (parse-only here)
NM_004006.3:r.149delinsagarecommendedselfexecutable twin of the sub+ins shape; fixed point
NM_004006.3:r.[149u>a;149_150insga]recommendedNM_004006.3:r.149delinsagaexecutable twin of the withdrawn split: separation zero, sub + ins — merges to the delins

Confluence. {r.[149u>a;149_150insga], r.149delinsaga} → r.149delinsaga.