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

Import definitions via xrefs #169

Merged
merged 7 commits into from
Mar 12, 2021
Merged

Conversation

cthoyt
Copy link
Collaborator

@cthoyt cthoyt commented Mar 12, 2021

This PR adds a script that pulls in definitions using new (unreleased) pyobo code from (biopragmatics/pyobo#98 - once I fix the mocks in the testing I will merge it). It prioritizes getting the definitions for famplex entries based on their xrefs in the following order:

  • interpro
  • mesh

@cthoyt cthoyt changed the title Add definitions from MeSH and InterPro Import definitions via xrefs Mar 12, 2021
@bgyori
Copy link
Member

bgyori commented Mar 12, 2021

Great! Just note the issue #159 with non-exact InterPro mappings.

@cthoyt
Copy link
Collaborator Author

cthoyt commented Mar 12, 2021

@bgyori I just reorganized to have a priority list and make this a bit more flexible

@cthoyt cthoyt marked this pull request as ready for review March 12, 2021 17:30
@cthoyt
Copy link
Collaborator Author

cthoyt commented Mar 12, 2021

@bgyori this isn't a perfect PR and won't be so easy to re-run until I re-release PyOBO with some fixes (unless you want to install pyobo in the development mdoe), but it gets the job done of adding 424 descriptions (~60% of famplexes). I made a priority list (which you can feel free to change) where interpro is at the bottom - only one entry gets assigned a name that way.

But it gets a lot of the job done, so it might be okay to think about merging now. Let me know what you think

@cthoyt cthoyt requested a review from bgyori March 12, 2021 17:35
@bgyori
Copy link
Member

bgyori commented Mar 12, 2021

I think this is really great, the descriptions all look appropriate!

@cthoyt cthoyt merged commit e6dd194 into sorgerlab:master Mar 12, 2021
@cthoyt
Copy link
Collaborator Author

cthoyt commented Mar 12, 2021

Closes #168

@cthoyt cthoyt deleted the add-definitions branch March 12, 2021 17:45
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