Comments (3)
Running some ✨ queries to count: 1) number of drugs and 2) number of drugs with a CHeBI xref, we see that it's not a dece canonical identifier, only about a fifth of them actually have xrefs
SELECT (count(?drug) as ?count)
WHERE {
?drug rdfs:subClassOf dinto:000055 .
}
>> count: 8786
SELECT (count(?r) as ?count)
WHERE {
?drug rdfs:subClassOf dinto:000055 .
?drug obo:xref ?r .
FILTER regex(?r, "^CHeBI:\\d+", "i")
}
>> count: 1915
from pathways.
On even further investigation, all of the drug URIs are either
http://purl.obolibrary.org/obo/CHEBI_\d+
or
http://purl.obolibrary.org/obo/DINTO_DB\d+
So chebi:\d+
or dinto:\d+
or some variation thereof would be handy way of representing drugs in the PMLs.
from pathways.
** Appendix: Useful SPARQL Queries on DINTO:
*
*** Prefixes:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX obo: <http://purl.obolibrary.org/obo#>
PREFIX dinto: <http://purl.obolibrary.org/obo/DINTO_>
*** List all Drugs:
SELECT (count(?drug) as ?count)
WHERE {
?drug rdfs:subClassOf dinto:000055
}
8786
*
*** List all DDIs with their labels:
?interaction rdfs:subClassOf dinto:00010 .
?interaction rdfs:label ?label .
*** Given two drugs, find their interaction
from pathways.
Related Issues (20)
- Report PML construct name-clash HOT 9
- PML-TX Save PML to File HOT 5
- Release 1 Feedback HOT 1
- Specify a Delay HOT 5
- Identify Parallel DDIs HOT 2
- Identify Sequential DDIs HOT 2
- Mock DDI Characterisation Data
- Real DDI Mock Good-Bad Time Generator
- Real DDI Agonist-Antagonist Mock Time Generator
- Locked down versions for e2e compose
- Release 2 UI HOT 3
- improve Parser/Lexer errors
- app.js refactor HOT 1
- Tabbed UI HOT 1
- DDI line numbers
- Tab UI testing docs overhaul
- `Save PML File` documentation
- Remove warnings
- Final UI discussion HOT 1
- Final doc check
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 pathways.