Skip to content
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

Add miRBase client #912

Merged
merged 6 commits into from
Jul 17, 2019
Merged

Add miRBase client #912

merged 6 commits into from
Jul 17, 2019

Conversation

cthoyt
Copy link
Collaborator

@cthoyt cthoyt commented Jul 17, 2019

This PR adds a client for miRBase, which is a nomenclature for micro-RNAs. It adds a function for downloading and structuring the resource as a TSV that has cross-references to ncbigene and other organism specific databases. The client has lookup for terms by miRBase name, identifier, or HGNC. This PR also updates the PyBEL processor to handle nodes named with miRBase.

A few questions about adding this client:

  • Should I add the resources in a versioned way? The .gitignore seems to reject stuff in the resources folder I added it with 8211c4a because I couldn't pass the tests and it looks like everything else is already added
  • Should I update the hgnc_client to have a is_mirna() function like the is_kinase() and related?
  • What else is necessary to finish Grounding of micro-RNAs #255?

@cthoyt cthoyt marked this pull request as ready for review July 17, 2019 01:40
@cthoyt
Copy link
Collaborator Author

cthoyt commented Jul 17, 2019

Looks like the failing tests are from code that has to do with PubMed client... Unrelated to this PR

@johnbachman johnbachman merged commit 89b72fe into sorgerlab:master Jul 17, 2019
yield mirbase_id, mirbase_name, db, identifier, name.rstrip('.')


if __name__ == '__main__':
"""
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, what's going on here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

D'oh, commented stuff out for testing and then forgot to uncomment 🤦‍♂

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@cthoyt cthoyt deleted the patch-3 branch July 22, 2019 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants