-
Notifications
You must be signed in to change notification settings - Fork 2
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
MAINT: Changed the function load_card_db
to load all files globally instead of locally.
#66
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #66 +/- ##
=======================================
Coverage 94.29% 94.29%
=======================================
Files 20 20
Lines 1491 1491
=======================================
Hits 1406 1406
Misses 85 85 ☔ View full report in Codecov by Sentry. |
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.
Just a question, as I don't remember how this DB loading worked exactly: where do the DB files get stored when either of those options is toggled?
Hi @misialq regarding your question. When the files get loaded globally then the path to the files gets stored somewhere by RGI and every time an annotation function is called the database files that were loaded globally are being used for the analysis So in my case the database files are now only in the database artifacts with these changes in this PR and before the database files were first copied from the database artifacts to a directory called localDB in a temp directory. I haven't tried this out with parallelisation but i think that will also work as expected. |
Hey @VinzentRisch, Can you add here a link to the documentation regarding the Thanks |
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 @VinzentRisch, thanks for the explanation! This is a conditional ✅: could you please test that it works also with parallelization? If yes, feel free to go ahead and merge 🚀
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 @VinzentRisch,
Everything has been tested on my side and is working perfectly! Feel free to merge after you address the request from @misialq. 🚀
Hey @VinzentRisch, what's up with this PR? |
This works in testing also with parsl parallelisation. |
Hey @misialq can you please merge this for me? Thanks! |
solves #65
Set up an environment for apple silicone
Run it locally
solves #51
CARDMAGsKmerAnalysisDirectoryFormat
,CARDReadsAlleleKmerAnalysisDirectoryFormat
andCARDReadsGeneKmerAnalysisDirectoryFormat
toqiime2.Metadata
. This enables the user to use these formats with the functionmetadata tabulate
to explore the analysis output in a browser.tabulate_data
has been expanded. in this process also a bug has been fixed for the tabulation of the MAGs tables.Set up an environment for apple silicone
Run it locally
Download test files
download reads.qza, mags.qza and card_db.qza:
Test it out!
Run all commands