-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add treatment timeline to pancan studies #1597
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rmadupuri
requested review from
jjgao,
ritikakundra,
yichaoS and
sbabyanusha
February 11, 2022 16:52
yichaoS
approved these changes
Apr 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
Related issue #241
Testing instances:
BRCA : https://triage.cbioportal.mskcc.org/study/summary?id=brca_tcga_pan_can_atlas_2018
COADREAD: https://triage.cbioportal.mskcc.org/study/summary?id=coadread_tcga_pan_can_atlas_2018
OV: https://triage.cbioportal.mskcc.org/study/summary?id=ov_tcga_pan_can_atlas_2018
Tracks Added:
- Initial Diagnosis
- Stage_events
- New tumor events (Met, Recurrence..)
- Death
- Days to Last Follow Up
- Diabetes Onset
- Diagnostic Computed Tomography
- Diagnostic MRI
- FDG or CT_PET
- First Biochemical Recurrence
- Last Known Alive
- Pancreatitis Onset
- Performance Status Assessment
- Scan
- Stem Cell Transplantation
- Submitted Specimen Dx
Data Source:
GDAC Firehose: https://gdac.broadinstitute.org/
File used: Merge_Clinical.Level_1.20160128 (clin.merged.txt) for each cancer type.
TCGA Forms and Documents (for info on variables collected and index dates): https://www.nationwidechildrens.org/research/areas-of-research/biopathology-center/nci-ccg-project-team/the-cancer-genome-atlas/tcga-forms-and-documents
DATA TRANSFORMATION PROCESS:
The TCGA clinical data is organized hierarchically. The hierarchical data is transformed to flat table using a custom script and the patient nodes were filtered by terms
- drug
- radiation
- days_to
- omf
- followup
- samples
- new tumor events
Details on extracting the treatment data:
The treatment data for a patient (for a single drug, radiation) is organized as below (image taken from Enrico et al. medrxiv 2021)
patient.drugs
andpatient.radiations
are filtered for each patient and all the nodes (spanning multiple levels) are selected.Treatment timeline test: https://triage.cbioportal.mskcc.org/patient?studyId=brca_tcga_pan_can_atlas_2018&caseId=TCGA-A2-A0EW
Details on extracting the SAMPLE ACQUISITION track data:
patient.tumor_samples
were filtered for each patient.days_to_sample_procurement
attribute is used as the start_date.Details on extracting the STATUS track data:
days_to_death
attribute for each patient (patient.follow_ups.follow_up-2.days_to_death). And also pulled,patient.days_to_death
from each patient. Used the days_to_death from followup records if both the values exist. (CDR paper used the death values from followup)days_to_initial_pathologic_diagnosis
and all thestage_event
patient records are extracted.patient.new_tumor_events
records were extracted (gives info on recurrence, metastasis..)STATUS Track Test: https://triage.cbioportal.mskcc.org/patient?studyId=brca_tcga_pan_can_atlas_2018&caseId=TCGA-A2-A04P
Details on extracting the followup data:
patient.days_to_last_followup
andpatient.follow_ups
are filtered for each patient.Followup timeline test: https://triage.cbioportal.mskcc.org/patient?studyId=brca_tcga_pan_can_atlas_2018&caseId=TCGA-AR-A0TQ