-
Notifications
You must be signed in to change notification settings - Fork 14
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 action fetch-busco-db
and modify evaluate-busco
accordingly
#162
ENH: add action fetch-busco-db
and modify evaluate-busco
accordingly
#162
Conversation
@ChristosMatzoros don't review this yet. We decided to include the code of the dependent PR already in this PR things might look quite different in a bit. |
fetch-busco-db
fetch-busco-db
and modify evaluate-busco
accordingly
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #162 +/- ##
=======================================
Coverage 96.82% 96.82%
=======================================
Files 58 58
Lines 3943 3943
Branches 364 364
=======================================
Hits 3818 3818
Misses 80 80
Partials 45 45 ☔ View full report in Codecov by Sentry. |
Ok, @ChristosMatzoros now it's ready. Sorry, this grew so much by adding the rest of the code. It would have been nicer to have the 3 PRs but oh well, it is what it is. |
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.
Hey @Sann5,
I had a look in the code and I made some suggestions and comments, please have a look. Everything runs as expected both for downloading the database (fetch-busco-db
) and for the visualizer (evaluate-busco
). The code is very well structured. Great work!
Co-authored-by: Christos Konstantinos Matzoros <[email protected]>
@misialq It does not look like the QIIME 2 CI is being triggered. |
It doesn't get triggered because I migrated the CI to our new one, which means the Q2 CI only runs when you request it - see my last comment above ;) |
/q2ci |
…ime2:d56401b],[stable]
…[add:qiime2:d56401b],[stable]
…,[add:qiime2:d56401b],[stable]
…4],[add:qiime2:d56401b],[stable]
Hey @misialq, just ran a new round of prepares (since we have to patch 2024.5) and ran into this failure in moshpit: https://github.com/qiime2/distributions/actions/runs/9574415150/job/26433191625#step:9:403 I'm not exactly sure what caused these failures ( |
/q2ci |
Mmmm, good catch @lizgehret, thanks! My guess is that there are some DB files missing among the test files - @Sann5 can you please check? |
@misialq in deed I think there were some test files missing (e.g. I did not include them in the setup.py). Should I open a PR for this? |
Please do, thanks! |
Add the action
fetch-busco-db
, which downloads a busco database from the internet. Modify theevaluate-busco
action to be able to take this database as input. This PR replaces #143 which is too outdated to merge.Run it locally
# download busco db qiime moshpit fetch-busco-db \ --p-virus False --p-prok True --p-euk False \ --o-busco-db busco_prok_db.qza \ --verbose
# run busco qiime moshpit evaluate-busco \ --i-bins mags.qza \ --i-busco-db busco_db_prok.qza --o-visualization mags.qzv \ --o-results-table results.qza \ --p-lineage-dataset bacteria_odb10 \ --p-num-partitions 3 \ --verbose \ --parallel
# check out the visualization qiime tools view mags.qzv