Skip to main content

BioConverge

PyPI version Python versions License: MIT

BioConverge is a Python framework for patient-level biological score integration. It measures concordance, finds score archetypes, and adds hypothesis annotations. It also analyzes model fragility when trained models and their inputs are supplied. Analysis states make missing evidence and failed operations visible.

BioConverge supports bioinformatics and computational biology research, including cancer informatics and multi-omics score analysis. It works with scores prepared by the user. Its annotations are exploratory, not empirically validated findings.

Installation

Requires Python 3.10 or newer.

pip install bioconverge

Optional features have separate extras. For example, pip install "bioconverge[topology,report]" adds gradient topology and interactive reports. See installation options.

Quick start

These values are illustrative. They are not research results. The example runs without external requests.

import pandas as pd
import bioconverge as bc

scores = pd.DataFrame({
    "patient_id": ["P1", "P2", "P3", "P4", "P5", "P6"],
    "immune_score": [0.8, 0.7, 0.2, 0.3, 0.6, 0.1],
    "genomic_score": [0.2, 0.4, 0.9, 0.7, 0.5, 0.8],
})
checks = bc.validate(scores, n_archetypes=2, random_state=42)
checks.raise_for_errors()
result = bc.integrate(scores, n_archetypes=2, n_bootstrap=100, random_state=42)
print(result.concordance())
print(result.archetypes())
print(result.statuses())
result.report("bioconverge_report")

Use one row per patient and one numeric column per score. Patient IDs must be unique. Reports need a new or empty directory. See input requirements and working examples.

Four layers

Layer What it does Needed inputs
1. Concordance and archetypes Score correlations, convergence, KMeans clusters, and bootstrap stability Patient scores
2. Model fragility Local model sensitivity and optional gradient topology Trained models and aligned features
3. Hypothesis annotation Process metadata with database evidence Score metadata
4. Validation-aware analysis Survival association and evidence availability Outcomes or other validation inputs

Optional analyses depend on their inputs and dependencies. Missing topology packages do not block core model fragility. Read the layer guide for outputs and limits.

Validation and evidence

validate() checks inputs without running analyses or querying databases. result.statuses() records completed, skipped, failed, and unavailable states. Inspect component reasons as well as layer states.

STRING, Enrichr, and other external resources can fail or return no hits. Unavailable evidence is not negative biological evidence. Database annotation is not empirical validation. Survival association does not validate every annotated process. Tier C means exploratory and unvalidated. BioConverge does not provide Tier A/B promotion, empirical METABRIC replication, or an empirical Lehmann benchmark.

See validation and reproducibility.

Documentation

Citation

Cite the software as Koushik C. BioConverge, version 0.3.0, with the repository URL. Record the version actually used and cite the data resources separately. No journal citation or DOI is specified for this release.

License and support

BioConverge uses the MIT License. Report reproducible problems through the issue tracker.

Metadata

Release files for bioconverge 0.3.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 bioconverge 0.3.0
File Size Uploaded Provenance Actions
bioconverge-0.3.0.tar.gz 60.8 kB Without provenance Details for bioconverge-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 97.0 kB

Release files / bioconverge-0.3.0.tar.gz

Download URL bioconverge-0.3.0.tar.gz
Size 60.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aefe1d80043b15c10dff672ea12097ba93cdcefe56900ac4ecb586e90997668b
BLAKE2b-256 checksum
How to use checksums
0f8a643beef830872557ff856d525b2db84948f29eca4eccd266ca793a1df726
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / bioconverge-0.3.0-py3-none-any.whl

Download URL bioconverge-0.3.0-py3-none-any.whl
Size 36.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c220f41813bab0bbca5092f1418ae71a0c9b3624dd66938a1c2ac24fff66b66a
BLAKE2b-256 checksum
How to use checksums
239fcf746ed3b522e76907c1001b80927545ee51a72e00d125434f4d2a92fdda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for bioconverge 0.3.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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