Giter Site home page Giter Site logo

molecular_an's Introduction

README

  1. Clone the repo

  2. Get expression data:

  • to get all data (adult and fetal) directly from Allen institute run:

./download_expression_data.sh

  • this should download zip files and unzip them into folders in the ./data/raw/ directory
  1. Edit the config.py file to point to the data folder (the download_expression_data.sh script will create a data subfolder in the current folder).

  2. Setup python3.6 environment with essential dependencies in requirements.txt

  • Use conda environments create an env named molecularAN:
  conda create -n molecularAN python=3.6
  source activate molecularAN
  pip install -r requirements.txt
  • also install rpy2, this code might be needed for osx users (thanks to Clemens Brunner)
export LDFLAGS=-L/Library/Frameworks/R.framework/Resources/lib
export PATH=/usr/local/opt/llvm/bin:$PATH
conda install rpy2 --no-cache
  1. Process the Allen data to get the aggregated data:

python data_processing.py

You should have a matrix each for the adult and fetal brains.

  1. To get results tables:

python results_tables.py

  1. Download SVGs to be used for figures:

python svg_download.py atlas_name

where atlas_name is adult, fetal15, fetal21 or fetal21_brainstem

  1. To generate SVGs:

python modify_svg.py

molecular_an's People

Contributors

derekhoward avatar leonfrench avatar

Watchers

 avatar  avatar

Forkers

leonfrench

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.