Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@biothings-explorer/explain
Advanced tools
NodeJS module to provide explanation about how two biomedical concepts are connected
A nodejs module to explain how two or more biomedical concepts are connected through shared intermediate nodes.
npm i @biothings-explorer/explain
Import and Initialize
const explain = require("@biothings-explorer/explain")
// a BTE representation of drug imatinib from biomedical_id_autocomplete nodejs package
const INPUT1 = {
"DRUGBANK": "DB00619",
"CHEBI": "CHEBI:45783",
"UMLS": "C0935989",
"MESH": "D000068877",
"name": "imatinib",
"primary": {
"identifier": "CHEBI",
"cls": "ChemicalSubstance",
"value": "CHEBI:45783"
},
"display": "CHEBI(CHEBI:45783) DRUGBANK(DB00619) name(imatinib)",
"type": "ChemicalSubstance"
}
// a BTE representation of drug dasatinib from biomedical_id_autocomplete nodejs package
const INPUT2 = {
"CHEMBL.COMPOUND": "CHEMBL1421",
"DRUGBANK": "DB01254",
"PUBCHEM": 3062316,
"CHEBI": "CHEBI:49375",
"UMLS": "C1455147",
"MESH": "D000069439",
"UNII": "RBZ1571X5H",
"name": "DASATINIB",
"primary": {
"identifier": "CHEBI",
"cls": "ChemicalSubstance",
"value": "CHEBI:49375"
},
"display": "CHEBI(CHEBI:49375) CHEMBL.COMPOUND(CHEMBL1421) DRUGBANK(DB01254) PUBCHEM(3062316) MESH(D000069439) UNII(RBZ1571X5H) UMLS(C1455147) name(DASATINIB)",
"type": "ChemicalSubstance"
}
// a BTE representation of disease CML from biomedical_id_autocomplete nodejs package
const OUTPUT = {
"MONDO": "MONDO:0011996",
"DOID": "DOID:8552",
"UMLS": "C0023473",
"name": "chronic myelogenous leukemia, BCR-ABL1 positive",
"OMIM": "608232",
"ORPHANET": "521",
"primary": {
"identifier": "MONDO",
"cls": "Disease",
"value": "MONDO:0011996"
},
"display": "MONDO(MONDO:0011996) DOID(DOID:8552) OMIM(608232) ORPHANET(521) UMLS(C0023473) name(chronic myelogenous leukemia, BCR-ABL1 positive)",
"type": "Disease"
}
Explain the connections between the inputs and outputs
const ep = new explain();
//find genes which connect both [Imatinib or DASATINIB] and CML Disease
let res = await ep.query([INPUT1, INPUT2], [OUTPUT], ['Gene']);
npm run test
👤 Jiwen Xin
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
FAQs
NodeJS module to provide explanation about how two biomedical concepts are connected
The npm package @biothings-explorer/explain receives a total of 22 weekly downloads. As such, @biothings-explorer/explain popularity was classified as not popular.
We found that @biothings-explorer/explain demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.