-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MRG: Fix
tax metagenome
to work on gather output created with `--es…
…timate-ani-ci` (#2952) The `tax metagenome` code errors out with a confusing error message when gather results containing confidence intervals for the ANI calculations are output. This PR adds a test and fixes the problem. ## Details The error message is: ``` ERROR: '/var/folders/6s/_f373w1d6hdfjc2kjstq97s80000gp/T/sourmashtest_rs5l3b23/gather.csv' is missing columns needed for taxonomic summarization. Please run gather with sourmash >= 4.4. ``` and it is caused by `GatherRow` running across the various extra columns added by `--estimate-ani-ci`, such as `query_containment_ani_low`. The fix is to add these columns in as optional/unused columns in the `GatherRow` dataclass.
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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