Comments (5)
The error could be located in one of several places. I'll describe what I'm trying to do, and maybe you can help pinpoint the source of the problem.
Goal: convert WikiPathways Xrefs
to Miriam/identifiers.org IRIs.
Example: pathway WP3998 has this element in its GPML:
<Xref Database="Uniprot-SwissProt" ID="P24385" />
I thought I could use datasources.txt to map from GPML Database
to Miriam/identifiers.org namespace
. According to datasources_headers.txt, Database
corresponds to datasource_name
, which is the first column of datasources.txt. And datasources_headers.txt also says the ninth column of datasources.txt, uri
, is the:
Official URI for datasource (e.g., from miriam); or repeat of system_code if unknown or unregistered
These are the potential fixes I see:
- WikiPathways should only use
Uniprot-TrEMBL
, notUniProtKB/Swiss-Prot
- datasources.txt should list
urn:miriam:uniprot
forUniProtKB/Swiss-Prot
- identifiers.org should create a new namespace for
UniProtKB/Swiss-Prot
Supporting 1), it seems that at WikiPathways, all Xrefs with Database
values of UniProtKB/Swiss-Prot
have ID
values that match the datasources.txt regex for Uniprot-TrEMBL
, not the one for UniProtKB/Swiss-Prot
.
Supporting 2), identifiers.org states that UniProtKB/Swiss-Prot
is an alternative name for namespace uniprot
. That means the Miriam/identifiers.org URI for Uniprot-SwissProt
is registered. If that's true, then according to datasources_headers.txt, the ninth column should be urn:miriam:uniprot
for Uniprot-SwissProt
.
Supporting 3), the URI http://identifiers.org/uniprot/CALM_HUMAN fails to resolve. CALM_HUMAN
is the example identifier listed for UniProtKB/Swiss-Prot
in datasources.txt.
from bridgedb.
I think we should reverse the problematic change right away to get IMS working again.
@ariutta Could you use the UniProt-TrEMBL row in datasources.txt for both swissprot and uniprot mappings in the meantime?
Longer term, we could explore other solutions involving miriam updates or adding another column to datasources or converting all swissport refs to uniprot (when using accessions), etc.
from bridgedb.
Thanks for the explanation @ariutta. I think the current head in master has the change that I needed for IMS but I wanted to understand a bit more before you released the latest version.
I probably favour option 3 ie asking identifiers.org to add a new UniprotKB/Swiss-Prot namespace.
from bridgedb.
This is the remaining patch in the OPS master left in the merge and pertains to this issue:
from bridgedb.
Closed by 192a18f
from bridgedb.
Related Issues (20)
- report the provenance of the compared files HOT 1
- get OSGi bundles to be uploaded to Maven Central HOT 1
- Integrating information from AlphaFold HOT 2
- Work through FLOSS Best Practices Criteria and comply to all MUST
- Fix bug in DataSourceRegisterTest.java testing class HOT 1
- Derby database loading feature HOT 1
- Derby Properties should report which data source provides attributes
- put a small test Derby file in the repo HOT 1
- Update readme
- Move webservice plugins to separate repositories
- Move new plugin repositories from hbasaric to bridgedb github HOT 1
- upgrade openrdf to rdf4j HOT 1
- Test failing org.bridgedb.rdf.identifiers.org.IdentifersOrgReaderTest #nwobridgedb
- Update to client driver derby #nwobridgedb HOT 1
- create VoID headers files default when saving and finalizing a Derby database HOT 1
- JavaDoc errors when compiling with Java 17 HOT 1
- AbstractResolverTest.java class HOT 3
- Bug: getBioregistryIdentifier() issue with Chebi identifiers HOT 1
- describe data models on the website
- we want more sheep HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bridgedb.