Skip to main content

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

Metadata

Release files for heredicalc 4.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for heredicalc 4.1.0
File Size Uploaded Provenance Actions
heredicalc-4.1.0.tar.gz 67.4 MB With provenance Details for heredicalc-4.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for heredicalc 4.1.0
File Interpreter ABI Platform Actions
heredicalc-4.1.0-py3-none-any.whl Python 3 none any Details for heredicalc-4.1.0-py3-none-any.whl

Total release size: 136.4 MB

Release files / heredicalc-4.1.0.tar.gz

Download URL heredicalc-4.1.0.tar.gz
Size 67.4 MB
Tags Source
SHA-256 checksum
How to use checksums
a24fc22c15485bfbac54fbf0d4442b71fbfeeb2c9827c22a01f4c14d9e769dcc
BLAKE2b-256 checksum
How to use checksums
053d3a294f3a045dfa6780bad591671b8da1c36aa6219b74e5bcb5bbf99eb108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

Release files / heredicalc-4.1.0-py3-none-any.whl

Download URL heredicalc-4.1.0-py3-none-any.whl
Size 69.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
11c7d47778c60a8926a7fd0dab861d6730410d6d5ca08446446c6a8961076b77
BLAKE2b-256 checksum
How to use checksums
9f555f4ed4dc53586fb3b67fb314e1f4b066526236e79a7dc893fbc46e42fe9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

Security for heredicalc 4.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for heredicalc-4.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page