Giter Club home page Giter Club logo

genie's Introduction

Docker Automated Docker Build

AACR Project GENIE

Introduction

This repository documents code used to gather, QC, standardize, and analyze data uploaded by institutes participating in AACR's Project GENIE (Genomics, Evidence, Neoplasia, Information, Exchange).

Dependencies

These are tools or packages you will need, to be able to reproduce these results:

  • A Linux machine or a cluster of compute nodes with a job scheduler like LSF (bsub) or SGE (qsub)
  • Python 2.7.10 or higher
  • Sage Synapse's command-line client (pip install synapseclient)
  • Python pandas (pip install pandas)
  • bedtools

File Validator

pip install git+https://github.com/Sage-Bionetworks/Genie.git

This will install all the necessary components for you to run the validator locally on all of your files, including the Synapse client. Please view the help to see how to run to validator.

genie validate -h
genie validate clinical data_clincal_supp_SAGE.txt SAGE

SAGE BIONETWORKS USE ONLY

Batch Processing instructions

  1. Check docker hub builds to see if theres any failures
  2. Log into AWS Batch
  3. Run genie-job-mainprocess
  4. Run genie-job-mafprocess (Make sure to add --createdMafDatabase flag)
  5. Run genie-job-vcfprocess
  6. Run genie-job-release (Make sure to update release version and number)

Processing on EC2

  1. Input to database: python input_to_database.py -h
  2. Create GENIE Files Example Releases a. release 4.1-consortium and 4.0-public
python database_to_staging.py Jan-2018 ~/cbioportal/ 4.1-consortium --skipMutationsInCis
python consortium_to_public.py Jul-2018 ~/cbioportal/ 4.0-public

b. release 5.1-consortium and 5.0-public

python database_to_staging.py Jul-2018 ~/cbioportal/ 5.1-consortium
python consortium_to_public.py Jan-2019 ~/cbioportal/ 5.0-public

Instructions to setup batch

  1. Build an AMI that can run batch jobs! Start from this page and follow instructions and specify your docker image. It is important at this stage that you time the building of your AMI, or your AMI will not be able to start batch jobs. After doing so, you will have to start an instance with the AMI and run these 2 commands:
sudo stop ecs
sudo rm -rf /var/lib/ecs/data/ecs_agent_data.json
  1. Rebuild the AMI above, specify the size of the image and put whatever you want in the instance that you would want to bind

Adding GENIE sites

  1. Invite users to GENIE participant Team
  2. Creates CENTER (input/staging) folder (Set up ACLs)
  3. Update Center Mapping table https://www.synapse.org/#!Synapse:syn10061452/tables/
  4. Add center to distribution tables: https://www.synapse.org/#!Synapse:syn10627220/tables/, https://www.synapse.org/#!Synapse:syn7268822/tables/
  5. Add users to their GENIE folder

genie's People

Contributors

thomasyu888 avatar kkdang avatar zimingd 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.