hammerlab/pygdc

Name: pygdc

Owner: Hammer Lab

Description: Python API for Genomic Data Commons

Created: 2016-09-15 15:21:35.0

Updated: 2017-07-19 15:29:17.0

Pushed: 2016-09-27 23:32:23.0

Homepage: null

Size: 32

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

PyGDC

Python API for accessing Genomic Data Commons

Basic API
Cases
 pygdc import get_cases
 pygdc.filters import equals_filter


lts = get_cases(
filters=equals_filter('project.primary_site', 'Lung'), 
fields='demographic.gender,project.disease_type', 
max_results=50

Cohorts Example

Using cohorts

rt pygdc

c.build_cohort(
primary_site='Lung', 
cohort_cache_dir='cache-dir')

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.