Skip to content

How to Read These Docs

These docs serve three kinds of reader. Some want to understand the data, often starting from what they already know of ClinVar's website. Some want to know how ClinVar's XML becomes this format. Some are building a pipeline or an application on top of it. Find yours below, follow its path as far as you need, and use the tab map to jump around.

Whichever path you take, the Quick Start (ten minutes, nothing to install) and Key Concepts (five minutes) are the best first stops.


The sections at a glance

The site has six tabs, one per reader goal:

Tab What it gives you Read it when
Start Here What ClinVar-GKM is, a quick start, its key concepts, which data to choose, what you can do with it and the tools to set up, plus this guide, Data Use and Citation (the ClinVar disclaimer, how to cite, the license) and Stay Informed (the announcement list) You are new to the project, or about to use, publish or share the data
Get the Data The files: monthly and weekly full bundles, weekly deltas, keeping a copy current, Parquet, and how releases work You need the data, or need to keep a copy current
Build & Query Query with SQL (the 20 Parquet tables, a browser query console, joins and working at scale), Recipes, Build Your Own Dataset, tracking change over time, Working in Python (the GA4GH libraries on bundles and Parquet) and two end-to-end User Stories You want to work with the data in SQL or Python, or see it used for a real task
Understand the Data What each part of the bundle means: variations, SCV, VCV and RCV statements, ID references and annotated examples, and Mapping & Vocabularies, which maps ClinVar's statement types, classifications and review status You want to understand the data
How It's Built Each step from ClinVar's XML to the published bundle You want to know how a value was produced
Reference The Data Model (every class and field, generated from the schemas), Versioning, Changelog, Release Validation, Known Issues, FAQ, Glossary and more You need exact field definitions, what changed, what is guaranteed, or a definition

The tabs build on each other:

  • Start Here orients you and gets you to a first result.
  • Get the Data delivers the files.
  • Build & Query turns them into tables you can query, and datasets of your own.
  • Understand the Data explains what is in them.
  • How It's Built explains how each value was derived from ClinVar.
  • Reference defines every field exactly, and records what changes between releases and what each release guarantees.

Path 1: I know ClinVar's website and want to understand the data

Everything on a ClinVar variation page has a place in the bundle. This table maps the pieces of the page you know to where they live, and to the page that explains each one.

On ClinVar's website In ClinVar-GKM Explained in
A variation (VCV000012582) and its details: HGVS names, location, genes A variation record (clinvar:12582), a Cat-VRS categorical variant, defined by GA4GH VRS allele and location records Variations
The Germline classification and its review status A vcv statement in the germline group, with its aggregate classification VCV Statements
The Somatic clinical impact and oncogenicity classifications vcv statements in the somatic clinical impact and oncogenicity groups VCV Statements, Statement Types
Each row of Submitted classifications (an SCV) An scv statement, which points to its submitter, its proposition and its evidence SCV Statements
A classification for one condition (an RCV) An rcv statement RCV Statements
The condition (a MedGen-linked trait) A condition, or a conditionSet when there are several Output Format
Review status stars The statement's review status, which also sets its rank when submissions are aggregated Review Status
"Pathogenic", "Drug response", and the other classification terms A classification on a typed proposition (for example VariantPathogenicityProposition) Classifications, Proposition Types

Suggested order: 1. Key Concepts: variants, propositions, SCV, VCV and RCV statements, and how records point to each other. 2. Output Format, for how the bundle's sections fit together. 3. The statement pages, starting with SCV Statements. 4. The annotated Examples, to see one real variation end to end.

Keep the Glossary and the FAQ at hand. To explore without writing code, the query console runs SQL in your browser.


Path 2: I want to know how ClinVar's XML becomes this format

The Pipeline Overview walks the whole release. ClinVar's XML is first loaded into relational BigQuery tables by the upstream clinvar-ingest pipeline and prepared by clinvar-ingest-bq-tools. ClinVar-GKM's stored procedures take over from there.

Suggested order: 1. Variation Identity and VRS Processing: how each variant gets its GA4GH VRS identity. 2. Cat-VRS: how a ClinVar variation becomes a categorical variant. 3. Conditions & Traits: how submitted conditions are matched to ClinVar's traits. 4. SCV Statements, then VCV Statements with their aggregation rules, then RCV Statements. 5. Export & Distribute: bundle assembly, weekly deltas, Parquet and publication.

When a value in the data surprises you, the matching pipeline step says where it came from. Mapping & Vocabularies records the mapping rules. Release Validation lists the checks every release passes before publication. Design decisions are recorded as ADRs, for example ADR 0007 on pipeline principles.


Path 3: I am building a pipeline or an application on this data

Suggested order: 1. Choose Your Data, then How Releases Work: which files to use, the release schedule, the directory layout and when files move. Keep Your Data Current applies the weekly deltas to a local copy. 2. Versioning & Releases: what is guaranteed. ClinVar-GKM has been generally available since 1.1.0, and the current line is 1.2 (v1/1.2/); published files are immutable, and a breaking change opens a new major line. 3. Set Up Your Tools: the tools, versions, disk and memory the examples need. 4. The Build & Query tab, by interface: - SQL on Parquet: Query with SQL, from the 20 tables and joins to working at scale and other tools, then the Recipes. - Your own tables or subsets: Build Your Own Dataset builds Parquet from a bundle and cuts self-contained mini-bundles with gkm-bundle-parquet. Track Change Over Time compares releases. - Python: Working in Python loads bundle and Parquet records into the GA4GH libraries (vrs-python, cat-vrs-python and va-spec-python, collected in the GKM Starter Kit), with the library versions that read 1.2.0 (and 1.1.0), and validates a bundle with the GKM Toolkit. See also GA4GH Standards. - Worked problems: the two User Stories. 5. JSON bundles: the Output Format, ID References for resolving #/section/id pointers, and the Data Model for exact fields and schemas.

Before you depend on a release, check the Changelog for migration notes and Known Issues. The Release Validation page lists the checks behind each release.


Getting help and news