-
Notifications
You must be signed in to change notification settings - Fork 1
Update kraken summary with etetoolkit #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the Kraken2 report summarization script to use NCBI taxonomy lineage instead of parsing Kraken2 report format directly. The key changes include:
- Replacing custom lineage construction with ete3's NCBITaxa for taxonomy lookups
- Simplifying the parsing logic to extract only taxon IDs and fragment counts
- Removing old test functions that tested the deprecated implementation
- Adding the ete3 dependency to the conda environment
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/summarize_kraken2_reports.py | Complete refactor to use NCBITaxa for lineage resolution; simplified parsing and output logic |
| scripts/test_summarize_kraken2_reports.py | Updated imports and removed deprecated test functions |
| envs/sbx_kraken_env.yml | Added ete3 dependency |
| envs/sbx_kraken_env.linux-64.pin.txt | Removed pinned dependencies (appears to be regenerated) |
| config.yml | Whitespace-only change |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ge-to-include-blank-family Handle missing taxonomy ranks when building consensus lineage
No description provided.