Skip to main content

A Python toolkit for auditable harmonization, liftover, intersection, and projection of genetic variant tables and payloads.

Project description

Variant Table Toolkit

This toolkit harmonizes genetic variant data across common research formats and reference assemblies. It supports GRCh37, GRCh38, and T2T-CHM13v2.0, chromosomes 1-22, X, Y, and MT, common contig naming modes (ncbi, ucsc, plink), and biallelic variants, including SNPs and supported indels.

The common workflow rewrites chr / bp / a1 / a2 / snp fields in BFILE, PFILE, VCF, or summary-statistics inputs into a standardized variant key while adjusting the attached data, such as genotypes or summary-statistic columns, accordingly. Users request the target build, contig naming, and optional filtering or normalization flags; the pipeline handles build guessing in the source data, liftover between builds (if needed), allele swaps, reference-anchored allele ordering, sorting, and duplicate removal. The workflow is split into preparation and projection phases, so users can save and reuse a prepared variant set, or project only a user-defined subset of source variants.

Start here

  1. Install the runtime using one of the supported paths in docs/install.md.
  2. Download the reference FASTA/chain assets and configure config.yaml as described in docs/downloads.md.
  3. Run through the worked example in docs/tutorial-1.md.

Documentation

Specifications

For exact schema and edge-case rules, see SPEC.md and the detailed specs in spec/. Wrapper behavior for prepare_variants.py, prepare_variants_sharded.py, and project_payload.py is defined in spec/workflow.md. Payload-application semantics are defined in spec/payload-application.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genomatch-0.4.2.tar.gz (148.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genomatch-0.4.2-py3-none-any.whl (130.3 kB view details)

Uploaded Python 3

File details

Details for the file genomatch-0.4.2.tar.gz.

File metadata

  • Download URL: genomatch-0.4.2.tar.gz
  • Upload date:
  • Size: 148.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for genomatch-0.4.2.tar.gz
Algorithm Hash digest
SHA256 1f79a6a66462a0f6691b6a1fe33e379f6cb7c50c216605da2169dc2648ee1d5f
MD5 053a8c6b846876ca71f17657aa1cb764
BLAKE2b-256 d6f03c25313e462a36f0a323b1b1835e5aaf2da58b9843c6c9bdcb19dfd7758b

See more details on using hashes here.

Provenance

The following attestation bundles were made for genomatch-0.4.2.tar.gz:

Publisher: release.yaml on precimed/genomatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file genomatch-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: genomatch-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 130.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for genomatch-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b229cb2c5913ec6bea8ea615cd27ea07786a5e94157474121c26626f5568a1f
MD5 95fb31dcb46066e2b6a98562f0143ccf
BLAKE2b-256 2fa80301de91eb0841d40d8fb283d06292b53d5a7d43c8a376a409b4f99e3eac

See more details on using hashes here.

Provenance

The following attestation bundles were made for genomatch-0.4.2-py3-none-any.whl:

Publisher: release.yaml on precimed/genomatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page