Skip to content

Weekly Full Bundles

Links: Monthly Full Bundles · Weekly Deltas · Parquet Files · How Releases Work

Older release lines (1.1.x, 1.0.1) are on Previous Releases.

A weekly full bundle is published for every ClinVar weekly release. It has the same content and structure as a monthly full, built from that week's release, so the newest one is the current state with no replay. The weekly fulls live in v1/1.2/weekly/, the counterpart of NCBI's xml/weekly_release/; weekly/clinvar-gkm_00-latest_weekly.json.gz is a stable URL for the newest one (Directory Structure).

Weekly fulls are kept for the current month only

A month's weekly fulls are deleted after the month ends, as NCBI deletes its weekly releases (Month and Year Rollover gives the timing). Every past week can be rebuilt exactly from a monthly plus deltas (Rebuild a past week). Don't hard-code a dated weekly URL in a script that runs after the month ends.

Prerequisites

  • curl, and sha256sum (Linux, recent macOS) or shasum -a 256 (any macOS) to check the download.
  • Disk. A weekly full is about 4.9 GB compressed and 68.5 GB decompressed. Read it streamed (gunzip -c) rather than decompressing it to disk; see Count records in a full bundle.
Download a weekly full with curl
# Newest weekly full (stable URL)
curl -fO https://data.clinvar-gkm.org/v1/1.2/weekly/clinvar-gkm_00-latest_weekly.json.gz

# Or a dated weekly full, with its checksum. index.json lists the current month's weekly fulls
# (they are deleted when the month ends); this takes the newest, or pick one by its "release" date.
W=$(curl -fsS https://data.clinvar-gkm.org/v1/1.2/index.json | python3 -c '
import json, sys
weekly = [w for w in json.load(sys.stdin)["datasets"]["weekly"] if not w["latest"]]
print(max(weekly, key=lambda w: w["release"])["path"])')
curl -fO "https://data.clinvar-gkm.org/${W}"
curl -fO "https://data.clinvar-gkm.org/${W}.sha256"
sha256sum -c "$(basename "${W}").sha256"      # macOS: shasum -a 256 -c

Monthly, weekly full, or monthly plus deltas?

Choose Your Data compares them. To keep a local copy current from a monthly plus the weekly deltas, use files from one line; when a new line starts, start again from its first monthly (Consumer Replay Model).