Skip to content

qrnamap run --engine r|rust for the DE step - #30

Merged
hyphaltip merged 2 commits into
mainfrom
run-de-engine
Nov 30, 2026
Merged

hyphaltip merged 2 commits into
mainfrom
run-de-engine

Conversation

@hyphaltip

Copy link
Copy Markdown
Member

qrnamap run --contrast ... can now use the Rust port of DESeq2, as qrnamap de --engine does. The default stays r (owner decision, 2026-11-29).

  • --engine r|rust on run. It needs --contrast, and the DE step passes it on to qrnamap de.
  • Checked before any tool runs: --engine rust --shrink is refused at the start, instead of after hours of counting.
  • --slurm: the final job's command gets '--engine' 'rust'. Rscript is a required tool only with the R engine, so a cluster without R can run the whole pipeline. The default engine is not written into the scripts, so existing scripts look the same.
  • README: adds an example.

Tests

  • tests/slurm.rs (slurm_forwards_de_engine):
    • the R engine still needs Rscript, and the Rust engine does not;
    • --engine rust reaches final.sbatch;
    • --shrink is refused and no scripts are written;
    • --engine needs --contrast;
    • the default engine is not written into the scripts.
  • tests/run.rs (run_quant_with_the_rust_engine_needs_no_r): a local run on the mini fixture with only kallisto on PATH. It writes the three result files, no VST file, and engine: rust.
  • All qrnamap-cli tests pass locally; clippy reports nothing new.

🤖 Generated with Claude Code

hyphaltip and others added 2 commits November 29, 2026 13:11
…LURM scripts)

- run --contrast ... --engine rust runs the Rust port of DESeq2 (qrnamap de --engine rust); the default stays r.
- Checked before any tool runs: --engine needs --contrast, --engine rust with --shrink is refused.
- --slurm: the final job gets --engine rust; Rscript is required only with the R engine.
- Tests: slurm.rs (forwarding, Rscript requirement, refusals), run.rs (a local run with only kallisto on PATH).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hyphaltip
hyphaltip merged commit de796a4 into main Nov 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant