Giter VIP home page Giter VIP logo

biothings_explorer_test_toolkit's Introduction

Build Status Coverage Status Documentation

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

    1. NCBIGene
    2. ENSEMBL
    3. HGNC
    4. SYMBOL
    5. UniProtKB
    6. UMLS
    7. name
  • SequenceVariant

    1. HGVS
    2. DBSNP
    3. MYVARIANT_HG19
    4. ClinVar
  • ChemicalSubstance

    1. CHEBI
    2. CHEMBL.COMPOUND
    3. DRUGBANK
    4. PUBCHEM
    5. MESH
    6. INCHI
    7. INCHIKEY
    8. UNII
    9. KEGG
    10. UMLS
    11. name
    12. id
  • Disease

    1. MONDO
    2. DOID
    3. OMIM
    4. ORPHANET
    5. EFO
    6. UMLS
    7. MESH
    8. name

biothings_explorer_test_toolkit's People

Contributors

kevinxin90 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.