Repository navigation
Campaigns run against the offline taxonomy snapshot; snapshot recorded; warm-up stops on a missing taxid (#342) - #370
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_OFFLINEdefaults to 1;MATPREDICT_TAXONOMYmust name the table, or the job stops with a message.MATPREDICT_OFFLINE=0keeps the old online behaviour for exploratory runs.TAXONOMY.txtin the run folder, for the MANIFEST.scripts/taxonomy_warmup.py(tested; it was inline Python). It lists every failing taxid and the job stops when offline:TAXONOMY_WARMUP_STRICTdefaults to 1 offline and 0 online.CLAUDE.mdand 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,--describecontent) andtests/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--phylumand does not call the warm-up; the other analysis scripts. Smoke test of the whole script on the HPCC (job 32353781, two Chaetothyriales genomes viaSAMPLE_LIST,MATPREDICT_TAXONOMYset to the FungiDB project's snapshot table): the offline block passed,TAXONOMY.txtwas 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