Giter Club home page Giter Club logo

oncokb's Introduction

OncoKB

oncoKB api 只是个封装程序

first

you need to get your own api token from oncokb website

usage and keyword

please see it from: https://api.oncokb.org/oncokb-website/api

usage

return value is json string

usage: OncoKB.py [-h] [--baseurl BASEURL] --module MODULE
                 [--submodule SUBMODULE [SUBMODULE ...]]
                 [--parameters PARAMETERS [PARAMETERS ...]] [--token TOKEN]

eg:
    byGenomicChange ref is hg19
python ~/bin/OncoKB.py --module  levels --submodule sensitive
python ~/bin/OncoKB.py --module annotate --submodule mutations  byProteinChange --parameters hugoSymbol=BRAF alteration=V600E  tumorType=Melanomi
python ~/bin/OncoKB.py --module annotate --submodule copyNumberAlterations --parameters copyNameAlterationType=GAIN hugoSymbol=EGFR tumorType=Lung
python ~/bin/OncoKB.py --module annotate --submodule mutations byGenomicChange --parameters genomicLocation=chr7,55259515,55259515,T,G tumorType=Lung evidenceType=STANDARD_THERAPEUTIC_IMPLICATIONS_FOR_DRUG_SENSITIVITY
python ~/bin/OncoKB.py --module annotate --submodule structuralVariants --parameters hugoSymbolA=ALK hugoSymbolB=EML4  structuralVariantType=FUSION isFunctionalFusion=True tumorType=Lung


optional arguments:
  -h, --help            show this help message and exit
  --baseurl BASEURL     defualt https://www.oncokb.org/api/v1/ , oncokb api base url
  --module MODULE       oncoKB APIs filter tag including 'annotate utils info levels,detail' in https://www.oncokb.org/api/v1/
  --submodule SUBMODULE [SUBMODULE ...]
                        submodule of the module ,such as copyNumberAlterations in annotate, detail in https://www.oncokb.org/api/v1/
  --parameters PARAMETERS [PARAMETERS ...]
                        --parameters hugoSymbol=BRAF alteration=V600E tumorType=Melanom
  --token TOKEN         token of OncoKB APIs

oncokb's People

Contributors

cococou avatar

Watchers

James Cloos 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.