Skip to content

Campaigns run against the offline taxonomy snapshot; snapshot recorded; warm-up stops on a missing taxid (#342) - #370

Merged
hyphaltip merged 2 commits into
mainfrom
offline-taxonomy-342
Nov 21, 2026
Merged

hyphaltip merged 2 commits into
mainfrom
offline-taxonomy-342

Conversation

@hyphaltip

@hyphaltip hyphaltip commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Closes #342 (v0.10 campaigns; v0.9.0 results are not redone). No change to detection, calls or tiers.

  • scripts/run_clade_panel.slurm: MATPREDICT_OFFLINE defaults to 1; MATPREDICT_TAXONOMY must name the table, or the job stops with a message. MATPREDICT_OFFLINE=0 keeps the old online behaviour for exploratory runs.
  • The taxonomy source, table path, snapshot date and sha256 go to TAXONOMY.txt in the run folder, for the MANIFEST.
  • The warm-up is now scripts/taxonomy_warmup.py (tested; it was inline Python). It lists every failing taxid and the job stops when offline: TAXONOMY_WARMUP_STRICT defaults to 1 offline and 0 online.
  • CLAUDE.md and the changelog say how to launch a campaign.

Tested: tests/test_taxonomy_warmup.py (a snapshot taxid passes, a merged one passes, a missing one fails with the snapshot date in the message, exit code 3 and the list of taxids, --describe content) and tests/test_clade_panel_warmup.py (the offline block run in bash: stops without a table, strict=1 offline, strict=0 online); 31 passed on the HPCC with the neighbouring taxonomy tests. On the real 2026-10-01 snapshot: 5158, 1035309 and 4932 resolve, a bogus taxid fails with exit 3.

Not changed: run_detection_batch.slurm, which takes --phylum and does not call the warm-up; the other analysis scripts. Smoke test of the whole script on the HPCC (job 32353781, two Chaetothyriales genomes via SAMPLE_LIST, MATPREDICT_TAXONOMY set to the FungiDB project's snapshot table): the offline block passed, TAXONOMY.txt was written (snapshot 2026-10-01, sha256 c8afdc59...), the warm-up reported 0 failed, 2 of 2 genomes completed and the rollout summary and archive were made. Not yet run as a full campaign (the next one will be the first).

🤖 Generated with Claude Code

hyphaltip and others added 2 commits November 21, 2026 08:37
…un folder, strict warm-up when offline (#342)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@hyphaltip
hyphaltip merged commit 33336bc into main Nov 21, 2026
2 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.

Campaigns: run against the offline NCBI taxonomy snapshot (follow-up to #324)

1 participant