Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,20 @@ jobs:
toolchain: stable
profile: minimal
override: true
- name: Generate toy dataset
run: python3 scripts/generate_toy_data.py examples/data/illumina_toy
- name: Verify checksums
run: sha256sum --check SHA256SUMS
working-directory: examples/data/illumina_toy
- name: Verify the committed toy reference is intact (pinned hash)
# A real anti-corruption gate, not the old self-referential check: pin the
# COMMITTED reference.fa (the one the release bundle + every other job
# ships) to a known hash. The previous step regenerated reference.fa at
# 1 Mbp without --length, overwriting the committed 4 kbp fixture and
# checking freshly-generated files against freshly-generated sums (a
# tautology that also tested a different reference than ships).
run: |
echo "ce8a6df801e836f4eda0b7661a68dcd7b7a9ab247c66d4582a89dbc207554efa examples/data/illumina_toy/reference.fa" \
| sha256sum --check
- name: Generate reads from the committed toy reference
# --reference simulates reads FROM the committed reference (does not invent
# or overwrite one), so cli-e2e exercises exactly the fixture that ships.
run: python3 scripts/generate_toy_data.py examples/data/illumina_toy --reference examples/data/illumina_toy/reference.fa
- name: Align to SAM
run: |
cargo run --release -- align \
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/target
**/*.rs.bk
*.pdb
Cargo.lock
# Cargo.lock IS tracked: rosalind ships a binary, so a pinned lockfile is part of
# the reproducible-build story behind the receipts (and stabilizes CI cache keys).

# IDE
.idea/
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ contract** — predict it before you commit, honor it during the run, and verify
- `rosalind variants … --enforce` — honor the budget: refuse up front (exit 3) or fail loud (exit 4),
never a silent OOM-kill. Record-only without `--enforce`.
- `rosalind verify` — re-check a run's BLAKE3 receipt without re-running.
- The **`rosalind-budget` GitHub Action** — enforce the contract in *your* CI (fail the build on breach).
- The **Rosalind budget GitHub Action** (`action.yml`, used as `logannye/rosalind@v0.1.0`) — enforce the
contract in *your* CI (fail the build on breach).

### Variant calling
- **Bounded whole-genome germline SNV calling** (`variants --index`) over a coordinate-sorted BAM and a
Expand Down
Loading
Loading