Docs · BioCost
BioCost docs for run analysis and reporting
Use this lane when the problem is deterministic cost reporting: ingesting pipeline outputs, scoring runs, and packaging proof-ready summaries.
Cost analysisNextflowDeterministic reportsProof-ready
Viewing
BioCost quickstart
Need another page?
Search the docs
Jump to buyers, verification, demos, self-hosting, or adapters without opening the full docs tree first.
Key sections
Mobile navigationJump to sectionOpen
Mobile navigation
Jump to section
BioCost is an in silico optimization and verification workflow for Nextflow artifact sets. This page gets you from install to deterministic outputs quickly.
Prerequisites
- Python 3.12+
- Local BioCost checkout at
~/BioCost(or adjust commands to your path)
Install
BashRunnable example
cd ~/BioCost
python3 -m venv .venv
. .venv/bin/activate
python -m pip install -e '.[dev]'Deterministic demo check
BashRunnable example
cd ~/BioCost
. .venv/bin/activate
./demo/run_demo.sh --checkThis verifies the deterministic demo path and writes reproducible run artifacts.
Analyze a Nextflow artifact set
BashRunnable example
cd ~/BioCost
. .venv/bin/activate
RUN_DIR="$(.venv/bin/costopt ingest /path/to/nextflow/artifacts /tmp/costopt-runs)"
.venv/bin/costopt analyze "$RUN_DIR"
.venv/bin/costopt report "$RUN_DIR"
.venv/bin/costopt patch_nextflow "$RUN_DIR" /path/to/nextflow.config
.venv/bin/costopt verify "$RUN_DIR"
echo "$RUN_DIR"Optional explicit trace selection (when
raw/ has multiple trace candidates):BashRunnable example
.venv/bin/costopt analyze "$RUN_DIR" --trace traces/trace.txt--trace must be a relative path under raw/.Expected outputs
After the run,
RUN_DIR should contain:report.htmlrun_summary.jsonrecommendations.jsonnextflow_config_patch.txtreceipt.json
Validation checklist
costopt verifypasses on the generated run directoryrun_summary.jsonandreceipt.jsonexist and are parseable JSONrun_summary.json.trace_pathpoints to the selected trace path underraw/nextflow_config_patch.txtis generated when a patch is requested