-
Notifications
You must be signed in to change notification settings - Fork 16
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
collation module WIP #28
Conversation
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.
@anupriyatripathi. This looks good. I only have two requests:
-
Remove the
collatefp
function that exists in_fingerprint.py
and replace it for a function call to the newcollate_fingerprint function
. This will avoid code replication. You should do the same for any tests that might be duplicated. -
Create a new semantic type for the CSI results. While you can process data directly from a filepath, it is recommended that all data coming into a QIIME2 plugin be imported into an Artifact. Let me know if you need help doing this.
Pull Request Test Coverage Report for Build 31
💛 - Coveralls |
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 great, just a handful of minor comments!
Returns | ||
------- | ||
biom.Table | ||
biom table containing mass-spec feature IDs (in rows) and molecular |
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.
rows -> observations
------- | ||
biom.Table | ||
biom table containing mass-spec feature IDs (in rows) and molecular | ||
substructure IDs (in columns). Values are presence (1) or absence (0) |
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.
columns -> samples
@@ -32,10 +32,10 @@ def test_siriusBinaryPath(self): | |||
|
|||
def test_fingerprintOut(self): | |||
with self.assertRaises(ValueError): | |||
collatefp(self.emptycsi) | |||
collate_fingerprint(self.emptycsi) |
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.
Can you delete this and the next testing method?
addressed :) |
This PR adds a module to collate fingerprints if predicted by CSI:FingerID outside chemistree