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)

Metadata

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 Provenance
pytcga-0.0.4.tar.gz 6.2 kB Without provenance 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

Security for pytcga 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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