@biothings-explorer/biothings_explorer_test_toolkit
v1.0.1
Published
Toolkit for generating ids to test biothings explorer related applications
Downloads
4
Readme
biothings_explorer_test_toolkit
Toolkit for generating random biomedical ids for testing biothings explorer related applications
Install
$ npm i @biothings-explorer/biothings_explorer_test_toolkit
Usage
const k = require('@biothings-explorer/biothings_explorer_test_toolkit');
let kit = new k();
// retrieve 10 NCBIGene IDs
kit.getRandomIds("Gene", "NCBIGene", 10);
//=> ["85456", "85461", "85462", "8578", "8622", "8630", "8669", "8761", "8798", "8899"]
// retrieve 60 CHEMBL.COMPOUND IDs
kit.getRandomIds("ChemicalSubstance", "CHEMBL.COMPOUND", 60);
//=> ["CHEMBL.COMPOUND": ["CHEMBL286494", "CHEMBL1321", "CHEMBL404520", "CHEMBL65794", "CHEMBL373081", "CHEMBL100259", "CHEMBL331378", "CHEMBL279229", "CHEMBL826", "CHEMBL2105527", "CHEMBL566", "CHEMBL1201237", "CHEMBL186720", "CHEMBL2103873", "CHEMBL1540", "CHEMBL46469", "CHEMBL1652", "CHEMBL506110", "CHEMBL1371770", ...]
Current supported Semantic Types and Identifier Types
Gene
- NCBIGene
- ENSEMBL
- HGNC
- SYMBOL
- UniProtKB
- UMLS
- name
SequenceVariant
- HGVS
- DBSNP
- MYVARIANT_HG19
- ClinVar
ChemicalSubstance
- CHEBI
- CHEMBL.COMPOUND
- DRUGBANK
- PUBCHEM
- MESH
- INCHI
- INCHIKEY
- UNII
- KEGG
- UMLS
- name
- id
Disease
- MONDO
- DOID
- OMIM
- ORPHANET
- EFO
- UMLS
- MESH
- name