Giter Site home page Giter Site logo

didryo / magi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raphael-group/magi

0.0 1.0 0.0 3.23 MB

A webserver from the Raphael Lab for mutation annotation and genome interpretation.

Home Page: http://magi.cs.brown.edu

License: MIT License

Shell 0.03% JavaScript 78.29% CSS 14.22% Python 7.46%

magi's Introduction

MAGI

This repository contains the code to run a webserver based on the GD3 suite of genomic visualization tools. The server allows you to query a set of genes' mutations in cohorts of tumors, and to see mutations and protein-protein interactions among those genes.

The site consists of two main pages:

  1. The index page allows the user to choose his/her query genes and datasets.
  2. The view page displays the GD3 visualizations for the given query genes and datasets. The view is an AngularJS app. The Angular controller for the view takes the genes and datasets encoded in the query params, and makes a GET request to the server for a JSON object, and then uses Angular-D3 directives to render the resulting visualizations.

Dependencies

  • Node.js and NPM (generally included with Node.js).
  • MongoDB. Make sure you can run mongod from your terminal. Some basic debugging tips are:
    1. Make sure that you make a directory to store the database. The default is /data/db, so you'll need to make that directory before running mongod.
    2. Make sure that the mongod, mongo, etc. are in your PATH.

Setup

  1. Clone the repository:

     git clone https://<user>@bitbucket.org/raphaellab/magi.git
    
  2. Install required dependencies:

     npm install
    
  3. Start MongoDB:

     mongod &
    
  4. Start the server (default port 8000):

     node server.js
    
  5. Load data in the following order:

    • PPIs (hint, hprd, iref, multinet)
    • Cancers
    • Genome
    • Domains
    • Pathways (kegg, pindb)
    • Mutations (pancan-hotnet2 (regenerate_pancan_data.sh), tcga-gastric) -- loadDataset
  6. View the website at http://localhost:8000/.

magi's People

Contributors

mdml avatar connorgr avatar bournewu avatar jlthomas0921 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.