Skip to main content

No project description provided

Project description

bioconverge

Multi-layer biological score integration and hypothesis validation tool for cancer research.

What it does

bioconverge takes multiple biological scores per patient (transcriptomic, genomic, imaging, clinical) and runs them through four layers:

  • Layer 1 — finds which scores agree and which conflict per patient, assigns convergence strata and discordance archetypes
  • Layer 2 — computes per-patient biological fragility using model gradient perturbation
  • Layer 3 — generates ranked hypotheses for each archetype by querying Reactome, Enrichr, STRING, GWAS Catalog, and PubMed
  • Layer 4 — validates each hypothesis across four independent sources (survival, replication cohort, known-biology benchmark, literature) and assigns Tier A / B / C confidence

Install

pip install bioconverge

Quick start

import bioconverge as bc

result = bc.integrate(
    scores="my_scores.csv",
    patient_col="patient_id",
    score_metadata={
        "immune_score": {"process": "T-cell exhaustion", "modality": "transcriptomic", "genes": ["CD8A", "CD8B", "GZMA", "PRF1"]},
        "genomic_score": {"process": "DNA repair instability", "modality": "genomic", "genes": ["BRCA1", "BRCA2", "ATM"]}
    },
    outcome="survival.csv",
    time_col="OS_days",
    event_col="OS_event"
)

result.concordance()
result.hypotheses()
result.report("output/")

TNBC demonstration

The full demonstration on 116 TCGA-BRCA triple-negative breast cancer patients is in notebooks/01_TNBC_demo.ipynb.

Datasets required:

Dataset Source
TCGA-BRCA clinical https://portal.gdc.cancer.gov/projects/TCGA-BRCA
TCGA-BRCA mutations http://gdac.broadinstitute.org
TCGA-BRCA RNA-seq http://gdac.broadinstitute.org
METABRIC clinical https://www.cbioportal.org/study/summary?id=brca_metabric
Lehmann subtypes https://www.cbioportal.org/study/summary?id=brca_tcga
MSigDB Hallmark https://www.gsea-msigdb.org/gsea/msigdb

Output

Running result.report("output/") produces:

  • summary.html — interactive concordance matrix and patient strata
  • per_patient_scores.csv — convergence index, archetype, fragility per patient
  • hypotheses_ranked.csv — full hypothesis table with Tier A/B/C labels
  • reproducibility_log.txt — all API queries with timestamps
  • kaplan_meier/ — survival plots per archetype
  • fragility_topology.png — UMAP of patient fragility clusters

Confidence tiers

Tier Meaning Validation sources passed
A finding 3 or 4
B supported hypothesis 2
C exploratory 0 or 1

Requirements

numpy, pandas, scipy, scikit-learn, matplotlib, seaborn,
lifelines, umap-learn, hdbscan, requests, plotly, torch,
tensorflow, jupyter

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

bioconverge-0.1.1.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

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

bioconverge-0.1.1-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file bioconverge-0.1.1.tar.gz.

File metadata

  • Download URL: bioconverge-0.1.1.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for bioconverge-0.1.1.tar.gz
Algorithm Hash digest
SHA256 539d53e376303a1e8697f45a87dd7931eafa8cf8a12da5b43db5ead7a0639497
MD5 374b821eddc593b0edd5c0d612f67360
BLAKE2b-256 2aaa1e8232a4c10b5f754e603b3c887b33a3fd25433dbf97fb31a2c6d0b579df

See more details on using hashes here.

File details

Details for the file bioconverge-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bioconverge-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for bioconverge-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8228f3d9d802129252cf29bf5cb1e15f08a8133dc5f484ba62e430714e2493d
MD5 7838c8c3c8640a0a09d43b7956e7bf84
BLAKE2b-256 c882f19ea7c02180f97b40b1b603429574b808741e98d81d2e88b0c2a4ae60af

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