Dataset Viewer
Auto-converted to Parquet Duplicate
case_id
stringlengths
36
36
case_submitter_id
stringlengths
12
12
project_id
stringclasses
1 value
gdc_portal_url
stringlengths
72
72
primary_site
stringclasses
1 value
disease_type
stringclasses
1 value
index_date
stringclasses
1 value
consent_type
stringclasses
3 values
days_to_consent
int64
-294
3.68k
days_to_lost_to_followup
int64
lost_to_followup
stringclasses
2 values
demographic
dict
diagnoses
listlengths
1
5
follow_ups
listlengths
2
12
exposures
listlengths
0
0
family_histories
listlengths
0
0
samples
listlengths
2
4
survival_derived
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...
{ "os_event": 1, "os_time": 445, "dss_event": 0, "dss_time": 445, "pfi_event": 0, "pfi_time": 445, "dfi_event": 0, "dfi_time": 445 }
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", "age_at_index": 61, "age_is_obfuscated": false, "cause_of_death": null, "cause_of_death_source": null, "country_of_birth": null, "country_of_residence_at_enrollment": "United States", "days_to_birth...
[ { "diagnosis_id": "5df429a5-1ca8-5d31-b94f-ff09ca73e998", "submitter_id": "TCGA-OR-A5KB_diagnosis", "adrenal_hormone": null, "age_at_diagnosis": 22550, "ajcc_clinical_m": null, "ajcc_clinical_n": null, "ajcc_clinical_stage": null, "ajcc_clinical_t": null, "ajcc_pathologic_m": nul...
[ { "follow_up_id": "678761bd-eda9-4534-91d2-19339a67a1db", "submitter_id": "TCGA-OR-A5KB_follow_up5", "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": "c82fb2b6-aced-4b03-b8ec-af356496c071", "submitter_id": "TCGA-OR-A5KB-11A", "biospecimen_anatomic_site": null, "biospecimen_laterality": null, "catalog_reference": null, "current_weight": null, "days_to_collection": 355, "days_to_sample_procurement": null, "diagnos...
{ "os_event": 0, "os_time": 741, "dss_event": 0, "dss_time": 741, "pfi_event": 1, "pfi_time": 214, "dfi_event": 1, "dfi_time": 214 }
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", "age_at_index": 32, "age_is_obfuscated": false, "cause_of_death": null, "cause_of_death_source": null, "country_of_birth": null, "country_of_residence_at_enrollment": "Australia", "days_to_birth": -...
[ { "diagnosis_id": "805fa903-e4da-52bc-a342-75f5467e0caf", "submitter_id": "TCGA-OR-A5JH_diagnosis", "adrenal_hormone": null, "age_at_diagnosis": 11994, "ajcc_clinical_m": null, "ajcc_clinical_n": null, "ajcc_clinical_stage": null, "ajcc_clinical_t": null, "ajcc_pathologic_m": nul...
[ { "follow_up_id": "2d1e3692-6247-4d36-b12f-f3107957ee1c", "submitter_id": "TCGA-OR-A5JH_follow_up4", "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": "5dfdd66b-e079-4b5a-959e-a5558836d2f7", "submitter_id": "TCGA-OR-A5JH-01A", "biospecimen_anatomic_site": null, "biospecimen_laterality": null, "catalog_reference": null, "current_weight": null, "days_to_collection": 1811, "days_to_sample_procurement": null, "diagno...
{ "os_event": 0, "os_time": 2110, "dss_event": 0, "dss_time": 2110, "pfi_event": 0, "pfi_time": 2110, "dfi_event": 0, "dfi_time": 2110 }
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", "age_at_index": 44, "age_is_obfuscated": false, "cause_of_death": null, "cause_of_death_source": null, "country_of_birth": null, "country_of_residence_at_enrollment": "Canada", "days_to_birth": -161...
[ { "diagnosis_id": "cbebacda-556b-5b47-b0e8-5621e3733dc4", "submitter_id": "TCGA-PK-A5HC_diagnosis", "adrenal_hormone": null, "age_at_diagnosis": 16182, "ajcc_clinical_m": null, "ajcc_clinical_n": null, "ajcc_clinical_stage": null, "ajcc_clinical_t": null, "ajcc_pathologic_m": nul...
[ { "follow_up_id": "86f23aea-ec0d-43bb-b767-bc7e97c1e6a2", "submitter_id": "TCGA-PK-A5HC_follow_up5", "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": "18683430-ee50-4228-a1d0-0c9de0c0f25f", "submitter_id": "TCGA-PK-A5HC-01A", "biospecimen_anatomic_site": null, "biospecimen_laterality": null, "catalog_reference": null, "current_weight": null, "days_to_collection": 359, "days_to_sample_procurement": null, "diagnos...
{ "os_event": 0, "os_time": 679, "dss_event": 0, "dss_time": 679, "pfi_event": 1, "pfi_time": 131, "dfi_event": 1, "dfi_time": 131 }
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", "age_at_index": 83, "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": -30...
[ { "diagnosis_id": "b461588b-75a7-56ec-9ac2-f39bdff99cc0", "submitter_id": "TCGA-OR-A5L2_diagnosis", "adrenal_hormone": null, "age_at_diagnosis": 30535, "ajcc_clinical_m": null, "ajcc_clinical_n": null, "ajcc_clinical_stage": null, "ajcc_clinical_t": null, "ajcc_pathologic_m": nul...
[ { "follow_up_id": "5b660764-ddca-4c69-92eb-038493678d35", "submitter_id": "TCGA-OR-A5L2_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": "65d78b08-0b5c-415b-a4e3-41111eb42c09", "submitter_id": "TCGA-OR-A5L2-01A", "biospecimen_anatomic_site": null, "biospecimen_laterality": null, "catalog_reference": null, "current_weight": null, "days_to_collection": 4313, "days_to_sample_procurement": null, "diagno...
{ "os_event": 1, "os_time": 1852, "dss_event": 0, "dss_time": 1852, "pfi_event": 0, "pfi_time": 1852, "dfi_event": 0, "dfi_time": 1852 }
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)
{"os_event":1,"os_time":383.0,"dss_event":1,"dss_time":383.0,"pfi_event":1,"pfi_time":11.0,"dfi_even(...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)
{"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)
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)
{"os_event":0,"os_time":2677.0,"dss_event":0,"dss_time":2677.0,"pfi_event":0,"pfi_time":2677.0,"dfi_(...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)
{"os_event":1,"os_time":436.0,"dss_event":1,"dss_time":436.0,"pfi_event":1,"pfi_time":61.0,"dfi_even(...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)
{"os_event":0,"os_time":2549.0,"dss_event":0,"dss_time":2549.0,"pfi_event":0,"pfi_time":2549.0,"dfi_(...TRUNCATED)
End of preview. Expand in Data Studio

TCGA Tabular (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 (project, table). See the tcga-patients-open companion for a per-row view of the same underlying data.

  • Generated: 2026-05-09 22:33:46 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 cases table — one row per patient with the GDC case JSON structure preserved as nested struct columns (demographic, diagnoses[], follow_ups[], samples[], ...); gdc_portal_url link added
Masked Somatic Mutation MAFs masked_somatic_mutation table — one row per variant (sample FKs resolved alongside GDC's aliquot UUIDs)
Gene Expression Quantification gene_expression_quantification table — one row per (aliquot, gene); stranded_first / stranded_second dropped (GDC harmonizes as unstranded)
BCR Clinical Supplements clinical_supplement_* tables — one per BCR form (patient, follow_up, nte, drug, radiation, ablation, omf)
Per-modality manifests files table — one row per (file, case) with file_id / md5sum / data_type / size; useful for joining a row back to its source file or replaying a specific modality fetch

Specific to this view

  • Joining: every flat row carries case_submitter_id (and aliquot_submitter_id where applicable) for direct joins back to cases without re-resolving UUIDs.
  • Each (project, table) pair is one HuggingFace config named <project>_<table> (e.g. TCGA_LUAD_cases).
  • BCR fields in the clinical_supplement_* tables are all typed as strings, with sentinel values like [Not Available] preserved verbatim.

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).

Surfaced as a standalone survival_derived table (one row per patient, joined to cases on case_submitter_id) with eight columns: 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 (project, table).
# Config names are <project>_<table> with dashes replaced by underscores.
luad_cases = load_dataset("gabrielaltay/tcga-tabular-open", "TCGA_LUAD_cases")
luad_muts = load_dataset(
    "gabrielaltay/tcga-tabular-open", "TCGA_LUAD_masked_somatic_mutation"
)

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
112