Skip to main content

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)

Release files for pytcga 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytcga 0.0.4
File Size Uploaded
pytcga-0.0.4.tar.gz 6.2 kB Details

Release files / pytcga-0.0.4.tar.gz

Download URL pytcga-0.0.4.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
72978b97ecbcf7d8230dba54cc7db61e05892ebf534c085d64a4e13e24acc50c
BLAKE2b-256 checksum
How to use checksums
2a5a2f51dd0e796bef4057ec80640cd949a59779d59078dce3f01763d1991091
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page