Skip to main content

Store and query public TCGA data

Project description

pytcga

Python library for accessing and processing public TCGA data

Examples

Loading Clinical Data

import pytcga

# Downloading and loading LUAD patient data
clinical = pytcga.load_clinical_data('luad')

Loading Mutation Data

import pytcga

# Downloading and loading LUAD mutations
luad_mutations = \
    pytcga.load_mutation_data(disease_code='LUAD', with_clinical=False)


# Also appends clinical data with `with_clinical` flag
luad_mutations = \
    pytcga.load_mutation_data(disease_code='LUAD', with_clinical=True)

# Filter variants with the `variant_type` argument
# variant_type = {'all', 'indel', SNP', 'INS', 'DEL'}
luad_indel_mutations = \
    pytcga.load_mutation_data(disease_code='LUAD', with_clinical=True, variant_type='indel')

Loading RNASeq Data

import pytcga

# Downloading and loading LUAD mutations
luad_rnaseq = \
    pytcga.load_rnaseq_data(disease_code='LUAD', with_clinical=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytcga-0.0.4.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file pytcga-0.0.4.tar.gz.

File metadata

  • Download URL: pytcga-0.0.4.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytcga-0.0.4.tar.gz
Algorithm Hash digest
SHA256 72978b97ecbcf7d8230dba54cc7db61e05892ebf534c085d64a4e13e24acc50c
MD5 246b8320d2dbffaa1327b3609a364e9f
BLAKE2b-256 2a5a2f51dd0e796bef4057ec80640cd949a59779d59078dce3f01763d1991091

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page