Q (sonnet-5.5): in salivary cancer (adenoid cystic carcinoma), what are the expected drivers ? Classify them by actionability. What about BCOR mutations, either somatic or germline ? ▶ read_guide { "uri": "cbioportal://mutation-frequency-guide" } ▶ read_guide { "uri": "cbioportal://germline-guide" } ▶ read_guide { "uri": "cbioportal://sample-filtering-guide" } ◀ result # Mutation Frequency Analysis Guide ## IMPORTANT: Reporting Mutation Frequencies - **ALWAYS report frequencies as percentages**, not raw counts: `frequency = (altered_samples / total_profiled_samples) × 100` - For quick frequency lookups, **prefer the TCGA Pan-Cancer Atlas study first**, then offer to expand to other studies - When reporting across multiple studies, show **ranges** (e.g., "TP53 is mutated in 30–60% of samples") rather than a single average - **NEVER** sum mutation events across studies to compute an aggregate frequency — this can exceed 100% due to double-counting - Warn users that samples may overlap across cohorts (e.g., MSK studies may share patients) - **Choose and state the counting unit**: use patient-level frequencies for prevalence/rate questions unless the user explicitly asks for samples; use sample-level frequencies when the user asks about samples. - **For "across cancer types" questions**, jump to the [Cross-Cancer-Type Mutation Frequency](#cross-cancer-type-mutation-frequency) section below — there is one correct recipe and several common wrong ones. ## Counting Unit: Samples vs Patients Before answering any mutation count or frequency question, decide whether the unit is samples or patients and state that choice in the answer. | User wording | Counting unit | |--------------|---------------| | "prevalence", "rate", "fraction of patients", "patients with", "how common is" | Patient-level: `COUNT(DISTINCT patient_unique_id)` | | "samples", "specimens", "biopsies", sample-level cohort composition | Sample-level: `COUNT(DISTINCT sample_unique_id)` | | Ambiguous | Ask, or default to patient-level for prevalence/rate language and say so | ### Cross-study sample-count caveat When an answer touches more than one study and reports a sample count, prepend a one-line caveat: > Sample IDs are unique within cBioPortal study prefixes, not guaranteed biological-sample identifiers across studies; overlapping cohorts can count the same patient/sample more than once. Prefer one of these safer approaches: - Use a shipped `cancer_study_query_preferences` cohort such as `pan_cancer_tcga` or `all_studies_non_redundant`. - Restrict to one named study. - Aggregate by `patient_unique_id` when the biological question is patient prevalence. ## STOP rule: a frequency above 100% means your query is wrong If your query returns a frequency over 100%, **do not try to debug or explain the data inconsistency to the user**. The cause is always one of these query bugs: - Summing mutation events instead of `COUNT(DISTINCT sample_unique_id)` for the numerator - Using a study-wide sample count as the denominator instead of the gene-specific profiled count - Cross-study aggregation where the same biological sample appears under multiple `sample_unique_id` values (e.g., MSK-IMPACT and MSK-CHORD share patients) - **Joining the profiled CTE through `gene_panel` / `gene_panel_list` without a WES branch.** `gene_panel_id = 'WES'` is *not* a row in … (36467 more chars) ▶ search_oncotree { "search_term": "adenoid cystic carcinoma" } ◀ result Germline Variant Guide ====================== Overview -------- cBioPortal stores both somatic AND germline variant data. Many cBioPortal features work identically for both variant types. This guide explains how to query germline variants and what to be aware of. How Germline Data is Stored --------------------------- ### mutation_status is free text — always compare case-insensitively Each study loads its own spelling. Germline calls appear as `'Germline'`, `'GERMLINE'` and `'germline'`; somatic calls as `'Somatic'`, `'SOMATIC'` and `'somatic'`; unannotated mutations as `'NA'`, `'.'`, `'Unknown'`, `'UNKNOWN'`, `'__UNKNOWN__'` and others. Matching one spelling silently drops whole studies (`mutation_status = 'Germline'` misses `all_stjude_2013`, `aml_stjude_2024` and `pog570_bcgsc_2020`). - **Germline:** `upper(mutation_status) = 'GERMLINE'` - **Somatic:** `upper(mutation_status) = 'SOMATIC'` — but only when the user asks for somatic-only. Many studies label their somatic calls `'NA'` or `'UNKNOWN'`, so for ordinary mutation questions follow common-pitfalls #3 and exclude only `'UNCALLED'`. - When unsure, list the values first: `SELECT mutation_status, count() FROM genomic_event_derived WHERE cancer_study_identifier = '{study_id}' AND variant_type = 'mutation' GROUP BY mutation_status` ### Where the column lives - `genomic_event_derived.mutation_status` (preferred): mutations, and structural variants (from `sv_status`: `'SOMATIC'`, `'Somatic'`, `'GERMLINE'`) - `mutation_derived.mutationStatus`: the same values for mutations Identifying Studies with Germline Data -------------------------------------- Not all studies include germline data. Always check before querying: ```sql -- Find studies containing germline mutations SELECT cancer_study_identifier, COUNT(*) as germline_count FROM genomic_event_derived WHERE variant_type = 'mutation' AND upper(mutation_status) = 'GERMLINE' GROUP BY cancer_study_identifier ORDER BY germline_count DESC ``` Common Query Patterns --------------------- ### Count germline vs somatic mutations per gene in a study ```sql SELECT hugo_gene_symbol, upper(mutation_status) AS status, COUNT(*) as count FROM genomic_event_derived WHERE cancer_study_identifier = '{study_id}' AND variant_type = 'mutation' AND upper(mutation_status) IN ('GERMLINE', 'SOMATIC') GROUP BY hugo_gene_symbol, status ORDER BY count DESC LIMIT 20 ``` ### Find patients with germline mutations in a specific gene ```sql SELECT DISTINCT patient_unique_id, sample_unique_id, mutation_variant, mutation_type FROM genomic_event_derived WHERE hugo_gene_symbol = '{GENE}' AND upper(mutation_status) = 'GERMLINE' AND cancer_study_identifier = '{study_id}' AND variant_type = 'mutation' ``` ### Germline mutation frequency The numerator is samples with a germline mutation in the gene; the denominator is samples **profiled** for the gene — not samples that happen to have a mutation in it. Take the denominator from mutation-frequency-guide Step 2 (or … (2222 more chars) ◀ result # Sample and Study Filtering Guide ## Overview Proper filtering is essential for meaningful cBioPortal analysis. This guide covers filtering by studies, sample types, and other criteria. ## Study-Level Filtering ### 1. Always Filter by Study Every query should specify a study to ensure consistent results: ```sql -- Always include study filtering SELECT * FROM your_table WHERE cancer_study_identifier = 'your_study_id' -- Additional filters... ``` ### 2. Find Available Studies ```sql -- Discover available studies SELECT cancer_study_identifier, name, description, type_of_cancer_id FROM cancer_study ORDER BY cancer_study_identifier; ``` ### 3. Study Information ```sql -- Get detailed study information SELECT cs.cancer_study_identifier, cs.name as study_name, cs.description, cs.sample_count, COUNT(DISTINCT p.internal_id) as patient_count FROM cancer_study cs LEFT JOIN patient p ON cs.cancer_study_id = p.cancer_study_id WHERE cs.cancer_study_identifier = 'your_study_id' GROUP BY cs.cancer_study_identifier, cs.name, cs.description, cs.sample_count; ``` ### 4. Find Studies by Available Data Types Use this when the user asks *"which studies have mutation and copy-number data for X"*, *"studies with expression for Y"*, *"is there any imaging data"*, or any *"studies with Z data"* question. `cancer_study` has one precomputed sample count per data type — filter on them. No join and no schema exploration needed. These are the same counts as the portal's study list and its "Data type" filter. **Canonical query — studies with ALL requested data types for a cancer type:** ```sql SELECT cancer_study_identifier, name, sample_count, mutation_sample_count, cna_sample_count FROM cancer_study WHERE type_of_cancer_id = 'luad' -- ← OncoTree code from search_oncotree AND mutation_sample_count > 0 -- ← one condition per required data type AND cna_sample_count > 0 ORDER BY sample_count DESC; ``` **Data type → column** (a count of 0 means the study doesn't have that data): | Data type in the user's question | Column (portal "Data type" filter label) | |---|---| | samples in the study | `sample_count` | | mutation / mutations | `mutation_sample_count` ("Mutations") | | copy-number / CNA / amplification / deletion | `cna_sample_count` ("CNA") | | structural variant / fusion | `structural_variant_sample_count` | | RNA / mRNA / gene expression (any platform) | `mrna_expression_sample_count` — use this for "which studies have expression data" | | specifically the portal's "RNA-Seq" filter | `rna_seq_sample_count` ("RNA-Seq") — counts only the `_rna_seq_v2_mrna` list; 0 for many GDC and iAtlas studies that do have RNA-Seq | | specifically the portal's "RNA (microarray)" filter | `mrna_microarray_sample_count` ("RNA (microarray)") — counts only the `_mrna` list | | microRNA | `mirna_sample_count` ("miRNA") | | protein / RPPA | `rppa_sample_count` ("RPPA") | | mas … (7866 more chars) ◀ result {"result":[{"code":"ACYC","name":"Adenoid Cystic Carcinoma","score":80,"mainType":"Salivary Gland Cancer","tissue":"Head and Neck","hierarchy":"HEAD_NECK > SACA > ACYC"},{"code":"ACLG","name":"Adenoid Cystic Carcinoma of the Lacrimal Gland","score":60,"mainType":"Lacrimal Gland Tumor","tissue":"Eye","hierarchy":"EYE > LGT > ACLG"},{"code":"LUACC","name":"Adenoid Cystic Carcinoma of the Lung","score":60,"mainType":"Non-Small Cell Lung Cancer","tissue":"Lung","hierarchy":"LUNG > NSCLC > SGTTL > LUACC"},{"code":"CACC","name":"Cervical Adenoid Cystic Carcinoma","score":50,"mainType":"Cervical Cancer","tissue":"Cervix","hierarchy":"CERVIX > CACC"}]} ▶ list_studies { "search": "adenoid cystic" } ▶ get_study_guide { "study_id": "acc_2019" } ◀ result {"result":[{"cancer_study_identifier":"acc_2019","name":"Adenoid Cystic Carcinoma Project (J Clin Invest 2019)","type_of_cancer_id":"acyc","sample_count":1049,"has_guide":false,"url":"https://www.cbioportal.org/study/summary?id=acc_2019"},{"cancer_study_identifier":"acyc_mda_2015","name":"Adenoid Cystic Carcinoma (MDA, Clin Cancer Res 2015)","type_of_cancer_id":"acyc","sample_count":102,"has_guide":false,"url":"https://www.cbioportal.org/study/summary?id=acyc_mda_2015"},{"cancer_study_identifier":"acyc_mskcc_2013","name":"Adenoid Cystic Carcinoma (MSK, Nat Genet 2013)","type_of_cancer_id":"acyc","sample_count":60,"has_guide":false,"url":"https://www.cbioportal.org/study/summary?id=acyc_mskcc_2013"},{"cancer_study_identifier":"acyc_fmi_2014","name":"Adenoid Cystic Carcinoma (FMI, Am J Surg Pathl. 2014)","type_of_cancer_id":"acyc","sample_count":28,"has_guide":false,"url":"https://www.cbioportal.org/study/summary?id=acyc_fmi_2014"},{"cancer_study_identifier":"acyc_jhu_2016","name":"Adenoid Cystic Carcinoma (JHU, Cancer Prev Res 2016)","type_of_cancer_id":"acyc","sample_count":25,"has_guide":false,"url":"https://www.cbioportal.org/study/summary?id=acyc_jhu_2016"},{"cancer_study_identifier":"acyc_sanger_2013","name":"Adenoid Cystic Carcinoma (Sanger/MDA, JCI 2013)","type_of_cancer_id":"acyc","sample_count":24,"has_guide":false,"url":"https://www.cbioportal.org/study/summary?id=acyc_sanger_2013"},{"cancer_study_identifier":"acbc_mskcc_2015","name":"Adenoid Cystic Carcinoma of the Breast (MSK, J Pathol. 2015)","type_of_cancer_id":"acbc","sample_count":12,"has_guide":false,"url":"https://www.cbioportal.org/study/summary?id=acbc_mskcc_2015"},{"cancer_study_identifier":"acyc_mgh_2016","name":"Adenoid Cystic Carcinoma (MGH, Nat Gen 2016)","type_of_cancer_id":"acyc","sample_count":10,"has_guide":false,"url":"https://www.cbioportal.org/study/summary?id=acyc_mgh_2016"}]} ◀ result # Study Guide: Adenoid Cystic Carcinoma Project (J Clin Invest 2019) **Study ID:** `acc_2019` **Cancer Type:** acyc **Description:** Multi-Institute Cohort of 1045 Adenoid Cystic Carcinoma patients. ## Cohort Statistics - **Patients:** 1,045 - **Samples:** 1,050 ## Available Data Types - **COPY_NUMBER_ALTERATION**: Putative copy-number alterations from GISTIC - **MUTATION_EXTENDED**: Mutations - **STRUCTURAL_VARIANT**: Structural Variants ## Gene Panels - **WES** (Whole Exome): 1,049 samples — all genes profiled ## Available Clinical Attributes | Attribute | Samples with Data | |-----------|------------------| | ONCOTREE_CODE | 1,049 | | SAMPLE_TYPE | 1,049 | | CANCER_TYPE | 1,049 | | TMB_NONSYNONYMOUS | 1,049 | | FRACTION_GENOME_ALTERED | 1,049 | | SOMATIC_STATUS | 1,049 | | MUTATION_COUNT | 1,049 | | CANCER_TYPE_DETAILED | 1,049 | | AGE | 1 | | OS_STATUS | 1 | | SAMPLE_COUNT | 1 | | STUDY | 1 | | SEX | 1 | | DATA_SOURCE | 1 | | OS_MONTHS | 1 | ## Top Mutated Genes | Gene | Altered Samples | |------|----------------| | NOTCH1 | 232 | | KDM6A | 138 | | ARID1A | 120 | | KMT2D | 111 | | BCOR | 109 | | KMT2C | 99 | | CREBBP | 98 | | TERT | 82 | | ARID1B | 82 | | TP53 | 76 | ## Sample Types - **Unknown**: 730 samples - **Primary**: 242 samples - **Metastasis**: 68 samples - **Metastatic**: 8 samples - **Recurrence**: 1 samples ## Query Tips for acc_2019 ```sql -- Get all samples in this study SELECT DISTINCT sample_unique_id, patient_unique_id FROM clinical_data_derived WHERE cancer_study_identifier = 'acc_2019'; -- Get mutations for a specific gene SELECT sample_unique_id, hugo_gene_symbol, mutation_variant, mutation_type FROM genomic_event_derived WHERE cancer_study_identifier = 'acc_2019' AND hugo_gene_symbol = 'TP53' AND variant_type = 'mutation'; -- Get clinical data for specific attributes SELECT sample_unique_id, attribute_name, attribute_value FROM clinical_data_derived WHERE cancer_study_identifier = 'acc_2019' AND attribute_name IN ('CANCER_TYPE', 'SAMPLE_TYPE', 'OS_MONTHS'); ``` ▶ clickhouse_list_table_columns { "table": "genomic_event_derived" } ◀ result {"columns":[{"name":"sample_unique_id","type":"String"},{"name":"hugo_gene_symbol","type":"String","comment":"HUGO gene symbol (e.g., TP53, KRAS, BRAF). Use for gene-specific queries."},{"name":"entrez_gene_id","type":"Int32"},{"name":"gene_panel_stable_id","type":"LowCardinality(String)"},{"name":"cancer_study_identifier","type":"LowCardinality(String)"},{"name":"genetic_profile_stable_id","type":"LowCardinality(String)"},{"name":"variant_type","type":"LowCardinality(String)","comment":"Type of genomic event: \"mutation\" for SNVs/indels, \"cna\" for copy number alterations, \"structural_variant\" for SVs. Always filter by this."},{"name":"mutation_variant","type":"String","comment":"Protein change notation (e.g., p.V600E, p.R175H). Use for specific variant queries. \"NA\" for non-mutation events."},{"name":"mutation_type","type":"LowCardinality(String)"},{"name":"mutation_status","type":"LowCardinality(String)","comment":"For mutations: Somatic, Germline, UNKNOWN, or UNCALLED. Filter mutation_status != \"UNCALLED\" to exclude uncertain calls. Include all other statuses."},{"name":"driver_filter","type":"LowCardinality(String)"},{"name":"driver_filter_annotation","type":"String"},{"name":"driver_tiers_filter","type":"LowCardinality(String)"},{"name":"driver_tiers_filter_annotation","type":"String"},{"name":"cna_alteration","type":"Nullable(Int8)","comment":"Copy number alteration: only 2 = amplification (AMP) and -2 = deep deletion (HOMDEL) are stored. Shallow deletion (-1), diploid (0) and gain (1) are not in this table; query genetic_alteration_derived WHERE profile_type = 'gistic' (alteration_value is a String, e.g. '-1'). NULL for non-CNA events."},{"name":"cna_cytoband","type":"String"},{"name":"sv_event_info","type":"String"},{"name":"patient_unique_id","type":"String"},{"name":"off_panel","type":"Bool","comment":"Boolean: 1 = mutation outside gene panel coverage (off-panel), 0 = within panel (on-panel). Filter off_panel = 0 for reliable frequency calculations."}]} ▶ clickhouse_run_select_query { "query": "WITH s AS (SELECT DISTINCT sample_unique_id FROM clinical_data_derived WHERE cancer_study_identifier='acc_2019' AND attribute_name='ONCOTREE_CODE' AND attribute_value='ACYC'), n AS (SELECT count() AS n FROM s) SELECT hugo_gene_symbol, variant_type, uniqExactIf(sample_unique_id, variant_type='mutation' AND mutation_status!='UNCALLED') AS mut, uniqExactIf(sample_unique_id, variant_type='cna' AND cna_alteration=2) AS amp, uniqExactIf(sample_unique_id, variant_type='cna' AND cna_alteration=-2) AS homdel, uniqExactIf(sample_unique_id, variant_type='structural_variant') AS sv, (SELECT n FROM n) AS total FROM genomic_event_derived WHERE cancer_study_identifier='acc_2019' AND sample_unique_id IN (SELECT sample_unique_id FROM s) AND hugo_gene_symbol IN ('MYB','MYBL1','NFIB','NOTCH1','NOTCH2','KDM6A','ARID1A','KMT2D','BCOR','KMT2C','CREBBP','TERT','ARID1B','TP53','SMARCA2','PIK3CA','PTEN','FGFR2','HRAS','KRAS','BRAF','ERBB2','ERBB3','CDKN2A','MGA','SPEN','FBXW7','EP300','ATM','BRCA2','BRCA1','NF1','PTPRD','CDKN2B','KIT','EGFR','MYC','ARID2','SETD2','FAT1') GROUP BY hugo_gene_symbol, variant_type HAVING mut+amp+homdel+sv>0 ORDER BY mut+amp+homdel+sv DESC", "max_rows": 100 } ◀ result {"rows":[{"hugo_gene_symbol":"NOTCH1","variant_type":"mutation","mut":211,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"MYB","variant_type":"structural_variant","mut":0,"amp":0,"homdel":0,"sv":163,"total":935},{"hugo_gene_symbol":"NFIB","variant_type":"structural_variant","mut":0,"amp":0,"homdel":0,"sv":152,"total":935},{"hugo_gene_symbol":"KDM6A","variant_type":"mutation","mut":129,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"ARID1A","variant_type":"mutation","mut":105,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"KMT2D","variant_type":"mutation","mut":98,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"BCOR","variant_type":"mutation","mut":95,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"KMT2C","variant_type":"mutation","mut":86,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"CREBBP","variant_type":"mutation","mut":84,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"TERT","variant_type":"mutation","mut":75,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"ARID1B","variant_type":"mutation","mut":70,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"EP300","variant_type":"mutation","mut":68,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"TP53","variant_type":"mutation","mut":66,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"SPEN","variant_type":"mutation","mut":61,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"BRCA2","variant_type":"mutation","mut":58,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"ATM","variant_type":"mutation","mut":54,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"PIK3CA","variant_type":"mutation","mut":51,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"FAT1","variant_type":"mutation","mut":51,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"NOTCH2","variant_type":"mutation","mut":30,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"FBXW7","variant_type":"mutation","mut":30,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"FGFR2","variant_type":"mutation","mut":28,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"SETD2","variant_type":"mutation","mut":27,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"CDKN2A","variant_type":"cna","mut":0,"amp":0,"homdel":26,"sv":0,"total":935},{"hugo_gene_symbol":"CDKN2B","variant_type":"cna","mut":0,"amp":1,"homdel":25,"sv":0,"total":935},{"hugo_gene_symbol":"PTPRD","variant_type":"mutation","mut":25,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"KIT","variant_type":"cna","mut":0,"amp":25,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"BRCA1","variant_type":"mutation","mut":24,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"PTEN","variant_type":"mutation","mut":21,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"ARID2","variant_type":"mutation","mut":20,"amp":0,"homdel":0,"sv":0,"total":935},{"hugo_gene_symbol":"KRAS"," … (6632 more chars) ▶ clickhouse_run_select_query { "query": "SELECT cancer_study_identifier, upper(mutation_status) st, mutation_type, count() c, uniqExact(patient_unique_id) pts, groupArray(mutation_variant) FROM genomic_event_derived WHERE hugo_gene_symbol='BCOR' AND variant_type='mutation' AND cancer_study_identifier IN ('acc_2019','acyc_mda_2015','acyc_mskcc_2013','acyc_fmi_2014','acyc_jhu_2016','acyc_sanger_2013','acyc_mgh_2016') GROUP BY cancer_study_identifier, st, mutation_type ORDER BY c DESC" } ◀ result {"rows":[{"cancer_study_identifier":"acc_2019","st":"SOMATIC","mutation_type":"Frame_Shift_Del","c":41,"pts":41,"groupArray(mutation_variant)":["N1686Tfs*39","A1453Efs*16","R1547Dfs*21","L279Rfs*21","T378Sfs*2","L333Afs*47","T347Lfs*29","E1326Tfs*42","S1113Rfs*46","A603Pfs*66","V432Lfs*10","L325Hfs*52","Q600Hfs*9","L279Rfs*21","S1297Hfs*72","A1312Hfs*57","E751Gfs*35","E485Hfs*42","E356Qfs*22","S1288Pfs*6","Q1306Rfs*14","T898Ifs*17","L1617*","S323Qfs*49","V1394Pfs*14","Q538Afs*17","I148Tfs*33","L1130Sfs*29","D1168fs","E1326Kfs*43","E1382Nfs*11","S841Qfs*15","P223Lfs*43","E481Sfs*16","A578Qfs*27","N891Pfs*25","S177Pfs*8","P1451Gfs*9","S625Rfs*39","K175Pfs*8","G400Afs*42"]},{"cancer_study_identifier":"acc_2019","st":"SOMATIC","mutation_type":"Frame_Shift_Ins","c":38,"pts":36,"groupArray(mutation_variant)":["Y939Sfs*14","E1042Rfs*37","A385Sfs*60","E1042Rfs*37","F977Cfs*50","T486Kfs*43","Q918Lfs*29","A570Pfs*20","A603Gfs*8","Q1468Tfs*9","E1081Sfs*34","K676Nfs*65","E836Dfs*8","L245Pfs*64","H1204Tfs*3","L333Ffs*48","S897Ffs*20","E1032Rfs*24","Y680Sfs*60","S593Lfs*18","L333Ffs*48","Q918Yfs*29","P895Hfs*22","K615Pfs*2","I536*","V878Efs*2","Q600Hfs*11","L685Ffs*55","T433Lfs*10","R710Lfs*12","L691Sfs*49","Q600Hfs*11","D1340Gfs*69","P255Rfs*47","R1164Afs*4","Q600Hfs*11","S488Ifs*11","E1114Gfs*30"]},{"cancer_study_identifier":"acc_2019","st":"SOMATIC","mutation_type":"Nonsense_Mutation","c":19,"pts":19,"groupArray(mutation_variant)":["S562*","E518*","S1297*","Y755*","Q1119*","S116*","E983*","E836*","E983*","E1114*","K1399*","R810*","E983*","E751*","E1442*","E382*","L1200*","S1297*","Y1384*"]},{"cancer_study_identifier":"acc_2019","st":"SOMATIC","mutation_type":"Missense_Mutation","c":16,"pts":16,"groupArray(mutation_variant)":["K774M","M217I","L93V","R243C","I1733N","W1755C","F639L","S209L","E1076K","T464M","V679I","M1575T","Q430H","S209L","S1298F","R1136C"]},{"cancer_study_identifier":"acc_2019","st":"SOMATIC","mutation_type":"Splice_Site","c":2,"pts":2,"groupArray(mutation_variant)":["X1018_splice","X1607_splice"]},{"cancer_study_identifier":"acc_2019","st":"SOMATIC","mutation_type":"Targeted_Region","c":2,"pts":2,"groupArray(mutation_variant)":["MUTATED","MUTATED"]},{"cancer_study_identifier":"acyc_mda_2015","st":"SOMATIC","mutation_type":"Frame_Shift_Ins","c":1,"pts":1,"groupArray(mutation_variant)":["Y939Sfs*14"]},{"cancer_study_identifier":"acyc_mskcc_2013","st":"SOMATIC","mutation_type":"Nonsense_Mutation","c":1,"pts":1,"groupArray(mutation_variant)":["S562*"]},{"cancer_study_identifier":"acc_2019","st":"SOMATIC","mutation_type":"In_Frame_Ins","c":1,"pts":1,"groupArray(mutation_variant)":["P601_P602insRPR"]}]} ▶ clickhouse_run_select_query { "query": "SELECT cancer_study_identifier, upper(mutation_status) st, count() c FROM genomic_event_derived WHERE variant_type='mutation' AND cancer_study_identifier IN ('acc_2019','acyc_mda_2015','acyc_mskcc_2013','acyc_fmi_2014','acyc_jhu_2016','acyc_sanger_2013','acyc_mgh_2016') GROUP BY cancer_study_identifier, st" } ◀ result {"rows":[{"cancer_study_identifier":"acyc_jhu_2016","st":"SOMATIC","c":365},{"cancer_study_identifier":"acyc_sanger_2013","st":"SOMATIC","c":242},{"cancer_study_identifier":"acc_2019","st":"UNKNOWN","c":7},{"cancer_study_identifier":"acyc_mskcc_2013","st":"SOMATIC","c":266},{"cancer_study_identifier":"acyc_fmi_2014","st":"SOMATIC","c":29},{"cancer_study_identifier":"acyc_mda_2015","st":"SOMATIC","c":580},{"cancer_study_identifier":"acc_2019","st":"SOMATIC","c":9096},{"cancer_study_identifier":"acyc_mskcc_2013","st":"NA","c":429},{"cancer_study_identifier":"acc_2019","st":"NA","c":429},{"cancer_study_identifier":"acyc_mgh_2016","st":"SOMATIC","c":1403}]} ▶ resolve_and_route { "studyIds": [ "acc_2019" ] } ◀ result {"success":true,"message":"Found 1 study. Use the metadata to call the appropriate navigation tool(s).","data":{"totalCount":1,"studiesWithMetadata":[{"studyId":"acc_2019","name":"Adenoid Cystic Carcinoma Project (J Clin Invest 2019)","sampleCount":1049,"studyViewUrl":"https://www.cbioportal.org/study?id=acc_2019","metadata":{"clinicalAttributeIds":["AGE","CANCER_TYPE","CANCER_TYPE_DETAILED","DATA_SOURCE","FRACTION_GENOME_ALTERED","MUTATION_COUNT","ONCOTREE_CODE","OS_MONTHS","OS_STATUS","SAMPLE_COUNT","SAMPLE_TYPE","SEX","SOMATIC_STATUS","STUDY","TMB_NONSYNONYMOUS"],"molecularProfileIds":["acc_2019_cna","acc_2019_mutations","acc_2019_structural_variants"],"availableComparisonTabs":["overlap","clinical","survival","alterations","mutations"]}}]}} ▶ navigate_to_results_view { "studyIds": [ "acc_2019" ], "genes": [ "BCOR" ], "tab": "mutations", "studyViewFilter": { "clinicalDataFilters": [ { "attributeId": "ONCOTREE_CODE", "values": [ { "value": "ACYC" } ] } ] } } ◀ result {"success":true,"message":"Navigating to https://www.cbioportal.org/results/mutations?session_id=6abb4260c2115c492d8855ca","url":"https://www.cbioportal.org/results/mutations?session_id=6abb4260c2115c492d8855ca","data":{"studyIds":["acc_2019"],"studies":[{"studyId":"acc_2019","name":"Adenoid Cystic Carcinoma Project (J Clin Invest 2019)","sampleCount":1049}],"genes":["BCOR"],"filteredSampleCount":935,"caseSetId":"-1","sessionId":"6abb4260c2115c492d8855ca","studyViewUrl":"https://www.cbioportal.org/study?id=acc_2019#filterJson=%7B%22clinicalDataFilters%22%3A%5B%7B%22attributeId%22%3A%22ONCOTREE_CODE%22%2C%22values%22%3A%5B%7B%22value%22%3A%22ACYC%22%7D%5D%7D%5D%7D","pageDescription":"Detailed mutation table with lollipop plot showing mutation positions, types, and frequencies for queried genes."}} ▶ navigate_to_study_view { "studyIds": [ "acc_2019" ], "filterJson": { "clinicalDataFilters": [ { "attributeId": "ONCOTREE_CODE", "values": [ { "value": "ACYC" } ] } ] } } ◀ result {"success":true,"message":"Navigating to https://www.cbioportal.org/study/summary?id=acc_2019#filterJson=%7B%22clinicalDataFilters%22%3A%5B%7B%22attributeId%22%3A%22ONCOTREE_CODE%22%2C%22values%22%3A%5B%7B%22value%22%3A%22ACYC%22%7D%5D%7D%5D%7D","url":"https://www.cbioportal.org/study/summary?id=acc_2019#filterJson=%7B%22clinicalDataFilters%22%3A%5B%7B%22attributeId%22%3A%22ONCOTREE_CODE%22%2C%22values%22%3A%5B%7B%22value%22%3A%22ACYC%22%7D%5D%7D%5D%7D","data":{"studyIds":["acc_2019"],"studies":[{"studyId":"acc_2019","name":"Adenoid Cystic Carcinoma Project (J Clin Invest 2019)","sampleCount":1049}],"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) **Cohort:** the Adenoid Cystic Carcinoma Project (J Clin Invest 2019, `acc_2019`), whole-exome data. I restricted it to the 935 samples labelled adenoid cystic carcinoma (ACYC). The other 114 samples in the study are lung and breast adenoid cystic tumors. Percentages are samples altered out of 935. The counting unit is samples, not patients. ## Recurrent alterations in ACYC | Alteration | Samples | % of 935 | |---|---|---| | MYB structural variant | 163 | 17.4% | | NFIB structural variant | 152 | 16.3% | | MYBL1 structural variant | 7 | 0.7% | | NOTCH1 mutation | 211 | 22.6% | | KDM6A mutation | 129 | 13.8% | | ARID1A mutation | 105 | 11.2% | | KMT2D mutation | 98 | 10.5% | | **BCOR mutation** | **95** | **10.2%** | | KMT2C mutation | 86 | 9.2% | | CREBBP mutation | 84 | 9.0% | | TERT mutation | 75 | 8.0% | | ARID1B mutation | 70 | 7.5% | | EP300 mutation | 68 | 7.3% | | TP53 mutation | 66 | 7.1% | | SPEN mutation | 61 | 6.5% | | PIK3CA mutation | 51 | 5.5% | | FBXW7 mutation | 30 | 3.2% | | FGFR2 mutation | 28 | 3.0% | | CDKN2A deep deletion | 26 | 2.8% | | KIT amplification | 25 | 2.7% | | PTEN mutation | 21 | 2.2% | | HRAS mutation | 13 | 1.4% | | ERBB2 mutation / amplification | 11 / 7 | 1.2% / 0.7% | - **MYB and NFIB:** exome sequencing under-detects the MYB–NFIB fusion, so the 17% (MYB) and 16% (NFIB) are almost certainly underestimates. The literature figure is much higher, often cited as 50–60% or more. That figure is from general knowledge, not this dataset. - **TERT:** I could not confirm these are promoter mutations, so I would not read them as TERT promoter events. - **Driver annotation:** this study has no driver annotations in the database, so I can't label any of these as oncogenic or OncoKB-annotated. You can apply OncoKB and hotspot annotation in the portal with the OQL `DRIVER` modifier. ## Classification by actionability This grouping comes from my general knowledge of the field, not from cBioPortal data. Please check it against OncoKB and current guidelines. - **Defining and likely primary drivers, but not directly druggable:** - MYB–NFIB, MYBL1–NFIB and related fusions. They are the core oncogenic event. MYB or MYBL1 is the transcriptional target, and no approved targeted therapy exists. Options are trials or indirect strategies. - NOTCH1 activating mutations. They are enriched in aggressive disease. Notch inhibitors are investigational. - **Potentially actionable, uncommon, and typically tumor-agnostic or trial-based:** - PIK3CA mutations and PTEN loss (PI3K/AKT/mTOR pathway). - FGFR2 alterations. - ERBB2 amplification or mutation. - KIT amplification or mutation. - HRAS, KRAS and BRAF mutations (MAPK pathway). - CDKN2A deletion (CDK4/6 rationale). - BRCA1, BRCA2 and ATM alterations. These could support PARP or DDR-directed approaches, but the somatic-versus-germline and biallelic status matters. - High TMB or MSI. It is rare in ACYC, and I did not assess it here. - **Non-actionable, but recurrent and prognostically relevant:** - Chromatin and epigenetic regulators: KDM6A, ARID1A, ARID1B, KMT2D, KMT2C, CREBBP, EP300, BCOR, SPEN, SETD2. - Other: TP53, FAT1, TERT. - The epigenetic regulators are hypothesis-level targets, for example EZH2 or HDAC inhibitors in trials. - The prognostic link, such as poorer outcome with NOTCH1 or TP53 mutation, is from the literature. I did not test it here. ## BCOR **Somatic:** BCOR is mutated in 95 of 935 ACYC samples (10.2%), which makes it one of the top recurrent genes. - In the whole study, 100 of the 119 BCOR mutation calls (84%) are truncating: 41 frameshift deletions, 38 frameshift insertions, 19 nonsense and 2 splice-site. - Another 16 are missense, and there are 2 unspecified and 1 in-frame insertion. - Truncating mutations spread along the gene, with no single hotspot. That pattern fits loss of function. - There is 1 additional BCOR deep deletion. - BCOR is on the X chromosome, so a loss-of-function hit can be effectively biallelic in males. I did not check for sex-specific effects, and sex data is nearly absent in this study. - BCOR is not directly actionable in ACYC. I found no data linking it to prognosis in these studies, and I ran no statistical test. **Germline:** none of the seven ACYC studies (`acc_2019`, `acyc_mda_2015`, `acyc_mskcc_2013`, `acyc_fmi_2014`, `acyc_jhu_2016`, `acyc_sanger_2013`, `acyc_mgh_2016`) contains any variant labelled germline. - BCOR calls are 100% somatic in `acc_2019`, and the two smaller cohorts that carry a BCOR call also label it somatic. - A minority of variants in `acc_2019` and `acyc_mskcc_2013` are labelled unknown or NA. - The absence of germline calls means these datasets can't show whether any BCOR variant is inherited. It is not evidence that none is. - Germline BCOR loss-of-function variants are linked to a rare X-linked developmental syndrome (oculofaciocardiodental). That is general knowledge, not from this data. I'm not aware of it being an established ACYC predisposition. ## Links - [BCOR mutations in ACYC samples (Mutations tab, lollipop plot)](https://www.cbioportal.org/results/mutations?session_id=6abb4260c2115c492d8855ca) — 935 samples - [ACYC cohort overview in acc_2019](https://www.cbioportal.org/study/summary?id=acc_2019#filterJson=%7B%22clinicalDataFilters%22%3A%5B%7B%22attributeId%22%3A%22ONCOTREE_CODE%22%2C%22values%22%3A%5B%7B%22value%22%3A%22ACYC%22%7D%5D%7D%5D%7D) This is a research summary only, not clinical advice or a treatment recommendation.