-
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 to extract a specific annotation into a feature table #178
Conversation
Update 'extract_annotations' action
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #178 +/- ##
==========================================
+ Coverage 98.50% 98.56% +0.06%
==========================================
Files 85 85
Lines 4679 4882 +203
==========================================
+ Hits 4609 4812 +203
Misses 70 70 ☔ 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.
Looks good, see the comments below.
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 @misialq, thanks for making the changes. It looks great! 🚀
This PR introduces two new actions:
extract-annotations
which can accept aGenomeData[NOG]
artifact and extract the specified annotation (e.g. KEGG_pathways) into a new feature tablemultiply-tables
which can take two feature tables (with matching dimensions) and return their dot product - here the use case is calculating per-sample counts of annotation features extracted with the action 1. by getting the dot product of that table and the MAG abundance feature table which can be obtained from an action in ENH: add action to estimate MAG abundance #177.