GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - busdel/avail-cloud-runner: AVAIL-AI · availability-aware ML for incomplete multimodal clinical data · pip install avail-omics · web platform + bring-your-own-compute

BranchesTags
Open more actions menu

Latest commit

 

History

218 Commits
218 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
atlas/schaefer_2018
atlas/schaefer_2018
 
 
avail_ai
avail_ai
 
 
cloud-runner
cloud-runner
 
 
demo
demo
 
 
deploy
deploy
 
 
docs
docs
 
 
render
render
 
 
tools
tools
 
 
BYO_COMPUTE.md
BYO_COMPUTE.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CITATION.cff
CITATION.cff
 
 
DATA_SECURITY.md
DATA_SECURITY.md
 
 
DEPLOY.md
DEPLOY.md
 
 
IMAGING_ADAPTER.md
IMAGING_ADAPTER.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
WORKER.md
WORKER.md
 
 
index.html
index.html
 
 
logo.png
logo.png
 
 
logo_mark.png
logo_mark.png
 
 
render.yaml
render.yaml
 
 
requirements-core.txt
requirements-core.txt
 
 
requirements-full.txt
requirements-full.txt
 
 
run_generic.py
run_generic.py
 
 

Repository files navigation

AVAIL-AI logo

AVAIL-AI

Availability-Aware Multi-Omics Integration & Learning
Every subject with at least one modality contributes to the model — no complete-case discard; all-missing subjects are explicitly reported.

Authors: Busranur Delice · Ahmet Kaplan (corresponding) · Suleyman Yildirim (corresponding)

Research platform · Public demo · PyPI package

PyPI Python MIT license Latest release Downloads


At a glance

Current package avail-omics 1.9.4 on PyPI
Python >=3.9
Public demo fixed de-identified CPU demo; no login/upload
Public demo static demo preview; compute stays local
Docs datasets/methods, package interface, web app
Citation CITATION.cff

What is AVAIL-AI?

A framework for multimodal clinical cohorts with missing modalities. Built for the oral–gut–brain axis in Parkinson's cognitive trajectory (HC vs MCI vs PDD), combining fMRI connectivity, 16S rRNA, shotgun metagenomics (MGS + KEGG functional modules) — and generalizable to any tabular omics layers, with genuine missingness handled as data instead of discarded or fabricated.

Pipeline

  1. Base learners — one Random Forest per modality, leak-free leave-one-out (LOO)
  2. Meta-features — [p_1..p_K, flag_1..flag_K] per subject (probabilities + availability flags)
  3. 11 meta-learners — SimpleMean, WSimpleMean, ElasticNetLR, MLP, MoE, GNN, Transformer, XGBoost, TabNet, TabPFN, TabICL
  4. Strategy benchmark — 14 missing-data strategies (including hybrid) + decision curves, bootstrap CIs, conformal prediction sets, calibration
  5. Biomarker discovery — SHAP importance + differential abundance (Mann–Whitney, BH-FDR)
  6. AI advisor — model decision, biomarker plausibility with real PubMed citations (free NCBI E-utilities, no API key), structured interpretation
  7. Publication figures — PDF plus 600 dpi PNG/TIFF

Why it is different

  • Missingness is data, not noise — availability flags enter the representation; sparse subjects are kept, never imputed away or dropped. Subjects with no modality at all are excluded by the public pipeline and reported; the reference protocol's n=147 sensitivity is 0.663 vs 0.690 at rung 5.
  • Leak-free by construction — fold-internal preprocessing, meta-level leave-one-out, permutation nulls at chance.
  • Benchmarked, not just built — every design choice quantified against 14 missing-data strategies and 11 meta-learners.
  • Role-separated public evidence — MetaCardis (n=1087; reproduction + coverage), AVAIL cohort (n=150; application check), OpenNeuro ds004392 (n=53; imaging-only failure audit), and OpenNeuro ds004856 (n=295 labelled; coverage audit). ds004856 is not a performance claim.
  • Group-aware readouts — every run reports HC / MCI / PDD breakdowns: coverage by group, per-class one-vs-rest AUC, and group profiles of the top differential features (with individual subjects shown).
  • Yours to run — local runner, self-hosted, Docker/Colab, or your own server. Raw data is never sent to AI providers or used for model training; user jobs run on the compute you choose. The local-runner bundle can also act as a worker (python run_me.py --serve) so the web page dispatches jobs straight to your machine, no pip install needed.

Current evidence snapshot (11-model, 2026-11)

These are the current reference results, not universal performance claims. See docs/DATASETS_AND_METHODS.md for definitions.

Comparison Result Reading
MetaCardis paired ΔAUC −0.003 [−0.009, 0.002] no difference
AVAIL application paired ΔAUC +0.014 [−0.107, 0.122] inconclusive
AVAIL HC vs PDD 0.850 all / 0.795 complete dedicated binary contrast
ds004392 3-class 0.386 imaging-only failure audit
ds004392 binary PDD vs rest 0.850–0.900, exploratory 5 PDD cases; not validation

The take-home message is coverage, role-separated validation and honest failure reporting, not a state-of-the-art 3-class leaderboard. The software and reproducible evaluation protocol are the contribution.

Limitations

  • ds004392 has only five PDD cases; binary PDD results are exploratory.
  • ds004856 has zero positive complete cases; it is a coverage audit only.
  • The AVAIL cohort is an application/regression check, not external validation.
  • Factorial-grid evidence is reported for the active cohorts; archived cross-disease analyses are not part of the current scope.

Validation suite and coverage audit

The reference evaluation uses role-separated evidence rather than a leaderboard:

Cohort n What it tests
MetaCardis 1087 (CC 536) natural, informative missingness
AVAIL cohort 150 end-to-end software use; no new biology
OpenNeuro ds004392 53 imaging-only transfer; failure handling
OpenNeuro ds004856 295 labeled complete-case bias only

The ds004856 coverage audit is intentionally not a performance result. Its processed OpenNeuro tables contain 295 amyloid-labeled subjects, but the complete-case intersection (MRI + tau + cognition) has 60 subjects and zero amyloid-positive subjects; all 73 MRI-absent subjects are positive and the 60 tau-available subjects are negative. A single availability indicator reaches AUC 0.82, so complete-case and all-subject AUCs are not interpretable as biological estimates. The cohort is retained only to show that complete-case analysis can be structurally non-estimable; it is not used to claim diagnostic accuracy.

The companion AVAIL cohort (n=150) is an application/regression check: biological interpretation belongs to the application-specific analysis; this repository uses the same verified cohort to exercise the command line, figures, report and R export end to end.

Cloud runner demo

The original cloud-runner landing is preserved as a static demo at cloud-runner/; it links to the public demo, package and deployment documentation.

Public demo

A fixed, de-identified CPU demo is available at demo/. It accepts no account and no uploads; user data stays in the package, local runner, Docker/Colab or a user-owned worker. Screenshots and the privacy model are in docs/WEBAPP.md.

Install the Python package

PyPI: avail-omics (latest: v1.9.5, MIT, Python >=3.9) — pip install avail-omics

Release status: use 1.9.5. Earlier 1.0.x–1.9.2 releases are yanked; 1.9.3 and 1.9.4 remain available as prior stable releases.

pip install avail-omics            # core (CPU is fine)
pip install "avail-omics[deep]"    # + torch, TabNet, TabPFN, TabICL

avail-omics run-generic --data-root mydata --out results
avail-omics robustness  --data-root mydata --out results   # leak-free permutation
avail-omics sensitivity --data-root mydata --out results   # modality ablation
avail-omics figures     --out results
avail-omics report      --out results   # AI advisor report (own LLM key)
avail-omics chat        --out results   # results-grounded Dr. AVAIL agent
avail-omics plot --out results --data-root mydata \
    --type network,roc,availability,umap,volcano,forest   # soft-palette figures

Generic data layout (any omics layers):

mydata/
  metadata.tsv        # SampleID + Group (+ optional Age, Education, Sex)
  features/
    brain.tsv         # rows = samples, first column = SampleID, rest = features
    stool16S.tsv
  compositional.txt   # optional: one modality name per line (log/CLR layers)

Outputs: meta_benchmark_results.tsv, per_class_auc.tsv, loo_predictions.tsv, biomarkers_top20_per_modality.tsv, diff_abundance_*.tsv, publication figures, and the AI advisor report (with PubMed literature).

Library interface

The same package is both a CLI and a Python library. Full interface reference: docs/PACKAGE_INTERFACE.md.

from avail_omics.generic import run_generic_pipeline
from avail_omics import viz

run_generic_pipeline("mydata", "results", classes=["HC", "MCI", "PDD"])
viz.plot_roc_calibration("results")
viz.plot_availability("mydata")

Standard output includes benchmark tables, per-class AUC, LOO predictions, biomarkers/differential abundance, and fig1–fig9 as PDF/PNG/TIFF.

Visualization toolkit (v1.9.5)

Soft-palette, publication-ready figures from the package:

The package API exposes network, roc, availability, umap, volcano, forest, and module-aware network figures; the application-specific examples are kept outside the wheel.

avail-omics plot --out results --data-root mydata \
  --type network,roc,availability,umap,volcano,forest

# module-aware network, SparCC-like correlations, cross-module edges
avail-omics plot --out results --data-root mydata --modality taxa \
  --type network_modules --method sparcc --combined --taxonomy taxonomy.tsv

Figures use the CPAL palette and a publication-style preset (Arial, 7–8 pt, 600 dpi PDF/PNG/TIFF, panel letters). For dense networks, use the clean module_panels (selected-module networks + cross-module heatmap) or module_summary (module sizes, cross-module heatmap, strongest pairs) instead of a hairball; --method sparcc|spearman|pearson selects the correlation.

Also included: UMAP/PCA, volcano and forest plots. Correlations: sparcc (CLR approximation), spearman or pearson. Full gallery:

Module-aware network — automatic community detection, per-module panels or --combined single view with cross-module edges, hub highlighting, taxonomy colouring and a cross_module_edges.tsv export.

R interoperability

avail-omics export-r --out results --data-root mydata \
  --dest r_export --taxonomy taxonomy.tsv

Writes phyloseq-ready otu_table.tsv, sample_data.tsv, tax_table.tsv, feature_table.tsv, result/network tables and an R guide covering phyloseq, vegan, igraph, SpiecEasi, NetCoMi and mixOmics/PMA. No R packages are bundled. Full guide: docs/R_INTEROP.md.

Research platform and own-data analysis

  • Research platform: https://avail-research-platform.pages.dev/ — static introduction; no uploads, no public compute.
  • Canonical project page: https://busdel.github.io/avail-cloud-runner/
  • Own data: install the package, use the local runner, Docker, Colab or your own worker. See BYO_COMPUTE.md (four deployment tiers), DATA_SECURITY.md and WORKER.md.

Imaging is first-class: raw rs-fMRI and T1 volumes are processed end-to-end (Schaefer-100 connectivity + optional radiomics) on your machine — see IMAGING_ADAPTER.md.

LLM advisor

Optional AI automation (model selection, biomarker literature synthesis, results interpretation). Any OpenAI-compatible endpoint works; Gemini is the default and Groq/OpenRouter free tiers are automatic fallbacks on quota or provider outages.

avail-omics set-key            # saves to ~/.config/avail/llm_key (0600)
avail-omics report --out results   # llm_advisor.json + llm_advisor_report.md
avail-omics chat --out results     # results-grounded Dr. AVAIL agent
avail-omics figures --out results
avail-omics advise  --out results

Documentation

File What it covers
DEPLOY.md One-command deployment of the web platform
BYO_COMPUTE.md The four bring-your-own-compute tiers & security model
WORKER.md Attach your own server as a compute worker
IMAGING_ADAPTER.md Raw rs-fMRI / T1 processing protocol
DATA_SECURITY.md Outbound-call inventory, offline mode
CHANGELOG.md Release history
docs/DATASETS_AND_METHODS.md Cohort cards, leakage controls, models, factorial designs, limitations
docs/WEBAPP.md Web app tour, privacy model, screenshots
docs/PACKAGE_INTERFACE.md CLI, Python API, output contract, figure exports

Data & tools

External datasets and methods used by the platform and the demo:

  • OpenNeuro ds004392 — Wylie KP et al., Parkinson's disease, functional connectivity, and cognition (CC0) — DOI 10.18112/openneuro.ds004392.v1.0.2
  • Schaefer atlas — DOI 10.1093/cercor/bhx179
  • Nilearn — DOI 10.3389/fninf.2014.00014 · AFNI — DOI 10.1006/cbmr.1996.0014 · PyRadiomics — DOI 10.1158/0008-5472.CAN-17-0339
  • scikit-learn — JMLR 2011 · SHAP — arXiv:1705.07874 · PubMed E-utilities — NCBI documentation

Repository layout

avail_ai/avail_ai/      # the avail-omics Python package
run_generic.py          # generic multi-omics pipeline entry point
BYO_COMPUTE.md          # bring-your-own-compute tiers & security guide
.github/workflows/run.yml   # free-cloud compute backend (GitHub Actions)

Citation

If you use AVAIL-AI in academic work, please cite it — machine-readable metadata is in CITATION.cff:

@software{delice2026avail,
  title   = {AVAIL Research Platform: availability-aware multimodal analytics for incomplete clinical cohorts},
  author  = {Delice, Busranur and Kaplan, Ahmet and Yildirim, Suleyman},
  version = {1.9.4},
  year    = {2026},
  url     = {https://avail-research-platform.pages.dev/}
}

Citation metadata will be updated when a DOI is assigned.

Authors

  • Busranur Delice
  • Ahmet Kaplan — corresponding author
  • Suleyman Yildirim — corresponding author

License

MIT — see LICENSE.

About

AVAIL-AI · availability-aware ML for incomplete multimodal clinical data · pip install avail-omics · web platform + bring-your-own-compute

busdel.github.io/avail-cloud-runner/

Topics

bioinformaticsclinical-researchmachine-learningmicrobiomemissing-datamissing-modalitymultimodalneuroimagingpythonreproducible-research

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.