Coder Social home page Coder Social logo

human_ppi's Introduction

-------------
Human PPI API
-------------

Overview
--------
The human_ppi API allows the user to import data from the
ConsensusPathDB-human database and serve them through a web API based
on the biothings framework.

Installation
------------

( The Following instructions were adapted from the
BioThings SDK Single Source tutorial - http://docs.biothings.io/en/latest/doc/single_source_tutorial.html )

1.  Install Python 3.5 or higher


2.  Install the Biothings SDK

pip install biothings


3.  Install ElasticSearch locally

BioThings APIs currently serve data from an Elasticsearch index, so Elasticsearch is a requirement.
Install Elasticsearch 2.4 either directly, or as a docker container.


4.  Down the source repository to an appropriate location and start the server.  You must run the web server
from inside of the <human_ppi_location>/src directory for the server to run properly.

cd <human_ppi_location>/src
pip install -r ../requirements_web.txt
python www/index.py --debug --port=8001


5.  Index the ConsensusPathDB_human_PPI file in ElasticSearch using the provided import script.  First you have
to download the data file and place it in an appropriate location (probably in the project directory).

Download the ConsensusPathDB_human_PPI data file and unzip it.
http://consensuspathdb.org/
http://cpdb.molgen.mpg.de/download/ConsensusPathDB_human_PPI.gz

cd <human_ppi_location>/src
python dataload/build_index.py <path_to_file>/ConsensusPathDB_human_PPI>

human_ppi's People

Stargazers

Jip de Kok avatar

Watchers

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