Variations¶
What this page answers
How a ClinVar variation is represented: its name, its VRS allele or location, its HGVS and other expressions,
its genes and its cross-references. Read it when you match ClinVar variants to your own data, or follow a
statement's subject to the variant it is about.
Overview¶
The variation bundle section contains one record per ClinVar variation. Each record represents a ClinVar variation and its relationship to a resolved VRS genomic identity, along with expressions, cross-references, gene associations, and ClinVar metadata.
ClinVar variations are represented using the GA4GH Cat-VRS (Categorical Variation) specification (glossary). Their precise genomic forms are VRS alleles and locations, in the allele, location and copy number sections. Cat-VRS defines categorical variant types that group variants at a higher level than individual VRS alleles — bridging the gap between ClinVar's variation concept and VRS's precise genomic representations.
This section is produced by the Cat-VRS procedure.
Variation Types¶
Every record has type CategoricalVariant and validates against one of four ClinVar profiles, in three groups:
-
CanonicalAllele (ClinvarCanonicalAllele) — The vast majority of ClinVar variations. ClinVar identifies each variation by mapping submitted variant attributes to a GRCh38 genomic allele (falling back to GRCh37 or NCBI36 for historical data). This defining allele becomes the
DefiningAlleleConstraint, and the same genomic allele generates the VRS allele referenced via#/allele/. See the Cat-VRS CanonicalAllele specification. -
Categorical CNV (ClinvarCategoricalCnvCount and ClinvarCategoricalCnvChange, two profiles) — Copy number variants use a
DefiningLocationConstraintfollowing the same identification approach, with an additionalCopyCountConstraintwhen an absolute copy count is provided, or aCopyChangeConstraintwhen only gain/loss is indicated. -
Non-constrained variant (ClinvarNonConstrainedVariant) — Haplotypes, genotypes, and other complex or ambiguously defined variants that cannot yet be mapped to a specific VRS allele or location. These rely solely on the ClinVar variation ID to distinguish them. Work continues within the GA4GH GKS workstream to expand VRS and Cat-VRS coverage for these types as community need arises.
Record Structure¶
Each record is a CategoricalVariant that validates against one of the four ClinVar profiles in ClinvarCategoricalVariant — ClinvarCanonicalAllele, ClinvarCategoricalCnvChange, ClinvarCategoricalCnvCount, or ClinvarNonConstrainedVariant. The profiles allow these top-level fields, and no description or aliases:
| Field | Type | Description |
|---|---|---|
id |
string | ClinVar-scoped identifier — clinvar:{variation_id} |
type |
string | Always CategoricalVariant |
name |
string | The ClinVar display name for the variation — e.g., NM_006269.2(RP1):c.2238_2239del (p.Lys746_Ser747insTer). See Where a Value Comes From |
constraints |
array | Defining constraints linking to the resolved VRS variant. Absent on generalized variants. See Constraints |
mappings |
array | Cross-references to external databases. See Mappings |
members |
array | A pointer to the resolved VRS variant: #/allele/ for a CanonicalAllele, #/copyNumberChange/ or #/copyNumberCount/ for a copy number variant. Absent on generalized variants |
extensions |
array of Extension | ClinVar-specific metadata and supplementary data (0..*). See Extensions |
Constraints¶
The constraints array defines the relationship between the variation and its resolved VRS representation. The constraint type depends on the variant class:
| Variation Type | Constraint Type | Key Fields |
|---|---|---|
| CanonicalAllele | DefiningAlleleConstraint |
allele — #/allele/{id} reference to a VRS Allele |
| CategoricalCnvChange | DefiningLocationConstraint + CopyChangeConstraint |
location — #/location/{id} reference; copyChange — loss or gain |
| CategoricalCnvCount | DefiningLocationConstraint + CopyCountConstraint |
location — #/location/{id} reference; copies — an integer |
| Generalized | None | No VRS constraint — identified by ClinVar variation ID only |
Each constraint is a ClinVar profile: ClinvarDefiningAlleleConstraint, ClinvarDefiningLocationConstraint, ClinvarCopyChangeConstraint, and ClinvarCopyCountConstraint. Their relations and match characteristic are fixed codings: liftover_to and transcribed_to (ClinvarLiftoverToRelation, ClinvarTranscribedToRelation) and is_within (ClinvarIsWithinMatch).
Allele Constraint Example¶
The DefiningAlleleConstraint references a VRS Allele in the allele bundle section:
{
"type": "DefiningAlleleConstraint",
"allele": "#/allele/ga4gh:VA.ELQCnIBGqaTl0AEE0Az18XZ2cgIHAQIY",
"relations": [
{
"type": "MappableConcept",
"primaryCoding": { "code": "liftover_to", "system": "ga4gh-gks-term:allele-relation" }
},
{
"type": "MappableConcept",
"primaryCoding": {
"code": "transcribed_to",
"system": "http://www.sequenceontology.org/",
"iris": ["http://www.sequenceontology.org/browser/current_release/term/transcribed_to"]
}
}
]
}
Location Constraint Example¶
The DefiningLocationConstraint for copy number variants references a VRS Location:
{
"type": "DefiningLocationConstraint",
"location": "#/location/ga4gh:SL.5-SKfXZ941W7JbZW3UmQKtijyUfd6d7z",
"matchCharacteristic": {
"type": "MappableConcept",
"primaryCoding": { "code": "is_within", "system": "ga4gh-gks-term:location-match" }
},
"relations": [
{
"type": "MappableConcept",
"primaryCoding": { "code": "liftover_to", "system": "ga4gh-gks-term:allele-relation" }
}
]
}
Mappings¶
The mappings array contains cross-references to external databases. Each mapping is a ClinvarVariationMapping with a coding (database, identifier, IRIs) and one of three relation values:
| Relation | Meaning |
|---|---|
exactMatch |
The ClinVar self-reference — links back to the ClinVar variation page |
closeMatch |
ClinGen allele registry identifiers |
relatedMatch |
All other external databases (dbSNP, OMIM, UniProtKB, GTR, PharmGKB, etc.) |
Example¶
{
"coding": {
"system": "https://www.ncbi.nlm.nih.gov/snp/",
"code": "1799945",
"iris": ["https://identifiers.org/dbsnp:rs1799945"]
},
"relation": "relatedMatch"
}
Extensions¶
Extensions carry ClinVar-specific metadata not part of the core Cat-VRS specification. Each extension follows the GA4GH Extension structure: { "name": "<name>", "value": <value> }, and each is a closed class with a fixed name and a typed value. Variation extensions appear on the CategoricalVariant record; the assembly extension appears on records of the sequenceReference section.
See Categorical Variant Extensions (Pipeline) for details on how these extensions are built during pipeline processing.
CategoricalVariant Extensions¶
| Extension Name | Value Type | Description |
|---|---|---|
categoricalVariationType |
string |
The Cat-VRS category assigned to this variation: CanonicalAllele, CategoricalCnvChange, CategoricalCnvCount, or Undefined. Determines which constraint types are generated. |
definingVrsVariationType |
string |
The VRS class assigned during variation identity processing: Allele, CopyNumberChange, CopyNumberCount, Haplotype, Unknown, or Not Available. Reflects the upstream classification used to route the variant through VRS processing. |
clinvarVariationType |
string |
The variation type as reported by ClinVar (e.g., Deletion, single nucleotide variant, Duplication, Indel). Present when ClinVar provides a variation type. |
clinvarSubclassType |
string |
The variation subclass as reported by ClinVar: SimpleAllele, Haplotype, or Genotype. Present when ClinVar provides a subclass type. |
clinvarCytogeneticLocation |
string |
The cytogenetic band location of the variation (e.g., 1p36.22, 17q21.31). Present when ClinVar provides a cytogenetic location. |
vrsPreProcessingIssue |
string |
Issues detected during VRS pre-processing of the variation's input expressions. Present only when issues exist. May contain multiple issues separated by newlines. |
vrsProcessingException |
string |
Errors returned by the external VRS Python processing service. Present only when errors occurred during VRS resolution. |
clinvarHgvsList |
array of HgvsListItem | Complete list of HGVS expressions from ClinVar for this variation, including nucleotide and protein expressions, molecular consequences (SO terms), and MANE transcript designations. |
clinvarGeneList |
array of GeneListItem | Gene associations for this variation from ClinVar, with #/gene/ references to gene MappableConcepts, relationship types, and sources. |
SequenceReference Extensions¶
Extensions on ClinvarSequenceReference records in the sequenceReference section, which variations reach through #/allele/ → #/location/ → #/sequenceReference/ pointers.
| Extension Name | Value Type | Description |
|---|---|---|
assembly |
string |
The genome assembly of this sequence reference: GRCh38, GRCh37, or NCBI36. |
HgvsListItem¶
Each item in the clinvarHgvsList extension array represents one HGVS expression entry from ClinVar's HGVSlist element for the variation.
| Field | Type | Description |
|---|---|---|
nucleotideExpression |
object | A ClinvarNucleotideExpression: the nucleotide HGVS expression with syntax (e.g., hgvs.c, hgvs.g) and value (the HGVS string). From 1.1.0, when ClinVar supplies an expression with no HGVS type letter, its submitted text is kept, unaltered, in this expression's extensions: invalidClinvarExpression (the submitted text) with expressionMerged: true when ClinVar also supplies a valid expression for the accession, which is the one listed; otherwise originalClinvarExpression (the submitted text) with expressionRepaired: true, on a listed expression with the type letter restored. |
nucleotideType |
string |
The type of nucleotide expression as reported by ClinVar: coding, non-coding, genomic, or genomic, top-level. |
maneSelect |
boolean |
true if this transcript is designated as MANE Select. Absent when not applicable. |
manePlus |
boolean |
true if this transcript is designated as MANE Plus Clinical. Absent when not applicable. |
proteinExpression |
object | A ClinvarProteinExpression: the protein HGVS expression with syntax (typically hgvs.p) and value, and no extensions. Present only when a protein-level expression exists for the nucleotide expression. ClinVar protein text with no HGVS type letter is labelled hgvs.p. |
molecularConsequence |
array | Sequence Ontology terms describing the predicted molecular consequence. Each entry is a ClinvarMolecularConsequenceCoding with code (ClinVar's SO identifier, passed through as is), system (http://www.sequenceontology.org/), iris (identifiers.org link) and name (SO term label). name is absent for an SO code outside the pipeline's 18-term lookup. |
GeneListItem¶
Each item in the clinvarGeneList extension array represents one gene association for the variation. Gene details (symbol, NCBI Gene ID, HGNC mapping) are on the referenced gene MappableConcept in the gene bundle section.
| Field | Type | Description |
|---|---|---|
gene |
string |
#/gene/ncbigene:{id} reference to the gene MappableConcept in the gene bundle section. |
relationship_type |
string |
The relationship between the variation and the gene as reported by ClinVar (e.g., within single gene, genes overlapped by variant). |
source |
string |
The source of the gene association: submitted or calculated. |
Examples¶
Annotated JSONC examples of variation records are available in the repository:
- Cat-VRS examples — CanonicalAllele records for ClinVar variations
See Also¶
- ID References — following
membersandconstraintsfrom a variation to its sequence - Where a Value Comes From — each variation field traced back to ClinVar's XML
- Cat-VRS procedure — how the records are built
- Examples — two complete variation records