Skip to main content

Full Likelihood Bayes factor computation for hereditary cosegregation analysis

Project description

HerediCalc v4

Full Likelihood Bayes (FLB) factor computation for Bayesian cosegregation analysis.

HerediCalc quantifies whether a genetic entity co-segregates with a heritable phenotype in a pedigree beyond what is expected by chance. The resulting FLB factor supports pathogenicity classification of genetic variants (FLB > 10: strong evidence of pathogenicity).

Requirements

  • Python ≥ 3.12
  • R ≥ 4.2 with packages: segregatr, kinship2

Quick Install

pip install heredicalc

For R dependency setup, see the documentation.

Quick Start

# Generate a config file interactively
heredicalc add config

# Run FLB computation
heredicalc run Belman.ped --config heredicalc.yml

# Batch computation over a directory of pedigrees
heredicalc batch pedigrees/ --config heredicalc.yml

Example heredicalc.yml:

computation:
  genetic_entity: BRCA1
  allele_freq: 0.0001

plugins:
  incidence_source: ci5_ix
  phenotype_model: hbopc
  trait_mapper: ci5_ix_hbopc
  penetrance_model: victor
  flb_calculator: segregatr
  params:
    population: Latvia
    age_bands: [30, 40, 50, 60, 65, 70, 80]

Documentation

Full documentation: https://heredicalc.github.io/heredicalc

Contributing

See CONTRIBUTING.md.

License

MIT

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

heredicalc-4.1.0.tar.gz (67.4 MB view details)

Uploaded Source

Built Distribution

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

heredicalc-4.1.0-py3-none-any.whl (69.0 MB view details)

Uploaded Python 3

File details

Details for the file heredicalc-4.1.0.tar.gz.

File metadata

  • Download URL: heredicalc-4.1.0.tar.gz
  • Upload date:
  • Size: 67.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for heredicalc-4.1.0.tar.gz
Algorithm Hash digest
SHA256 a24fc22c15485bfbac54fbf0d4442b71fbfeeb2c9827c22a01f4c14d9e769dcc
MD5 453175347be60c7c3f507fb910e83323
BLAKE2b-256 053d3a294f3a045dfa6780bad591671b8da1c36aa6219b74e5bcb5bbf99eb108

See more details on using hashes here.

Provenance

The following attestation bundles were made for heredicalc-4.1.0.tar.gz:

Publisher: release.yml on leckermatz79/heredicalc-v4

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

File details

Details for the file heredicalc-4.1.0-py3-none-any.whl.

File metadata

  • Download URL: heredicalc-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 69.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for heredicalc-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11c7d47778c60a8926a7fd0dab861d6730410d6d5ca08446446c6a8961076b77
MD5 7a1aab2992f7a8b7819eea942bad0514
BLAKE2b-256 9f555f4ed4dc53586fb3b67fb314e1f4b066526236e79a7dc893fbc46e42fe9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for heredicalc-4.1.0-py3-none-any.whl:

Publisher: release.yml on leckermatz79/heredicalc-v4

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