Dataset Viewer
Auto-converted to Parquet Duplicate
case_id
string
case_submitter_id
string
project_id
string
gdc_portal_url
string
primary_site
string
disease_type
string
index_date
string
consent_type
string
days_to_consent
int64
days_to_lost_to_followup
int64
lost_to_followup
string
demographic
dict
diagnoses
list
follow_ups
list
exposures
list
family_histories
list
samples
list
samples_masked_somatic_mutation
list
samples_gene_expression_quantification
list
survival_derived
dict
clinical_supplement
dict
7e61e3b8-c617-4a5f-afdf-689521c9a670
TCGA-OR-A5LF
TCGA-ACC
https://portal.gdc.cancer.gov/cases/7e61e3b8-c617-4a5f-afdf-689521c9a670
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Consent Waiver
null
null
null
{ "demographic_id": "e469eec9-401b-5562-add8-b38588888ed2", "submitter_id": "TCGA-OR-A5LF_demographic", "age_at_index": 74, "age_is_obfuscated": false, "cause_of_death": null, "cause_of_death_source": null, "country_of_birth": null, "country_of_residence_at_enrollment": "Germany", "days_to_birth": -27...
[ { "diagnosis_id": "a9e0828b-c0db-581d-8897-3a0b36c58339", "submitter_id": "TCGA-OR-A5LF_diagnosis", "adrenal_hormone": null, "age_at_diagnosis": 27179, "ajcc_clinical_m": null, "ajcc_clinical_n": null, "ajcc_clinical_stage": null, "ajcc_clinical_t": null, "ajcc_pathologic_m": nul...
[ { "follow_up_id": "7cdc39f7-c76b-4a88-bb2d-df861d3e10a2", "submitter_id": "TCGA-OR-A5LF_follow_up2", "adverse_event": null, "adverse_event_grade": null, "barretts_esophagus_goblet_cells_present": null, "cause_of_response": null, "days_to_adverse_event": null, "days_to_first_event": n...
[]
[]
[ { "sample_id": "0b547426-8d18-42db-9832-91d5cba7c370", "submitter_id": "TCGA-OR-A5LF-01A", "biospecimen_anatomic_site": null, "biospecimen_laterality": null, "catalog_reference": null, "current_weight": null, "days_to_collection": 3880, "days_to_sample_procurement": null, "diagno...
[ { "tumor_sample_id": "0b547426-8d18-42db-9832-91d5cba7c370", "matched_normal_sample_id": "6f8fad82-5a17-4be4-8215-f8f86a8350f6", "source_file_id": "3f53a3d5-249b-429d-998e-f390d4a6de50", "Hugo_Symbol": "ZCCHC17", "Entrez_Gene_Id": 51538, "Center": "BCM", "NCBI_Build": "GRCh38", "Chro...
[]
{ "os_event": 1, "os_time": 445, "dss_event": 0, "dss_time": 445, "pfi_event": 0, "pfi_time": 445, "dfi_event": 0, "dfi_time": 445 }
{ "patient": { "bcr_patient_uuid": "7E61E3B8-C617-4A5F-AFDF-689521C9A670", "bcr_patient_barcode": "TCGA-OR-A5LF", "form_completion_date": "2014-6-27", "prospective_collection": "NO", "retrospective_collection": "YES", "gender": "FEMALE", "race": "WHITE", "ethnicity": "NOT HISPANIC OR L...
09454ed6-64bc-4a35-af44-7c4344623d45
TCGA-OR-A5KB
TCGA-ACC
https://portal.gdc.cancer.gov/cases/09454ed6-64bc-4a35-af44-7c4344623d45
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Informed Consent
116
null
No
{"demographic_id":"0e0589ec-863f-5435-8e06-11f27c15727f","submitter_id":"TCGA-OR-A5KB_demographic","(...TRUNCATED)
[{"diagnosis_id":"5df429a5-1ca8-5d31-b94f-ff09ca73e998","submitter_id":"TCGA-OR-A5KB_diagnosis","adr(...TRUNCATED)
[{"follow_up_id":"678761bd-eda9-4534-91d2-19339a67a1db","submitter_id":"TCGA-OR-A5KB_follow_up5","ad(...TRUNCATED)
[]
[]
[{"sample_id":"c82fb2b6-aced-4b03-b8ec-af356496c071","submitter_id":"TCGA-OR-A5KB-11A","biospecimen_(...TRUNCATED)
[{"tumor_sample_id":"fc29b5b8-0e57-4fa7-b9fe-69c5a0b1d83f","matched_normal_sample_id":"c82fb2b6-aced(...TRUNCATED)
[]
{"os_event":0,"os_time":741.0,"dss_event":0,"dss_time":741.0,"pfi_event":1,"pfi_time":214.0,"dfi_eve(...TRUNCATED)
{"patient":{"bcr_patient_uuid":"09454ED6-64BC-4A35-AF44-7C4344623D45","bcr_patient_barcode":"TCGA-OR(...TRUNCATED)
4f845fea-e823-47d6-89fb-36ee478a43b8
TCGA-OR-A5JH
TCGA-ACC
https://portal.gdc.cancer.gov/cases/4f845fea-e823-47d6-89fb-36ee478a43b8
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Informed Consent
0
null
No
{"demographic_id":"57fcf92a-9bc7-5bb9-8f27-6d8d22bd34cf","submitter_id":"TCGA-OR-A5JH_demographic","(...TRUNCATED)
[{"diagnosis_id":"805fa903-e4da-52bc-a342-75f5467e0caf","submitter_id":"TCGA-OR-A5JH_diagnosis","adr(...TRUNCATED)
[{"follow_up_id":"2d1e3692-6247-4d36-b12f-f3107957ee1c","submitter_id":"TCGA-OR-A5JH_follow_up4","ad(...TRUNCATED)
[]
[]
[{"sample_id":"5dfdd66b-e079-4b5a-959e-a5558836d2f7","submitter_id":"TCGA-OR-A5JH-01A","biospecimen_(...TRUNCATED)
[{"tumor_sample_id":"5dfdd66b-e079-4b5a-959e-a5558836d2f7","matched_normal_sample_id":"87b9fe70-7847(...TRUNCATED)
[]
{"os_event":0,"os_time":2110.0,"dss_event":0,"dss_time":2110.0,"pfi_event":0,"pfi_time":2110.0,"dfi_(...TRUNCATED)
{"patient":{"bcr_patient_uuid":"4F845FEA-E823-47D6-89FB-36EE478A43B8","bcr_patient_barcode":"TCGA-OR(...TRUNCATED)
891b7a67-0a01-45f0-8a32-4a1b3e888f6c
TCGA-PK-A5HC
TCGA-ACC
https://portal.gdc.cancer.gov/cases/891b7a67-0a01-45f0-8a32-4a1b3e888f6c
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Informed Consent
-4
null
null
{"demographic_id":"41caabd9-996c-58c3-a2d9-4f5aac2bd59a","submitter_id":"TCGA-PK-A5HC_demographic","(...TRUNCATED)
[{"diagnosis_id":"cbebacda-556b-5b47-b0e8-5621e3733dc4","submitter_id":"TCGA-PK-A5HC_diagnosis","adr(...TRUNCATED)
[{"follow_up_id":"86f23aea-ec0d-43bb-b767-bc7e97c1e6a2","submitter_id":"TCGA-PK-A5HC_follow_up5","ad(...TRUNCATED)
[]
[]
[{"sample_id":"18683430-ee50-4228-a1d0-0c9de0c0f25f","submitter_id":"TCGA-PK-A5HC-01A","biospecimen_(...TRUNCATED)
[{"tumor_sample_id":"18683430-ee50-4228-a1d0-0c9de0c0f25f","matched_normal_sample_id":"92d49bf6-f6ba(...TRUNCATED)
[]
{"os_event":0,"os_time":679.0,"dss_event":0,"dss_time":679.0,"pfi_event":1,"pfi_time":131.0,"dfi_eve(...TRUNCATED)
{"patient":{"bcr_patient_uuid":"891B7A67-0A01-45F0-8A32-4A1B3E888F6C","bcr_patient_barcode":"TCGA-PK(...TRUNCATED)
a26b6f97-fd7e-4b96-bdf5-9df4f9233726
TCGA-OR-A5L2
TCGA-ACC
https://portal.gdc.cancer.gov/cases/a26b6f97-fd7e-4b96-bdf5-9df4f9233726
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Consent Waiver
null
null
No
{"demographic_id":"9e0983e3-ddd4-5d41-a8fd-cf1db8a30c32","submitter_id":"TCGA-OR-A5L2_demographic","(...TRUNCATED)
[{"diagnosis_id":"b461588b-75a7-56ec-9ac2-f39bdff99cc0","submitter_id":"TCGA-OR-A5L2_diagnosis","adr(...TRUNCATED)
[{"follow_up_id":"5b660764-ddca-4c69-92eb-038493678d35","submitter_id":"TCGA-OR-A5L2_follow_up2","ad(...TRUNCATED)
[]
[]
[{"sample_id":"65d78b08-0b5c-415b-a4e3-41111eb42c09","submitter_id":"TCGA-OR-A5L2-01A","biospecimen_(...TRUNCATED)
[{"tumor_sample_id":"65d78b08-0b5c-415b-a4e3-41111eb42c09","matched_normal_sample_id":"b59782fb-1566(...TRUNCATED)
[]
{"os_event":1,"os_time":1852.0,"dss_event":0,"dss_time":1852.0,"pfi_event":0,"pfi_time":1852.0,"dfi_(...TRUNCATED)
{"patient":{"bcr_patient_uuid":"A26B6F97-FD7E-4B96-BDF5-9DF4F9233726","bcr_patient_barcode":"TCGA-OR(...TRUNCATED)
0824b246-9fa2-4a8b-ad4c-1ffc7731bf7d
TCGA-P6-A5OG
TCGA-ACC
https://portal.gdc.cancer.gov/cases/0824b246-9fa2-4a8b-ad4c-1ffc7731bf7d
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Informed Consent
0
null
null
{"demographic_id":"a5957a98-4b3d-5651-a154-8adf70d31771","submitter_id":"TCGA-P6-A5OG_demographic","(...TRUNCATED)
[{"diagnosis_id":"4c402ccd-1dbe-4292-9b33-1d94742960de","submitter_id":"TCGA-P6-A5OG_diagnosis4","ad(...TRUNCATED)
[{"follow_up_id":"10d1fcd1-ec89-410a-aa2c-8df04aa7c866","submitter_id":"TCGA-P6-A5OG_follow_up6","ad(...TRUNCATED)
[]
[]
[{"sample_id":"328c543d-50a7-427f-a241-cb0c2fd7fd18","submitter_id":"TCGA-P6-A5OG-10A","biospecimen_(...TRUNCATED)
[{"tumor_sample_id":"af208939-bae3-4cb8-9ad3-f799c38fc1c0","matched_normal_sample_id":"328c543d-50a7(...TRUNCATED)
[{"sample_id":"af208939-bae3-4cb8-9ad3-f799c38fc1c0","aliquot_id":"b5a3bdce-d4ad-43a6-8fbc-1e9d31dc2(...TRUNCATED)
{"os_event":1,"os_time":383.0,"dss_event":1,"dss_time":383.0,"pfi_event":1,"pfi_time":11.0,"dfi_even(...TRUNCATED)
{"patient":{"bcr_patient_uuid":"0824B246-9FA2-4A8B-AD4C-1FFC7731BF7D","bcr_patient_barcode":"TCGA-P6(...TRUNCATED)
92b67ca9-6c82-463e-9cc5-685a1d02ea3e
TCGA-P6-A5OH
TCGA-ACC
https://portal.gdc.cancer.gov/cases/92b67ca9-6c82-463e-9cc5-685a1d02ea3e
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Consent by Death
null
null
null
{"demographic_id":"9fb3f97f-3c1f-5de1-a061-b61419394a47","submitter_id":"TCGA-P6-A5OH_demographic","(...TRUNCATED)
[{"diagnosis_id":"5e0b9334-39ff-50c4-8e06-90abf6160c31","submitter_id":"TCGA-P6-A5OH_diagnosis","adr(...TRUNCATED)
[{"follow_up_id":"6844bd8f-6ecc-468a-99d1-366a47d2129f","submitter_id":"TCGA-P6-A5OH_follow_up","adv(...TRUNCATED)
[]
[]
[{"sample_id":"e9fc10af-598a-4b10-84b0-c77131daae5b","submitter_id":"TCGA-P6-A5OH-01A","biospecimen_(...TRUNCATED)
[{"tumor_sample_id":"e9fc10af-598a-4b10-84b0-c77131daae5b","matched_normal_sample_id":"f37b5a9a-ca76(...TRUNCATED)
[]
{"os_event":1,"os_time":0.0,"dss_event":1,"dss_time":0.0,"pfi_event":1,"pfi_time":0.0,"dfi_event":nu(...TRUNCATED)
{"patient":{"bcr_patient_uuid":"92B67CA9-6C82-463E-9CC5-685A1D02EA3E","bcr_patient_barcode":"TCGA-P6(...TRUNCATED)
a3383252-1161-4b65-8bac-125a6eda3d08
TCGA-OR-A5KQ
TCGA-ACC
https://portal.gdc.cancer.gov/cases/a3383252-1161-4b65-8bac-125a6eda3d08
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Informed Consent
25
null
No
{"demographic_id":"9d787db9-12f8-5f84-89ae-01bb5e0322c5","submitter_id":"TCGA-OR-A5KQ_demographic","(...TRUNCATED)
[{"diagnosis_id":"8daf9a75-e5d7-5808-8b88-dd79a70fb356","submitter_id":"TCGA-OR-A5KQ_diagnosis","adr(...TRUNCATED)
[{"follow_up_id":"78bda601-5132-43ec-a4e0-99d1482ba1e5","submitter_id":"TCGA-OR-A5KQ_follow_up2","ad(...TRUNCATED)
[]
[]
[{"sample_id":"ee6f808d-bbd6-4e44-b17b-0f6673a6364f","submitter_id":"TCGA-OR-A5KQ-01A","biospecimen_(...TRUNCATED)
[{"tumor_sample_id":"ee6f808d-bbd6-4e44-b17b-0f6673a6364f","matched_normal_sample_id":"f48ee194-9f33(...TRUNCATED)
[]
{"os_event":0,"os_time":2677.0,"dss_event":0,"dss_time":2677.0,"pfi_event":0,"pfi_time":2677.0,"dfi_(...TRUNCATED)
{"patient":{"bcr_patient_uuid":"A3383252-1161-4B65-8BAC-125A6EDA3D08","bcr_patient_barcode":"TCGA-OR(...TRUNCATED)
ec9c3efe-af61-4deb-b047-dcf7ee735fd2
TCGA-OR-A5LI
TCGA-ACC
https://portal.gdc.cancer.gov/cases/ec9c3efe-af61-4deb-b047-dcf7ee735fd2
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Consent Waiver
null
null
No
{"demographic_id":"14963079-c87c-54ea-9102-4256b1572bd1","submitter_id":"TCGA-OR-A5LI_demographic","(...TRUNCATED)
[{"diagnosis_id":"1577e70b-71cb-5432-bdb7-2fda4e118bf9","submitter_id":"TCGA-OR-A5LI_diagnosis","adr(...TRUNCATED)
[{"follow_up_id":"89807165-f9df-49aa-a687-f09afe46566d","submitter_id":"TCGA-OR-A5LI_follow_up6","ad(...TRUNCATED)
[]
[]
[{"sample_id":"d73c067c-18bc-4656-9d8b-133037272ef0","submitter_id":"TCGA-OR-A5LI-10A","biospecimen_(...TRUNCATED)
[{"tumor_sample_id":"e4bf6516-5305-4917-b278-f3c993884758","matched_normal_sample_id":"d73c067c-18bc(...TRUNCATED)
[]
{"os_event":1,"os_time":436.0,"dss_event":1,"dss_time":436.0,"pfi_event":1,"pfi_time":61.0,"dfi_even(...TRUNCATED)
{"patient":{"bcr_patient_uuid":"EC9C3EFE-AF61-4DEB-B047-DCF7EE735FD2","bcr_patient_barcode":"TCGA-OR(...TRUNCATED)
11d8a9c2-14d8-4fc2-8388-386051e408b1
TCGA-OR-A5KS
TCGA-ACC
https://portal.gdc.cancer.gov/cases/11d8a9c2-14d8-4fc2-8388-386051e408b1
Adrenal gland
Adenomas and Adenocarcinomas
Diagnosis
Informed Consent
107
null
No
{"demographic_id":"cef0d254-66f0-526a-b7dc-760ff2d711e3","submitter_id":"TCGA-OR-A5KS_demographic","(...TRUNCATED)
[{"diagnosis_id":"14dd3c11-49a5-5f4d-8ed6-dd2a46b02f70","submitter_id":"TCGA-OR-A5KS_diagnosis","adr(...TRUNCATED)
[{"follow_up_id":"1909d779-383c-452f-bf72-907a9c845a91","submitter_id":"TCGA-OR-A5KS_follow_up","adv(...TRUNCATED)
[]
[]
[{"sample_id":"67924e9c-059b-4c9c-861e-4c33e9bf5d57","submitter_id":"TCGA-OR-A5KS-01A","biospecimen_(...TRUNCATED)
[{"tumor_sample_id":"67924e9c-059b-4c9c-861e-4c33e9bf5d57","matched_normal_sample_id":"7e3f5840-5f91(...TRUNCATED)
[]
{"os_event":0,"os_time":2549.0,"dss_event":0,"dss_time":2549.0,"pfi_event":0,"pfi_time":2549.0,"dfi_(...TRUNCATED)
{"patient":{"bcr_patient_uuid":"11D8A9C2-14D8-4FC2-8388-386051E408B1","bcr_patient_barcode":"TCGA-OR(...TRUNCATED)
End of preview. Expand in Data Studio

TCGA Patients (Open Access)

Open-access TCGA data from the NCI Genomic Data Commons (GDC). Covers all 33 TCGA projects.

This view presents one HuggingFace subset per TCGA project, with one row per patient. See the tcga-tabular-open companion for a per-table view of the same underlying data.

  • Generated: 2026-05-09 22:03:39 UTC
  • Schema: derived from the GDC Data Dictionary.
  • GDC data release: Data Release 45.0 - December 04, 2025

Data model

Where the data comes from

Three sources feed each project's data, all open-access:

  • Case-level clinical structure — fetched from the GDC /cases endpoint, returning the full nested case JSON (demographic + diagnoses → treatments + follow_ups + exposures + family_histories + samples → portions → analytes → aliquots). The biospecimen subtree on each case:

    case          one patient (TCGA-XX-1234)
    └── sample    physical specimen taken from the patient at one timepoint
                  (Primary Tumor, Solid Tissue Normal, Blood Derived Normal, ...)
        └── portion    a piece of that sample for a specific lab process
            └── analyte    extracted material of one type (DNA or RNA)
                └── aliquot    a vial of that analyte handed off for sequencing
    
  • Per-modality molecular files — discovered via /files (filtered by the clauses in the table below) and downloaded via /data. Each combination locks one data_type to a specific GDC pipeline so a future GDC addition can't quietly substitute a different pipeline under the same data_type.

  • BCR Clinical Supplement biotabs — original Biospecimen Core Resource (BCR) clinical forms shipped as per-project TSVs (one per form: patient, follow_up, nte, drug, radiation, etc.). The harmonized /cases endpoint drops or under-populates a number of clinical fields the BCR-original biotabs preserve. The schema varies by cancer type (e.g. BLCA's BCG-response columns don't exist in CHOL's hepatic-marker forms), so each project's biotabs ship only the columns they actually carry. Discovered the same way (/files then /data) — see the filter table below.

Source data filters (canonical)

Same in both views of the dataset; each row locks the /files query for one source:

data_type data_format data_category experimental_strategy analysis.workflow_type
Masked Somatic Mutation MAF Simple Nucleotide Variation WXS Aliquot Ensemble Somatic Variant Merging and Masking
Gene Expression Quantification TSV Transcriptome Profiling RNA-Seq STAR - Counts
Clinical Supplement bcr biotab Clinical

How each source appears in this view

Source Where it lands
GDC /cases nested fields on each patient row (demographic, diagnoses, follow_ups, exposures, family_histories, samples); gdc_portal_url link added
Masked Somatic Mutation MAFs samples_masked_somatic_mutation array on each patient row (sample FKs resolved alongside GDC's aliquot UUIDs)
Gene Expression Quantification samples_gene_expression_quantification array on each patient row (stranded_first / stranded_second dropped — GDC harmonizes as unstranded)
BCR Clinical Supplements clinical_supplement struct on each patient row, with sub-fields patient (1 dict) and follow_ups / ntes / drugs / radiations / ablations / omfs (lists of dicts). Sub-fields with no data for the project are omitted.

Specific to this view

  • Convenience: each row carries samples_<modality> array columns so you can column-project just the molecular data you need without walking the nested GDC entities.
  • Loading: the tcga2hf package ships a typed TcgaHfPatient pydantic model that mirrors this schema and adds convenience joins (tumor/normal pairs, mutations-by-gene, expression-by-gene, longitudinal timeline).

Provenance pinned per build

  • GET /statusdata_release / tag / commit saved in each project's gdc_status.json.
  • GET /v0/submission/_dictionary/_all → schema dictionary snapshot saved alongside the raw data; its SHA-256 is recorded in gdc_status.json.

See the repository for full request payloads, filter clauses, and the build pipeline source.

Survival endpoints (survival_derived)

We have provided a supplement to the GDC source data: re-derived survival endpoints — Overall Survival (OS), Disease-Specific Survival (DSS), Progression-Free Interval (PFI), Disease-Free Interval (DFI) — following the algorithm published by Liu et al. 2018 (DOI 10.1016/j.cell.2018.02.052).

Each patient row carries a top-level survival_derived struct with eight sub-fields: os_event / os_time, dss_event / dss_time, pfi_event / pfi_time, dfi_event / dfi_time. *_event is 0/1 (event observed vs censored); *_time is days from index_date (TCGA: diagnosis date). DFI is null for SKCM / THYM / UVM / LAML — Liu specifies no DFI for those tumor types.

We've reimplemented Liu's method against the current TCGA data and find broad agreement with the original curated CDR. Differences exist and are expected: this is a newer release of the underlying GDC data, so re-curated clinical values, post-2018 patient additions, and schema migrations all contribute to the gap. This work is evolving; see the repository for the full reproduction report and per-endpoint methodology.

Why we don't ship Liu's curated 2018 values directly: the CDR is a frozen 2018 snapshot derived from a since-modified GDC release. Including those values would lock in irreproducible source-data drift. We re-derive on every build, so the values reflect the current GDC and are reproducible from this dataset's other tables alone.

Loading

from datasets import load_dataset

# One config per TCGA project.
luad = load_dataset("gabrielaltay/tcga-patients-open", "TCGA-LUAD")

Each row is one patient with the full GDC case structure nested in-place plus the survival_derived struct.

GDC references

License & redistribution

Per the NCI GDC Data Analysis Policy:

The GDC itself places no restrictions (other than attempts at reidentification) on analysis or publication of open access data provided through the GDC Data Portal.

Per the NCI TCGA citation page:

Moratoria on all cancer types are now lifted and all TCGA data are available without restrictions on their use in publications or presentations.

Per the GDC Data Access Processes and Tools page:

Open access data generally includes high level genomic data that is not individually identifiable, as well as most clinical and all biospecimen data elements.

Restrictions on use

Users of any data provided by GDC, whether open or controlled access, agree not to attempt to reidentify any individual participant in any study represented by GDC data, for any purpose whatever. (source)

Required acknowledgement

If you publish or present results derived from this dataset, include the NCI-required TCGA acknowledgement:

The results here are in whole or part based upon data generated by the TCGA Research Network: https://www.cancer.gov/tcga.

Suggested citations:

Policy references: GDC Policies, GDC Encyclopedia — Controlled Access (defines what is not in this dataset), NIH Genomic Data Sharing Policy.

Disclaimer

This project is not affiliated with the NCI, GDC, or the TCGA Research Network. It is an experimental open-source pipeline that may change significantly between versions. Pipeline source: galtay/tcga2hf.

Downloads last month
96