Q (sonnet): download MSK-CHORD study on Non-Small Cell Lung Cancer dataset ▶ resolve_and_route { "studyKeywords": [ "MSK-CHORD", "non-small cell lung" ] } ◀ result {"success":false,"error":"No matching studies found","details":{"searchTerms":["MSK-CHORD","non-small cell lung"]}} ▶ list_studies { "search": "CHORD" } ◀ result {"result":[{"cancer_study_identifier":"msk_chord_2024","name":"MSK-CHORD (MSK, Nature 2024)","type_of_cancer_id":"mixed","sample_count":25040,"has_guide":true,"url":"https://www.cbioportal.org/study/summary?id=msk_chord_2024"}]} ▶ resolve_and_route { "studyIds": [ "msk_chord_2024" ] } ◀ result {"success":true,"message":"Found 1 study. Use the metadata to call the appropriate navigation tool(s).","data":{"totalCount":1,"studiesWithMetadata":[{"studyId":"msk_chord_2024","name":"MSK-CHORD (MSK, Nature 2024)","sampleCount":25040,"studyViewUrl":"https://www.cbioportal.org/study?id=msk_chord_2024","metadata":{"clinicalAttributeIds":["ADRENAL_GLANDS","BONE","CANCER_TYPE","CANCER_TYPE_DETAILED","CLINICAL_GROUP","CLINICAL_SUMMARY","CNS_BRAIN","CURRENT_AGE_DEID","DIAGNOSIS_DESCRIPTION","ETHNICITY","FRACTION_GENOME_ALTERED","GENDER","GENE_PANEL","GLEASON_FIRST_REPORTED","GLEASON_HIGHEST_REPORTED","GLEASON_SAMPLE_LEVEL","HER2","HISTORY_OF_PDL1","HR","ICD_O_HISTOLOGY_DESCRIPTION","INTRA_ABDOMINAL","LIVER","LUNG","LYMPH_NODES","METASTATIC_SITE","MSI_COMMENT","MSI_SCORE","MSI_TYPE","MUTATION_COUNT","NUM_ICDO_DX","ONCOTREE_CODE","OS_MONTHS","OS_STATUS","OTHER","PATHOLOGICAL_GROUP","PDL1_POSITIVE","PLEURA","PRIMARY_SITE","PRIOR_MED_TO_MSK","RACE","REPRODUCTIVE_ORGANS","SAMPLE_CLASS","SAMPLE_COUNT","SAMPLE_COVERAGE","SAMPLE_TYPE","SMOKING_PREDICTIONS_3_CLASSES","SOMATIC_STATUS","STAGE_HIGHEST_RECORDED","TMB_NONSYNONYMOUS","TUMOR_PURITY"],"molecularProfileIds":["msk_chord_2024_cna","msk_chord_2024_mutations","msk_chord_2024_structural_variants"],"availableComparisonTabs":["overlap","clinical","survival","alterations","mutations"]}}]}} ▶ get_studyviewfilter_options { "studyId": "msk_chord_2024", "attributeIds": [ "CANCER_TYPE", "CANCER_TYPE_DETAILED" ] } ◀ result {"success":true,"message":"Successfully retrieved StudyView filter options","data":{"studyId":"msk_chord_2024","attributes":[{"attributeId":"CANCER_TYPE","displayName":"Cancer Type","description":"The main cancer type as defined by the Oncotree cancer classification system for precision oncology. Source: MPath","datatype":"STRING","values":["Non-Small Cell Lung Cancer","Colorectal Cancer","Prostate Cancer","Pancreatic Cancer","Breast Cancer"]},{"attributeId":"CANCER_TYPE_DETAILED","displayName":"Cancer Type Detailed","description":"The cancer subtype as defined by the Oncotree cancer classification system for precision oncology. Source: MPath","datatype":"STRING","values":["Colorectal Adenocarcinoma","Pleuropulmonary Blastoma","Intraductal Tubulopapillary Neoplasm","Prostate Adenocarcinoma","Intraductal Papillary Mucinous Neoplasm","Breast Invasive Carcinoma, NOS","Lymphoepithelioma-like Carcinoma of the Lung","Pleomorphic Carcinoma of the Lung","Breast Invasive Ductal Carcinoma","Large Cell Lung Carcinoma","Non-Small Cell Lung Cancer","Colon Adenocarcinoma In Situ","Adenomyoepithelioma of the Breast","Colon Adenocarcinoma","Lung Neuroendocrine Tumor","Basaloid Large Cell Carcinoma of the Lung","Pancreatic Neuroendocrine Carcinoma","Adenoid Cystic Breast Cancer","Spindle Cell Carcinoma of the Lung","Poorly Differentiated Non-Small Cell Lung Cancer","Signet Ring Cell Adenocarcinoma of the Colon and Rectum","Breast Ductal Carcinoma In Situ","Breast Invasive Carcinosarcoma, NOS","Adenosquamous Carcinoma of the Pancreas","Breast Neoplasm, NOS","Metaplastic Carcinosarcoma","Lung Adenosquamous Carcinoma","Osteoclastic Giant Cell Tumor","Lung Adenocarcinoma In Situ","Metaplastic Adenosquamous Carcinoma","Large Cell Neuroendocrine Carcinoma","Acinar Cell Carcinoma of the Pancreas","Sarcomatoid Carcinoma of the Lung","Pancreatic Adenocarcinoma","Prostate Neuroendocrine Carcinoma","Adenoid Cystic Carcinoma of the Lung","Breast Invasive Mixed Mucinous Carcinoma","Pancreatic Neuroendocrine Tumor","Atypical Lung Carcinoid","Metaplastic Adenocarcinoma with Spindle Cell Differentiation","Lung Carcinoid","NUT Carcinoma of the Lung","Pancreatoblastoma","Breast Invasive Lobular Carcinoma","Solid Papillary Carcinoma of the Breast","Juvenile Secretory Carcinoma of the Breast","Undifferentiated Carcinoma of the Pancreas","Lung Adenocarcinoma","Breast Mixed Ductal and Lobular Carcinoma","Paget Disease of the Nipple","Invasive Breast Carcinoma","Solid Pseudopapillary Neoplasm of the Pancreas","Mucoepidermoid Carcinoma of the Lung","Rectal Adenocarcinoma","Medullary Carcinoma of the Colon","Mucinous Adenocarcinoma of the Colon and Rectum","Mucinous Cystic Neoplasm","Breast Invasive Cancer, NOS","Lung Squamous Cell Carcinoma","Prostate Small Cell Carcinoma","Mixed Type Metaplastic Breast Cancer","Metaplastic Squamous Cell Carcinoma","Metaplastic Breast Cancer"]}]}} ▶ navigate_to_study_view { "studyIds": [ "msk_chord_2024" ], "filterJson": { "clinicalDataFilters": [ { "attributeId": "CANCER_TYPE", "values": [ { "value": "Non-Small Cell Lung Cancer" } ] } ] } } ◀ result {"success":true,"message":"Navigating to https://www.cbioportal.org/study/summary?id=msk_chord_2024#filterJson=%7B%22clinicalDataFilters%22%3A%5B%7B%22attributeId%22%3A%22CANCER_TYPE%22%2C%22values%22%3A%5B%7B%22value%22%3A%22Non-Small%20Cell%20Lung%20Cancer%22%7D%5D%7D%5D%7D","url":"https://www.cbioportal.org/study/summary?id=msk_chord_2024#filterJson=%7B%22clinicalDataFilters%22%3A%5B%7B%22attributeId%22%3A%22CANCER_TYPE%22%2C%22values%22%3A%5B%7B%22value%22%3A%22Non-Small%20Cell%20Lung%20Cancer%22%7D%5D%7D%5D%7D","data":{"studyIds":["msk_chord_2024"],"studies":[{"studyId":"msk_chord_2024","name":"MSK-CHORD (MSK, Nature 2024)","sampleCount":25040}],"tab":"summary","hasFilters":true,"hasPlotsConfig":false,"pageDescription":"Overview of all study data displayed as interactive charts summarizing available clinical and genomic data. Click within a chart to filter. Additional charts may be available in the Charts menu."}} ═ answer (success) ### [MSK-CHORD — Non-Small Cell Lung Cancer subset](https://www.cbioportal.org/study/summary?id=msk_chord_2024#filterJson=%7B%22clinicalDataFilters%22%3A%5B%7B%22attributeId%22%3A%22CANCER_TYPE%22%2C%22values%22%3A%5B%7B%22value%22%3A%22Non-Small%20Cell%20Lung%20Cancer%22%7D%5D%7D%5D%7D) MSK-CHORD (Nature 2024) is a pan-cancer cohort of 25,040 samples spanning NSCLC, breast, colorectal, prostate, and pancreatic cancer — there's no separate NSCLC-only study ID, so this link opens the full study pre-filtered to just the **Non-Small Cell Lung Cancer** cancer type. **To download the data:** 1. Open the link above — it loads with the NSCLC filter already applied. 2. Click **"Selected patients/samples"** at the top of the page, or check the filtered summary to confirm the subset. 3. Use the **Download** icon/tab on the study page to export clinical data, mutations, copy-number alterations, or structural variants for just that filtered NSCLC cohort (available profiles: mutations, CNA, structural variants). If you'd rather script the download, the same filtered data is accessible via the public [cBioPortal REST API](https://www.cbioportal.org/api) using study ID `msk_chord_2024` with an `ONCOTREE_CODE`/`CANCER_TYPE` clinical filter for NSCLC — happy to help draft that query if useful.