Code Monkey home page Code Monkey logo

gdctools's Introduction

gdctools

Python and UNIX CLI utilities to simplify search and retrieval of open-access data from the NIH/NCI Genomics Data Commons, and automate tasks that are common to most data-driven science projects. For more information and examples see the package overview, Wiki pages or tests/Makefile. To get started from a Unix command line, simply pip install gdctools or clone the repo and install:

    %  git clone https://github.com/broadinstitute/gdctools
    %  cd gdctools
    %  make install

This should take only a minute or two, and may install requests, fasteners or matplotlib dependencies. *Note that if you are installing to a protected location you may need to preface the make install command with sudo. After this you should be able to easily mirror either harmonized or legacy data directly from the command line

    gdc_mirror --config tests/tcgaSmoketest.cfg

(this is what the make test target does), even for a single patient case

    gdc_mirror --cases TCGA-EE-A3J8

or just one category of data for that patient

    gdc_mirror --cases TCGA-EE-A3J8 --data-categories Copy_Number_Variation

or perform other operations such as seeing which NIH/NCI programs have exposed data for download

    %  gdc_list programs
    [
      "TCGA", 
      "TARGET"
    ]

or what programs have submitted data (that may not be exposed yet)

    %  gdc_list submission
    [
      "CCLE", 
      "REBC", 
      "TCGA", 
      "TARGET", 
      "CGCI", 
      "CDDP", 
      "ALCHEMIST", 
      "GDC", 
      "Exceptional_Responders", 
      "UAT08", 
      "TRIO", 
      "CPTAC"
    ]

After mirroring you may run gdc_dice on the mirror tree, followed by gdc_loadfile to generate a sample "freeze" list which identifies the data for loading into pipeline execution systems like Firehose or FireCloud. Finally, if you have matplotlib and R installed you may also run the gdc_report tool to generate an HTML samples report (similar to this) that provides an annotated description of the processed data; note that this tool will attempt to automatically install Nozzle if it is not detected within the R installation. As noted earlier, the tests/Makefile provides examples of using the dice, loadfile and report tools.

gdctools's People

Contributors

dheiman avatar noblem avatar aswanipranjal 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.