gyorilab / indra_db

A Database-based knowledge back-end built on and for INDRA. The INDRA Database is a service that can be set up by any user with their own content and knowledge access. Our implementation of the database is the back-end to many of our projects, providing a vast and detailed knowledge base derived from many resources.
GNU General Public License v3.0
16 stars 10 forks source link

Add function to fix IDs in SIF dump #184

Closed bgyori closed 3 years ago

bgyori commented 3 years ago

This PR addresses https://github.com/indralab/indra_db/pull/181#issuecomment-907895794 by canonicalizing IDs going into the SIF dump. Most of the work is being done by ensure_prefix_is_needed but some other idiosyncratic issues are also fixed (e.g., missing GO ID padding zeros, spurious EFO prefixes, etc.).

bgyori commented 3 years ago

Looks like this worked