Giter Site home page Giter Site logo

biggimii_api's Introduction

Before geting started, please install all packages from the requirementlist

In the home directory, run the following command to initate the server

python api.py

Ways to set up the queries:

In another Command window, run the follwoing comments to get the Knowledge graphs.

Section 1: get the information of KEGG pathways

1: List all the pathway ids and names.

curl http://localhost:5000/PathwayLists/

2: Query the gene list in one pathway(input KEGG id, eg: hsa04010)

curl http://localhost:5000/Pathway/ (eg. http://localhost:5000/Pathway/hsa04010)

Section 2: get the information from the DrugBank

3 Query the target for one drug, return a json file of target genes for the queried drug

curl http://localhost:5000/Query_Targets_by_drug/ (eg. curl http://localhost:5000/Query_Targets_by_drug/Cetuximab)

4 Query the drugs for one target, return a json file of drugs genes for the queried target

curl http://localhost:5000/Query_drugs_by_target// (eg. curl http://localhost:5000/Query_drugs_by_target/EGFR/)

5 Query all FDA approved drugs, return a list of drugs

curl http://localhost:5000/list_FDA_Drugs/

6 Query the KG from Drug-Target-action
Upcoming KGs

Setion 3: SL pairs

7. Query the synthetic lethylity pairs according to gene knockout effects

#curl http://localhost:5000/Query_SL_by_ko/<ko_gene>/ (eg. curl http://localhost:5000/Query_SL_by_ko/EGFR/))

8. Query the synthetic lethylity pairs according to gene mutations

#curl http://localhost:5000/Query_SL_by_mut/<mut_gene>/ (eg. curl http://localhost:5000/Query_SL_by_mut/EGFR/)

Section 4: get the disease associated gene
Section 5: get the gene associated drug
Section 6: get the gene mutation associateed differential gene expression

POST methods: Examples Query how genes show co-expression with another from a gene list curl -X POST -H 'Content-Type: application/json' --data '{"genes":["TP53","FLT3","NPM1","KRAS","NRAS"]}' http://localhost:5000/Query_co_exp_inGroup

biggimii_api's People

Contributors

gloriachin avatar

Watchers

 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.