Skip to main content

MERGE variant pathogenicity prediction CLI with precomputed VCF cache and local/remote model integrations

Project description

merge-cli 3.7

MERGE variant pathogenicity prediction CLI.

Highlights

  • Remote and local prediction modes.
  • Local precomputed VCF cache lookup for hg38/hg19 coding and splicing variants.
  • Local/remote model switches for AlphaGenome, HyenaDNA, NT, Evo2, Enformer, GENERATOR, GENERATOR-v2, and NT-v2.
  • Bundled MERGE ensemble model files.

Quick Start

pip install merge-cli
merge --help
merge predict --chrom chr1 --pos 69428 --ref T --alt G --genome hg38

Precomputed VCF Cache

merge precomputed configure --data-dir /path/to/precomputed
merge precomputed status
merge precomputed download --genome all --variant-type all

Expected files include coding_merged.vcf.gz, splicing_merged.vcf.gz, their hg19 counterparts, and .tbi indices.

GENERATOR / GENERATOR-v2 / NT-v2

These models use one external service by default at http://127.0.0.1:18004.

merge generator-ntv2 configure --url http://127.0.0.1:18004
merge generator-ntv2 status
merge predict --chrom chr1 --pos 69428 --ref T --alt G --generator --generator-v2 --nt-v2

Local mode uses the same service URL:

merge predict --local --chrom chr1 --pos 69428 --ref T --alt G --ensemble-type coding --generator --generator-v2 --nt-v2

Service contract:

  • GET /health
  • POST /predict with chrom, pos, ref, alt, genome_version, models
  • POST /batch_predict with variants, models

Model keys: generator, generator_v2, nt_v2.

Enformer

merge enformer configure --url http://localhost:5004
merge enformer status

If local services are unavailable, errors are reported under prediction.errors and the CLI continues returning available results.

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

merge_cli-3.7.tar.gz (680.3 kB view details)

Uploaded Source

Built Distribution

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

merge_cli-3.7-py3-none-any.whl (701.2 kB view details)

Uploaded Python 3

File details

Details for the file merge_cli-3.7.tar.gz.

File metadata

  • Download URL: merge_cli-3.7.tar.gz
  • Upload date:
  • Size: 680.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for merge_cli-3.7.tar.gz
Algorithm Hash digest
SHA256 420862eb152de69f703ddc824d36f6351ae40e7742a58a4717297b49abb5d380
MD5 2292117cd6088ef41cd76003431b4fa0
BLAKE2b-256 e06f3c0bc18d2f3c906ad50c31a349bad3ae2c57979209fd3308b31bdbb9d90c

See more details on using hashes here.

File details

Details for the file merge_cli-3.7-py3-none-any.whl.

File metadata

  • Download URL: merge_cli-3.7-py3-none-any.whl
  • Upload date:
  • Size: 701.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for merge_cli-3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8ee419cf9a4963592531e0e2b138b63e89e5a39d0fbf2249901d4716b3f3d5db
MD5 646c4f45406a3a617a2cf3e6a3fad02a
BLAKE2b-256 29c7db8bb66bd59fe0c0673e08a59a5c0047d1e1f2700f23608a43e2bf8c25c1

See more details on using hashes here.

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