-
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: allow SampleData[MAGs]
as input to predict-genes-prodigal
#154
ENH: allow SampleData[MAGs]
as input to predict-genes-prodigal
#154
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #154 +/- ##
==========================================
+ Coverage 97.72% 97.74% +0.01%
==========================================
Files 64 64
Lines 3390 3415 +25
==========================================
+ Hits 3313 3338 +25
Misses 77 77 ☔ 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.
Hey @Sann5, see some refactor suggestions below.
Hey @misialq 🙌🏼 . I did quite a few changes to the code with your suggestions in mind. Please take a look and tell me what you think. While I have you here I want to clarify something we previously discussed. This action outputs 3 artifacts whose semantic types are class <name>DirectoryFormat(model.DirectoryFormat):
<name> = model.FileCollection(r'(.*\_)?<name>[0-9]*\.<extension>$',
format=<format>)
We discussed changing the regex to something like (.*\/)?(.*)\.<extension>$ bascially matching any random file name with an optional parent directory. Now... for the question... Right now the files that are created in the output artifacts all have this |
Hey @Sann5, yeah, that would be great! As discussed, there is really no need to have that in the file name - the regex should pretty much be based on the extension itself as the specific formats are anyways linked to their respective semantic types so there is no need to indicate that in file names (it only makes it too restrictive). |
Hey @misialq. I did as we discussed :). I also made the PR as dependent. |
This PR/issue depends on: |
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, looks good to me! I tried to run through both, sample data and feature data annotation and all worked as expected. Feel free to merge after updating the branch and resolving the conflicts ✅
What's new
predict-genes-prodigal
as only allowed to beFeatureData[MAG]
. Now it can also beSampleData[MAG]
SampleData[MAGs]
#101Blocked by...
Run it locally
cd my_dir wget https://polybox.ethz.ch/index.php/s/slGyW1uQbyxmyb9/download -O sample_data_mags.qza