GithubHelp home page GithubHelp logo

adunatos's Introduction

adunatos

Quickstart

To create gene-structure matrix from Allen Brain Atlas
 cd src
 python access-aba.py

This module saves its output to as JSON and TXT. The module writes to the TXT file after each query. It dumps the JSON file after it has finished querying the Allen Brain Atlas's servers.

To isolate and compare regions of interest
 cd adunatos
 ./main.sh

This shell script calls four python files to:

  1. Divide the gene-structure matrix into a control group that contains all brain areas and a regions of interest group (ROI), that contains all brain areas in which we are looking for enrichment. The file filter_words specifies which structures to include in the regions of interest group. The output is a Pandas DataFrame.

  2. Annotate the DataFrame with the Uniprot IDs. The DataFrame initially only has Entrez gene names.

  3. Annotate the DataFrame If your local machine does not recognize main.sh as executable, replace the last line with these two lines:

    chmod +x ./main.sh ./main.sh

To generate all data figures from Hawrylycz et al. (2012):
 ./make-all-figures.sh

To generate a specific figure:

 cd src
 python make-figure-x.py

(Built and tested in Python 2.7) #####Dependencies

  • NumPy (built with 1.9.1)
  • SciPy (built with 0.14.0)
  • Matplotlib (1.4.0)
  • Pandas (built with 0.14.1)
  • mygene (built with 2.2.0)
  • Awesome_print (0.1.3)

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.