Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.9.5 instead.
Reason given by maintainers: Superseded; use 1.9.4

AVAIL-omics

Availability-aware multimodal integration for clinical cohorts with missing modalities.

Real multimodal cohorts are incomplete: an fMRI is missing here, a shotgun metagenome there. Complete-case analysis discards subjects; AVAIL-omics drops nobody. Every modality trains its own base learner on all available subjects, a fixed-length meta-feature vector (base probabilities + availability flags) is assembled per subject, and a meta-learner makes the joint decision.

Install

pip install avail-omics           # core: CPU-only, no CUDA needed
pip install "avail-omics[deep]"   # + neural (MLP/MoE/GNN/Transformer) and
                                  #   deep-tabular (TabNet/TabPFN/TabICL) meta-learners
pip install "avail-omics[full]"   # + SHAP-based biomarker interpretation

Quick start (any tabular multimodal dataset)

from avail_omics.generic import run_generic_pipeline

res = run_generic_pipeline(
    data_root="mydata",      # metadata.tsv (SampleID, Group) + features/*.tsv
    out_dir="results",       # one .tsv per modality -> 11 meta-learners, LOO
)

Data layout (one file per modality, rows = samples):

mydata/
  metadata.tsv          # SampleID + Group (+ optional Age, Education, Sex)
  features/
    brain.tsv
    stool16S.tsv
    ...

Or use the CLI:

avail-omics run --data-root mydata --out results
avail-omics robustness --data-root mydata --out robustness \
    --permutations 25 --jobs 4          # full-pipeline label-permutation test
avail-omics sensitivity --data-root mydata --out sensitivity

Soft-palette visualization toolkit

avail-omics plot --out results --data-root mydata \
    --type network,roc,availability
  • network — top-biomarker Spearman network (needs data_root for feature values; otherwise a modality–feature bipartite graph).
  • roc — one-vs-rest ROC and reliability/calibration curves from loo_predictions.tsv.
  • availability — subject × modality availability heatmap, group coverage and top availability patterns from metadata.tsv + features/*.tsv.

Outputs are PDF + 400 dpi PNG in results/viz/ by default, using a muted, colour-vision-friendly palette. Missing inputs are reported explicitly.

AI advisor report and results agent (bring your own key)

The package ships the same LLM layer used by the web interface. Keys are never bundled; each user supplies their own:

avail-omics set-key                 # or export AVAIL_LLM_API_KEY=...
avail-omics report --out results    # llm_advisor.json + llm_advisor_report.md
avail-omics chat --out results      # results-grounded Dr. AVAIL agent
avail-omics agent --out results     # alias for chat

Without a key the core pipeline runs normally; the AI sections are skipped. Only derived summaries/prompts are sent to the model provider; raw data stay on the user's machine. Built-in providers: DeepSeek, OpenAI, Groq, Gemini, OpenRouter (OpenAI-compatible endpoints).

What is included

  • Leak-free protocol: preprocessing, feature selection, imputation and hyperparameters are computed strictly inside each cross-validation fold.
  • 14 missing-data strategies + hybrid: complete-case, zero/mean/median/KNN/ MICE/MissForest/SoftImpute imputation, availability-flag encoding, and the hybrid (fold-internal imputation + true availability flags).
  • 11 meta-learners: SimpleMean, WSimpleMean, ElasticNetLR, MLP, MoE, GNN, Transformer, XGBoost, TabNet, TabPFN, TabICL.
  • Robustness toolkit: synthetic dropout, MCAR/MAR/MNAR simulation, label-permutation test, modality sensitivity/ablation, bootstrap CIs, conformal prediction sets, calibration (isotonic) with Brier reporting, integrity audit.

Evidence summary (primary cohort, n=150 oral-gut-brain)

  • HC vs PDD binary AUC 0.978 (MLP, leave-one-out)
  • Severity continuum: Spearman ρ = 0.633 vs clinical stage; risk score tracks MMSE (ρ = -0.47) and CDRS (ρ = 0.63) — scores never used in training
  • Label-permutation test of the full pipeline: permuted macro-AUC ≈ 0.50 (p = 0.039), ruling out leakage as the source of the separation
  • Sustains prediction where complete-case collapses (25-55% dropout)
  • External validation on public cohorts: Wallen 2022 PD shotgun (AUC 0.642), HMP2 IBD multi-omics with genuine per-sample missingness (macro-AUC 0.771), preclinical AD (0.542), label-free reconstruction (Vascellari 2020)

Web platform

A self-hostable web interface accompanies this package. The public reviewer site is demo-only; own-data analysis runs locally/on the user's worker. See the project repository.

Citing

Manuscript in preparation. Until the paper is out, please cite the repository and package: avail-omics v1.0.19.

License

MIT

Metadata

Release files for avail-omics 1.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 avail-omics 1.1.0
File Size Uploaded Provenance Actions
avail_omics-1.1.0.tar.gz 139.1 kB Without provenance Details for avail_omics-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for avail-omics 1.1.0
File Interpreter ABI Platform Actions
avail_omics-1.1.0-py3-none-any.whl Python 3 none any Details for avail_omics-1.1.0-py3-none-any.whl

Total release size: 294.2 kB

Release files / avail_omics-1.1.0.tar.gz

Download URL avail_omics-1.1.0.tar.gz
Size 139.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d8deb00833c4bba6067e0bd1d0367f966a682895aa8340217ea5f053deb8f3d9
BLAKE2b-256 checksum
How to use checksums
448cfbce38a0afe41f3ad914f7d8adb7c657c533460b7cf4fe7d59fe4272e2ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.7

Release files / avail_omics-1.1.0-py3-none-any.whl

Download URL avail_omics-1.1.0-py3-none-any.whl
Size 155.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c99a03720543977e1fc0526a49725cb5e4f4bcbdfc072dfe00f68c5b5378ac83
BLAKE2b-256 checksum
How to use checksums
df8fab93f6185b9637fc8c3a79e964d069f0e53ea145981f0f8c717dace45b2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.7

Security for avail-omics 1.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.

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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No 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