Skip to main content

omicau

omicau is a local-first command-line tool for leakage-aware multi-omics data auditing and fusion benchmarking. It aligns molecular layers, checks missingness and batch structure, evaluates classical and neural fusion under group-aware cross-validation, records value-level provenance, and produces a self-contained HTML report with machine-readable outputs.

Research use only. Predictive performance does not establish clinical utility or causal biology.

Main capabilities

  • CSV and TSV ingestion with orientation detection and cross-file sample alignment.
  • Group-aware cross-validation for repeated measures and related samples.
  • Missingness-bias, batch-confounding, and group-structure diagnostics.
  • Classical single-modality and fusion models plus availability-aware gated residual neural fusion.
  • Fold-local preprocessing, fixed random seeds, and provenance hashes.
  • Modality utility, redundancy, permutation importance, and negative controls.
  • Self-contained HTML, JSON, CSV, runtime log, and model-card outputs.
  • Optional local web interface and public-data connectors.

Neural fusion

By default, neural benchmarks use availability-aware gated residual fusion with 8-dimensional modality embeddings. Variance ranking retains at most 256 features per modality within training data only. Each outer fold uses an inner training split to select the epoch, then fits a fresh model for that epoch on all outer-training rows before assessment. Set "neural": {"architecture": "legacy"} to use the previous masked global-pooling topology, or set max_features_per_modality to null to disable the feature cap.

Installation

Python 3.10 or later is required.

python -m pip install omicau

Install optional features only when needed:

python -m pip install "omicau[ui]"       # local browser interface
python -m pip install "omicau[data]"     # public-data connectors
python -m pip install "omicau[dev]"      # tests and coverage

From a source checkout:

python -m pip install .

Quick start

omicau check-env
omicau bootstrap --dataset mock --out-dir demo
omicau run --config demo/config.json --cores 8
omicau verify --config demo/config.json --audit demo/run/audit.json

Open demo/run/report.html after the run.

Input layout

Provide one numeric matrix per modality and one clinical table. Matrices may use samples as rows or columns. Missing values should remain missing; learned preprocessing is fitted inside training folds.

study/
  rna.csv
  protein.csv
  clinical.csv
  config.json

Minimal configuration:

{
  "run_name": "my_study",
  "output_dir": "run",
  "seed": 42,
  "modalities": [
    {"name": "rna", "path": "rna.csv"},
    {"name": "protein", "path": "protein.csv"}
  ],
  "clinical": {
    "path": "clinical.csv",
    "sample_id": "sample_id",
    "target": "outcome",
    "group": "patient_id",
    "batch": "batch",
    "task": "classification"
  },
  "cv": {"n_splits": 5, "n_bootstrap": 1000},
  "compute": {"cores": 8, "device": "auto"}
}

Set clinical.group to the outermost independent unit. All rows from the same group remain on one side of each cross-validation split.

Commands

Command Purpose
omicau check-env Report compute and optional-dependency availability.
omicau bootstrap Create a mock dataset or retrieve a supported public cohort.
omicau run Run the audit and write the report assets.
omicau verify Recompute data provenance and verify a stored audit.
omicau ui Start the optional local browser interface.

Use omicau <command> --help for the complete option list.

Outputs

File Content
report.html Self-contained interactive report.
audit.json Configuration, diagnostics, metrics, provenance, and environment record.
model_metrics.csv Per-model metrics and confidence intervals.
modality_ledger.csv Standalone scores, marginal gains, redundancy, and verdicts.
missingness_tests.csv Missingness-bias tests and adjusted p-values.
MODEL_CARD.md Intended use, data, methods, metrics, and limitations.
runtime_log.txt Stage-level wall time and normalized compute information.

Methodological safeguards

Imputation, scaling, variance filtering, feature selection, batch adjustment, calibration, thresholds, and stacking features are fitted inside training data only. Model assessment uses shared group-aware folds. Null controls, target shuffling, and negative-control modalities are retained as controls rather than presented as recommended analyses. Failed methods and incomplete runs are reported instead of silently removed.

Run identities include aligned-value SHA-256 provenance, configuration, relevant dependency versions, and implementation checks.

Development

python -m pip install "omicau[dev]"
python -m pytest

Documentation: tunabirgun.github.io/omicau

License: MIT

Article

The companion research article is a work in progress. Results and claims will be added only after the registered benchmark and independent validation gates are complete.

Metadata

Release files for omicau 0.4.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 omicau 0.4.0
File Size Uploaded
omicau-0.4.0.tar.gz 517.4 kB Details

Built distribution (wheel)

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

Total release size: 988.6 kB

Release files / omicau-0.4.0.tar.gz

Download URL omicau-0.4.0.tar.gz
Size 517.4 kB
Tags Source
SHA-256 checksum
How to use checksums
70f5d713edb060e4a12bbc00e2323fb28342f27326c9d3aae851b0268bca9975
BLAKE2b-256 checksum
How to use checksums
ef8373a35198056876524da324f23aefc1e57ca4e8a6b33d3df0239615e91439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release files / omicau-0.4.0-py3-none-any.whl

Download URL omicau-0.4.0-py3-none-any.whl
Size 471.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2db8bda45b4b41d39c83a52b1af7232ff5018fc908c7ad0b5993636643f99fd5
BLAKE2b-256 checksum
How to use checksums
a3af9b6e91aa4c778d4484e51d126721ce92a21939b72645641358355a521832
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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