Skip to content
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

ENH: add SampleData[JoinedSequencesWithQuality] as input for classify-Kraken2 #202

Merged
merged 4 commits into from
Oct 21, 2024

Conversation

cherman2
Copy link
Contributor

@cherman2 cherman2 commented Sep 11, 2024

Hi All,

I am currently using the metagenome distro for one of my analyses!

I was initally strugging with my percentage unclassified from classify-kraken2. I found that joining my reads via vsearch and then running classify-kraken2 was helping my classification significantly. So I thought It might be a good idea to expose this as an input to the method. This was super easy because it is the same directory format as SampleData[SequencesWithQuality].

I have run this code change with my data and it runs with no issues. Feel free to close if there is a reason Joined sequences can't be used with Kraken2 that I haven't thought of!

This PR does rely on a PR in Demux so that these samples can be partitioned correctly.

(I originally tested this PR in 2024.5 and then I merged dev into this branch so apologizes for the funky commit history).

Let me know if you have any questions. I don't have a ton of bandwidth if this PR needs code changes but more than happy to help as much as I can!

Depends on qiime2/q2-demux#165

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.75%. Comparing base (a6e3a4d) to head (85743ce).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #202      +/-   ##
==========================================
- Coverage   98.73%   97.75%   -0.99%     
==========================================
  Files          78       64      -14     
  Lines        4671     4715      +44     
  Branches        0      272     +272     
==========================================
- Hits         4612     4609       -3     
+ Misses         59       58       -1     
- Partials        0       48      +48     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@misialq misialq changed the title ENH: Adds SampleData[JoinedSequencesWithQuality] as input for classify-Kraken2 ENH: add SampleData[JoinedSequencesWithQuality] as input for classify-Kraken2 Oct 21, 2024
Copy link
Contributor

@misialq misialq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cherman2! 🏅

@misialq misialq merged commit 10bb850 into bokulich-lab:main Oct 21, 2024
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants