feat: add --ko_input option to skip DIAMOND search using pre-computed KO annotations#155
Open
ynishimuraLv wants to merge 3 commits into
Open
feat: add --ko_input option to skip DIAMOND search using pre-computed KO annotations#155ynishimuraLv wants to merge 3 commits into
ynishimuraLv wants to merge 3 commits into
Conversation
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.
Motivation
DIAMOND-based KO annotation may fail for highly divergent genomes with very fast evolutionary rates (i.e., Candidatus Sukunaarchaeum mirabile), where sequence similarity to reference databases is too low to obtain reliable hits.
This option allows users to provide KO annotations generated by other tools and still leverage CheckM2's quality prediction workflow.
🤖 Developed with assistance from Claude Code
Summary
Adds a new --ko_input option to checkm2 predict that allows users to skip the DIAMOND blastp step by providing
pre-computed KO annotations.
Changes
ko columns)
instead of genome sequences (Prodigal is skipped)
Annotation file format
Each file in the --ko_input folder should be named {genome_name}.{any_extension} and be a CSV with the
following format:
gene_id,ko
protein_001,K00844
protein_002,K12407
protein_003,
protein_004,K00001
Validation
that fail this check are skipped with an error log
proceeds