sorgerlab / indra

INDRA (Integrated Network and Dynamical Reasoning Assembler) is an automated model assembly system interfacing with NLP systems and databases to collect knowledge, and through a process of assembly, produce causal graphs and dynamical models.
http://indra.bio
BSD 2-Clause "Simplified" License
173 stars 65 forks source link

Add module for interfacing with Bioregistry #1382

Closed bgyori closed 2 years ago

bgyori commented 2 years ago

This PR adds a new module for Bioregistry under indra.databases which allows converting back and forth between prefixes and IDs used in Bioregistry and namespaces and IDs used in INDRA. It also generalizes the indra.statements.validate module to be able to use Bioregistry (instead of identifiers.org) as a validator for namespaces and identifiers.

The broader validation offered by the new module highlighted some issues related to sources that are also modified in this PR: