Repository navigation
detect: give exonerate the NCBI table string for genetic codes it lacks (v0.6.1) - #13
Merged
Merged
Conversation
exonerate 2.4.0 has NCBI tables 1-6, 9-16 and 21-23. For code 26 (Alaninales, CUG = Ala) it exits 1, and _run_checked made that fatal for the whole genome: 20 of 19,415 BFD Ascomycota genomes got no report in the v0.6.0 run. Exonerate is now skipped for such codes; the gene model comes from miniprot alone (polished_single). miniprot 0.18 -T 26 translates CTG as Ala (synthetic gene, 15 CTG in 120 aa: identity 1.00 with -T 26, 0.875 with -T 1 or -T 12). Version 0.6.1 (pyproject, CITATION.cff, README, CHANGELOG). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JkhYFEPaa1WenE5MtA8Qya
hyphaltip
added a commit
that referenced
this pull request
Oct 4, 2026
run-b04a77b (PR #13): 20/20 reports, 15/20 called vs 4/20 miniprot-only; median 457 s vs 34 s per genome. Regression vs v0.6.0: 0 changed loci. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JkhYFEPaa1WenE5MtA8Qya
hyphaltip
added a commit
that referenced
this pull request
Oct 4, 2026
Re-land #13 on main: exonerate NCBI table string for codes it lacks (v0.6.1)
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.
Problem
exonerate 2.4.0 has built-in NCBI tables 1–6, 9–16 and 21–23 only. For code 26 (Pachysolen tannophilus nuclear, CUG = Ala; the Alaninales) it exits 1 with
No built in genetic code corresponding to id [26]._run_checkedmakes that fatal, so the whole genome got no report: 20 of 19,415 BFD Ascomycota genomes in the v0.6.0 run.Fix
--geneticcodeas a 64-letter table in NCBI TCAG order. For a code it has no built-in table for, MATPredict now passes that string, built from Biopython's NCBI tables (ncbi_code_string,exonerate_gencode_args). No exonerate change is needed.Checks
-T 26).run-b04a77bvs v0.6.0: 0 changed loci in all five panels (results/2026-10-04_regression_v061s/).phylum_fallback(no Alaninales record), so family labels there are not reliable. Results in results: MAT campaigns — Mucoromycotina publication set; full Basidiomycota and Ascomycota on v0.6.0 #14.Stacked on #12 (
release-builds), which is stacked on #11. Merge #11, #12, then this, then tagv0.6.1.🤖 Generated with Claude Code
Claude-Session: https://claude.ai/code/session_01JkhYFEPaa1WenE5MtA8Qya