Skip to main content

Configuration-driven framework for reproducible variant calling

Project description

CBIcall

CNAG Biomedical Informatics framework for variant calling

Build PyPI Coverage Status Docker Build Docker Image Size Docker Pulls Documentation Status License


CBIcall (CNAG Biomedical Informatics framework for variant calling) is a configuration-driven framework for reproducible variant calling in large sequencing cohorts. It validates analysis intent, resolves approved workflow backends and resource definitions, and records structured run reports for auditable production runs and run-to-run comparison.

Documentation: https://cnag-biomedical-informatics.github.io/cbicall/

CBIcall orchestrates germline variant calling workflows for Illumina sequencing data. It does not implement variant calling algorithms itself. Instead, it validates parameters, resolves workflows from a versioned registry, checks resource compatibility, launches native CBIcall workflows through Bash, Snakemake, Nextflow, or Cromwell backends, and captures audit artifacts for traceability. Selected external nf-core workflows can also run through the same validation and provenance layer.

CBIcall uses a three-part execution contract:

Contract layer Purpose
Parameters YAML User analysis intent: inputs, pipeline, mode, genome, backend, and runtime options.
Workflow registry Approved workflow implementations and backend-specific entrypoints.
Resource catalog External references, tool/resource bundles, compatibility rules, and resource identity.

Key points:

  • Configuration-driven execution from a YAML parameter file
  • Native CBIcall workflow support through Bash, Snakemake, Nextflow, and Cromwell backends
  • Support for WES, WGS, and mtDNA analysis modes
  • Registry-backed support for selected external nf-core/Nextflow workflows
  • Structured audit artifacts: log.json, run-report.json, optional run-report.html, workflow fingerprints, resource identity, output inventories, and normalized VCF hashes
  • Programmatic run comparison with cbicall compare-runs
  • Optional partial workflow starts for supported backends

Workflow sources:

Source Role
Native CBIcall workflows Packaged WES/WGS/mtDNA pipelines with CBIcall validation, logging, and output structure.
External nf-core workflows Selected registry-backed Nextflow workflows executed with CBIcall validation and provenance.

Installation

Install the core command from PyPI:

python3 -m pip install cbicall

For development or all optional Python integrations:

python3 -m pip install -e ".[all,test]"  # source checkout
python3 -m pip install "cbicall[all]"    # released package

Native workflows also require the separately distributed resource bundle. See the documentation for Python, Docker, Apptainer, cloud, and HPC installation instructions.

Point all native backends to an installed bundle with:

export CBICALL_DATA=/absolute/path/to/cbicall-data
cbicall doctor

Quick Start

Generate a self-contained tour of the WES audit report and interactive mtDNA browser without installing the external resource bundle:

cbicall demo

This uses precomputed outputs from the packaged integration fixture. It does not execute BWA, GATK, or MToolBox. For a real analysis, use a parameters YAML:

cbicall run -p params.yaml -t 8

Runnable examples and sample inputs are available under examples/.

Citation

CBIcall: a configuration-driven framework for variant calling in large sequencing cohorts. Preprint DOI.

Author

Written by Manuel Rueda (mrueda). GitHub repository: https://github.com/CNAG-Biomedical-Informatics/cbicall.

Copyright and license

Please see the GPLv3 license for distribution and usage terms.

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

cbicall-1.1.0.tar.gz (7.8 MB view details)

Uploaded Source

Built Distribution

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

cbicall-1.1.0-py3-none-any.whl (7.8 MB view details)

Uploaded Python 3

File details

Details for the file cbicall-1.1.0.tar.gz.

File metadata

  • Download URL: cbicall-1.1.0.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cbicall-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f0f6cf1f57cb78defa3f598ab88fef5f764e819ddf40bd1ab0e9a7093abacb1c
MD5 77bff6cd9e775fc9651f9663884b2728
BLAKE2b-256 cf709587e48760e39596b186525e9f18db3bc7ad999606961b8fbe89e6ed3177

See more details on using hashes here.

Provenance

The following attestation bundles were made for cbicall-1.1.0.tar.gz:

Publisher: publish-pypi.yml on CNAG-Biomedical-Informatics/cbicall

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

File details

Details for the file cbicall-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: cbicall-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cbicall-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f2e86915b70c935cf1a6d596ab0e85989ba50f1383d3bf8fcc2356f3b64c340
MD5 e96acbc5c84590aaa3020ca7fed3e261
BLAKE2b-256 fdda89cfec094b4d389ec6edfd72e2258d286aa76d581d9e91e765faf6cb75b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cbicall-1.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on CNAG-Biomedical-Informatics/cbicall

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