Reproducible pipeline that regenerates every figure and table for the OmniPath Metabo manuscript — main text and supplementary — from a pinned OmniPath Postgres snapshot.
The repository is structured as an R package (metabo.figures) with
adjacent figure/table workspace directories, Python helpers under
python/, LaTeX composite-assembly + caption sources under tex/,
manual vendored assets under inst/extdata/manual/ (including the
Figure 1 Panel A architecture PDF/SVG authored in Inkscape), and a
single top-level rebuild entrypoint.
ssh -p 2323 omnipath@omnipathdb.org # development happens on beauty
cd ~/dev/metabo-usecases
./rebuild.sh --dry-run # print the work plan
./rebuild.sh --png --bundle --check # full rebuild with checks
tail -f logs/latest.log # follow the unified pipeline logSee the full quickstart and contracts in the saezverse spec:
- Spec:
saezverse/ai/specifications/omnipath-metabo-figures/specs/001-figures-pipeline/spec.md - Plan:
…/plan.md - Quickstart:
…/quickstart.md - Contracts:
…/contracts/
- Figure 1 — workflow-architecture diagram (manual Inkscape asset,
vendored under
inst/extdata/manual/architecture/) + quantitative database-content panels - Figure 2 — webapp screenshots (manual asset)
- Figure 3 — MetalinksDB v1 vs v2 comparison
- Figure 4 — old vs new COSMOS PKN comparison + included schematic graphics
- Figure 5 — lung-cancer use case (refactored from
omnipath_metabo_case1) - Tables — ID resolving (Methods), RaMP comparison (Methods), supplementary tables
- Optional manuscript bundle: a single PDF concatenating every artifact in submission order
- R code style: follows
human/guidelines/r-coding-style.mdin the saezverse repository (roxygen2 docstring order, < 80-char lines, hanging closing parens, pipes over intermediate variables,snake_casewith noget_prefix,logger::log_*for output,@importFromper function, single implicit return). - Trunk-based development on
main; theUseCase2branch is a backup for future case studies and is not pulled intomain. - Logging: every R, Python, bash, and captured xelatex line writes to
one file pointed at by
METABO_FIGURES_LOG; line format incontracts/log-format.md. - Reproducibility: every artifact emits a provenance sidecar; per-build
manifests and snapshot identifiers are written to
manifests/.
BSD 3-Clause — see LICENSE.