Skip to content

Commit c10565c

Browse files
authored
Merge pull request #450 from cBioPortal/merger/tracker-batch-1119f
Tracker batch: #434, #436–#439, #441–#446
2 parents 7cfe838 + 80e640e commit c10565c

6 files changed

Lines changed: 46 additions & 37 deletions

File tree

‎docs/PORTAL-PARITY.md‎

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ Wrong on cBioLab's own terms, whatever the portal does. Each is from a scorecard
101101
- Ours alone: text, not the portal's styled badge
102102
- [ ] Query and Virtual Study actions on the altered and unaltered lists ("Open as cohort" stands in) (RDL-1.6, RDL-1.7, RDL-1.13) ([10-results-download](legacy-spec/parity/10-results-download.md))
103103
- [ ] Generic-assay rows for tracks added on the oncoprint; the view's README calls their absence deliberate (RDL-1.10, RDL-STM-6, RDL-MD-4) ([10-results-download](legacy-spec/parity/10-results-download.md))
104-
- [ ] Data-file rows in the portal's order: Copy-number Alterations, Mutations, Structural Variants, the selected mRNA / protein rows, Altered samples, Unaltered samples, Sample matrix, then the other profiles (ours Mutations, SV, CNA, every profile, then the three lists; coadread Q1, 2026-11-18); the frequency table's "Columns" menu and Copy (ours an OQL Line toggle and TSV only) (RDL-1.1…1.9, RDL-2.6) ([10-results-download](legacy-spec/parity/10-results-download.md))
104+
- [x] Data-file rows in the portal's order: Copy-number Alterations, Mutations, Structural Variants, the selected mRNA / protein rows, Altered samples, Unaltered samples, Sample matrix, then the other profiles (ours Mutations, SV, CNA, every profile, then the three lists; coadread Q1, 2026-11-18); the frequency table's "Columns" menu and Copy (ours an OQL Line toggle and TSV only) (RDL-1.1…1.9, RDL-2.6) ([10-results-download](legacy-spec/parity/10-results-download.md)) (#437, #442)
105+
- [x] The data-file rows in the portal's order, the query's EXP / PROT profiles as its selected mRNA / protein rows (RDL-1.1…1.9) (#437)
105106
- [x] **Results → Structural Variants tab** — the `sv` table view (#154)
106107
- [x] The Annotation column: OncoKB per gene pair and tumour type, `annotation.oncokb_sv` (#219)
107108
- [ ] Blank on prad_tcga_pan_can_atlas_2018 (0 of 236 TMPRSS2 rows; the portal annotates every one): prad's pairs are stored at OncoKB v7.7 (as acc's; no other study is synced), the pin is v7.5, the newest release `annotation.oncokb` holds, and `annotation.oncokb` holds no gene-level Fusion rows at all. At v7.7 the pair calls give TMPRSS2 207 driver / 29 VUS, as the portal. [data: an OncoKB v7.7 sync of `oncokb`, `oncokb_tumor_type` and `oncokb_sv` for every study, then the pin moves; needs an OncoKB token and the writer] (SV-COL-13, SV-AN-2) ([06-structural-variants](legacy-spec/parity/06-structural-variants.md))
@@ -256,9 +257,11 @@ Wrong on cBioLab's own terms, whatever the portal does. Each is from a scorecard
256257
- [ ] The views that join the OncoKB store per gene (`lib/federation.ts` driverJoin: gene tables, cancer types, exclusivity, pathways, and others) still call a structural variant by its genes' gene-level Fusion rows, which the store does not hold
257258
- [ ] Tracks › Heatmap and generic-assay rows: ours lists raw profile ids (`rna_seq_v2_mrna_median_Zscores`) and shows the tab for several studies; the portal's profile names, hidden across studies. No Select / Clear all for entities, no bar or stacked generic-assay tracks, no categorical generic assay (ours refuses it) (ONC-TR-2, ONC-TR-3, ONC-TT-9, ONC-TT-10, ONC-TP-5, ONC-MD-2) ([01-oncoprint](legacy-spec/parity/01-oncoprint.md))
258259
- [ ] Tracks › Groups and Custom Charts: ours "Cohort rows" (at most 3 document cohorts as Yes/No rows) and "Custom" uploads (ONC-TR-4) ([01-oncoprint](legacy-spec/parity/01-oncoprint.md))
259-
- [ ] Layout and legend: no gap between the clinical and genetic groups; labels cut at 17 characters with no ⋮ button (ours: click the label); the Profiled rows named by alteration type ("Profiled for copy number alterations"; the portal's "Profiled in" + the profile's name); no "No alterations" legend entry and "Not profiled" listed when nothing is; Translation_Start_Site drawn as Other (the portal's Truncating); no Display toggles for the clinical legends or "only altered" legend entries (ONC-LY-1, ONC-LY-2, ONC-LY-3, ONC-GL-2, ONC-GL-6, ONC-VI-4, ONC-VI-5) ([01-oncoprint](legacy-spec/parity/01-oncoprint.md))
260+
- [ ] Layout and legend: no gap between the clinical and genetic groups; labels cut at 17 characters with no ⋮ button (ours: click the label); the Profiled rows named by alteration type ("Profiled for copy number alterations"; the portal's "Profiled in" + the profile's name); no "No alterations" legend entry and "Not profiled" listed when nothing is (ONC-LY-1, ONC-LY-2, ONC-LY-3, ONC-GL-6) ([01-oncoprint](legacy-spec/parity/01-oncoprint.md))
260261
- [x] Display › show OQL filters is offered only when a row has OQL (`app/_oncoprint/OncoprintFigure.tsx:817`); the portal's View menu always has it, off by default without OQL, and on writes each row's default OQL line (ONC-VI-6, re-measured 2026-11-18) (#380)
261262
- Ours alone: our oncoprint reads every mutation, copy-number and SV profile of a study, so the default line names every such type the study holds
263+
- [x] A mutation's glyph class as the portal's getOncoprintMutationType: Translation_Start_Site, Start_Codon_SNP, nonstop and Fusion truncating; promoter by its protein change; unlisted types other (ONC-GL-2) (#436)
264+
- [x] Display › show legends for clinical tracks, and under it only for altered patients / samples; off keeps the gene legend (ONC-VI-4, ONC-VI-5) (#444)
262265
- [ ] Zoom and minimap: no editable zoom % box; ours drags a marquee to a selection bar where the portal drag-zooms; ours a minimap strip under the figure, the portal's a floating 150×150 panel with its own zoom (ONC-ZM-1, ONC-ZM-3, ONC-MM, ONC-MI-4) ([01-oncoprint](legacy-spec/parity/01-oncoprint.md))
263266
- [ ] Hover and tooltips: no cell outline, column or label highlight; no label drag (ours Move up / down); the label tip without the OQL line or attribute / profile description; the cell tip without OncoKB and hotspot icons, the panel popup or "View these N" when zoomed out; a heatmap value without its profile type (ONC-MI-1, ONC-MI-3, ONC-MI-5, ONC-TP-1, ONC-TP-2, ONC-TP-4) ([01-oncoprint](legacy-spec/parity/01-oncoprint.md))
264267
- [ ] Track menu: ours removes a gene from the view's genes, the portal's from `gene_list`; Show gaps and the % sides only once the track is the primary sort key (the portal sorts a-Z first) (ONC-TM-2, ONC-TM-3) ([01-oncoprint](legacy-spec/parity/01-oncoprint.md))
@@ -369,11 +372,12 @@ Wrong on cBioLab's own terms, whatever the portal does. Each is from a scorecard
369372
- [x] The profiled strip: "+" and "−" rows for every data type, with hover counts (ours rows only where a group lacks a type) (CTS-CH-5, CTS-CH-6, CTS-MD-8) (#335)
370373
- [x] The "Show Genomic Alteration Types" toggle (CTS-OC-3) (#338)
371374
- [x] A gene with no alterations: grey tab label, "There are no alterations in this gene." (CTS-GT-4, CTS-MD-10) (#339)
372-
- [ ] Re-measure 2026-11-18, still different:
375+
- [x] Re-measure 2026-11-18, still different (all fixed):
373376
- [x] An amplification in one gene and a deep deletion in another count as Amplification; the portal counts whichever CNA it meets first, Deep Deletion in all 3 msk_impact_2017 `TP53 KRAS PIK3CA` groups that differ (GI Neuroendocrine, Germ Cell, Bone: one patient each) (CTS-STM-2, CTS-STM-3) (#428)
374377
- [x] The Min. # Total box is not clamped to the largest group: 999999 hides every category, the portal sets it to the max (1668); no slider beside either box, no highlighted box when a threshold is above 0 (CTS-CT-3, CTS-CT-4, CTS-CT-7, CTS-CT-9, CTS-STM-6) (#429)
375378
- Ours alone: the sliders' ends are over every chart and gene tab drawn, since the boxes are shared; both apply when let go (the portal's Min. Altered applies while dragging)
376-
- [ ] The chart's size: plot 240 px with bars up to 32 px and labels at 45° (the portal's 400 px, 20 px bars, 50°); more than 37 groups scroll without the portal's synced scrollbar on top (CTS-CH-2, CTS-MD-11)
379+
- [x] The chart's size: plot 240 px with bars up to 32 px and labels at 45° (the portal's 400 px, 20 px bars, 50°); more than 37 groups scroll without the portal's synced scrollbar on top (CTS-CH-2, CTS-MD-11) (#434)
380+
- Ours alone: the chart scrolls when its bars don't fit the card rather than past 37 groups; the y axis line spans the data, not the portal's 20 px of padding above it
377381
- [ ] **Study View → summary charts** — the Explore page's charts ([30-study-summary](legacy-spec/parity/30-study-summary.md))
378382
- [x] Default charts as the portal picks them: priorities from its config table, then coverage. Q1 shows 8 of the portal's 17 clinical charts; Sex, Race, Ethnicity, Subtype, T/M stage, Aneuploidy and the DFS/DSS/PFS KM are hidden (STS-LY-7, STS-LY-8, STS-MD-1; see bugs) (#188)
379383
- [x] Categorical % of every patient, NA its own slice or row (Race White 48.0 % of 594, NA 232; ours 78.7 % of 362) (STS-PIE-9, STS-TBL-1, STS-STM-1, STS-STM-3, STS-MD-9) (#190)
@@ -398,29 +402,34 @@ Wrong on cBioLab's own terms, whatever the portal does. Each is from a scorecard
398402
- [ ] The OncoKB cancer-gene icon and filter: [data: OncoKB's cancer-gene list is read during the annotation sync but not stored] (STS-GT-6, STS-GT-7)
399403
- [ ] Chart kinds: treatment tables, the GA frequency table (arm-level CNA by default), variant annotations, X-vs-Y density and violin, gene-specific violin, continuous gene bar (STS-OT-4…6, STS-VI-1…8, STS-GS-4, STS-SC-1, STS-STM-16, STS-STM-17)
400404
- [x] Mutation-type counts (STS-OT-3) (#433)
405+
- [x] Treatment per Patient and per Sample (pre/post), as the portal counts them (STS-OT-6) (#438)
406+
- [ ] Treatment tables: Intersection, Compare, the ⓘ description, the Data download; the Groups / Target tiers (STS-OT-6)
401407
- [ ] Value lists: colour swatches and Compare from the tooltip, with the pies (STS-TBL-1, STS-TBL-6)
402-
- [ ] Bars: 10ⁿ superscripts on log-scale ticks (STS-BAR-3)
408+
- [x] Bars: 10ⁿ superscripts on log-scale ticks (STS-BAR-3) (#439)
403409
- [ ] The Studies chart as a pie (a table past 20 studies); the multi-study header (STS-SP-1, STS-MD-2)
404410
- [ ] "Number of Samples Per Patient" as a pie (ours a list) (STS-SP-3)
405411
- [x] Data types: the Freq column and the portal's Intersection default; Freq on the case lists, data types and events (STS-OT-1, STS-STM-14) (#395)
406412
- [ ] Added charts: a categorical entity in full, custom data drawn as the portal draws it (STS-GS-6, STS-GS-7)
407413
- [x] A gene's mutation-type chart (STS-GS-2) (#433)
408-
- [ ] Compare from a chart: groups from every value whatever is checked; Quartiles / Median across studies (ours one study only) (STS-HD-7, STS-STM-12)
414+
- [ ] Compare from a chart: Quartiles / Median across studies (ours one study only) (STS-STM-12)
415+
- [x] Groups from every value whatever is checked (STS-HD-7) (#446)
409416
- [ ] Density drag adds its ranges as custom bins on the Mutation Count and FGA bars (STS-SC-6)
410417
- [x] An attribute stored at both levels charted once, counted per sample (ours two facets) (STS-MD-5) (#403)
411418
- [ ] Loading: the per-chart progress list and per-chart error text; the alert for sample ids in the URL that don't exist (STS-LY-10, STS-LY-11, STV-LD-4)
412-
- [ ] The case-lists chart only once a case list is filtered on (ours always shown) (STS-OT-2)
419+
- [x] The case-lists chart only once a case list is filtered on (ours always shown) (STS-OT-2) (#441)
413420
- [ ] Gene tables: the SV-pair table; the header tooltips' Alteration Filter variant, with the Alteration Filter menu (STS-GT-1, STS-GT-4)
414421
- [ ] Manual submit: stage filters and apply them together (STS-FL-3, STS-MD-12)
415422
- [ ] Found by the re-measurement of 2026-11-18 (master `bc53b944`):
416423
- [ ] Card order by the portal's priorities for the non-clinical cards too (survival 400, density 200 ahead of the gene tables; SV 85 before CNA 80); priority < 0 dropped from Add chart (STS-LY-3, STS-LY-8)
417424
- [ ] Chart titles centred and ellipsized on one line (ours wrap) (STS-HD-1)
418-
- [ ] Bar tooltip as the portal writes it: "Number of samples: n" / "Range: (35, 40]" (ours "35–40 · 11 patients") (STS-BAR-4)
419-
- [ ] Toggling Log Scale clears the chart's filter (ours keeps it) (STS-BAR-7)
425+
- [x] Bar tooltip as the portal writes it: "Number of samples: n" / "Range: (35, 40]" (ours "35–40 · 11 patients") (STS-BAR-4) (#439)
426+
- [x] Toggling Log Scale clears the chart's filter (ours keeps it) (STS-BAR-7) (#439)
420427
- [x] Gene-table search over every column (# Mut, #, Freq, cytoband), not only the symbol (STS-GT-10) (#407)
421-
- [ ] Timeline events: a Freq column (÷ selected patients), the portal's row labels, offered in Add chart rather than shown by default (STS-OT-7)
422-
- [ ] The KM curve in the portal's #2986E2 (STS-KM-2); a gene's mutation chart with the portal's colours and "Not Mutated" / "Not Profiled" labels (STS-GS-1)
423-
- [ ] A chart lists at most 200 values (`FACET_VALUE_LIMIT`; OTHER_PATIENT_ID 200 of 592, said on the card); a value's spelling the most frequent where the portal keeps the greatest (STS-STM-1)
428+
- [x] Timeline events: a Freq column (÷ selected patients), the portal's row labels, offered in Add chart rather than shown by default (STS-OT-7) (#441)
429+
- [ ] A gene's mutation chart in the portal's colours, with the pies (STS-GS-1)
430+
- [x] The KM curve in the portal's #2986E2 (STS-KM-2); "Not Mutated" / "Not Profiled" labels (STS-GS-1) (#443)
431+
- [ ] A chart lists at most 200 values (`FACET_VALUE_LIMIT`; OTHER_PATIENT_ID 200 of 592, said on the card) (STS-STM-1)
432+
- [x] A value's spelling the greatest, as the portal keeps it, and merged across studies (STS-STM-1) (#445)
424433
- [ ] A gene's mutation chart counts UNCALLED mutations as the portal's does (glioma_msk_2018 ABL1 Mutated: ours 5, the portal 6) (STS-GS-1)
425434
- [ ] Pie: for any attribute with few values (ours 9 allowlisted ids, else a list), slice labels, unselected slices greyed, the portal's colours (ours Okabe-Ito), the hover table with % and Select all / Compare, the pie ↔ table switch, ordinal values in count order like the rest (STS-LY-9, STS-PIE-1…5, STS-PIE-7, STS-PIE-8, STS-HD-6, STS-MD-10)
426435
- [x] A second click on a selected value unselects it (STS-PIE-6) (#188)

‎docs/legacy-spec/parity/01-oncoprint.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ Counts in Q1–Q5 match as on 2026-11-10; the earlier figures (Q2 per sample, Q3
153153
| ONC-VI-1 | ✅ | B | "columns: patients/samples", default patient; in `?changes=` |
154154
| ONC-VI-2 | ✅ | B | "show unaltered patients" |
155155
| ONC-VI-3 | ✅ | BC | "whitespace between cells"; pad drawn only once a column is ≥6 px (legacy auto-off <2 px) |
156-
| ONC-VI-4 | 🟡 | C | Unchanged: engine has `display.clinicalLegends: all|none` (`oncoprint-assemble.ts:112`); no UI toggle in Display |
157-
| ONC-VI-5 | ❌ | C | Unchanged: no "only altered" legend option |
156+
| ONC-VI-4 | ✅ | C | Display › "show legends for clinical tracks", on by default; off drops the clinical keys, never the gene legend or a heatmap's (`display.clinicalLegends`, `OncoprintFigure.tsx` Legend, `oncoprint-svg.ts`) (#444) |
157+
| ONC-VI-5 | ✅ | C | Display › "only show clinical track legends for altered patients / samples", disabled while VI-4 is off; each key over the columns some gene row alters (`alteredColumns`, the portal's altered_uids) (#444) |
158158
| ONC-VI-6 | ✅ | BC | A row's OQL line in grey after its gene; Display › show OQL filters always offered, on by default only with OQL (`oncoprint.ts:523`); a single-gene row without OQL shows the default line, buildDefaultOQLProfile over the study's profiles in id order (`oql-match.ts:144`, `oncoprint.ts:453`, `oncoprint-assemble.ts:752`): coadread ": AMP HOMDEL MUT FUSION"; none on merged rows (#380) |
159159
| ONC-VI-7 | ✅ | BC | "white background (for print)" + legend caution |
160160

@@ -194,7 +194,7 @@ Counts in Q1–Q5 match as on 2026-11-10; the earlier figures (Q2 per sample, Q3
194194
| ID | verdict | how | note |
195195
|---|---|---|---|
196196
| ONC-GL-1 | ✅ | C | `styleForDisplay` colour-by-type off → one green pair "Mutation"; annotate none → one colour per glyph |
197-
| ONC-GL-2 | 🟡 | C | Unchanged: Translation_Start_Site → Other (legacy Truncating) (`oncoprint-assemble.ts:28-37`) |
197+
| ONC-GL-2 | ✅ | C | A mutation's class as getOncoprintMutationType: "Promoter" change → promoter; listed missense / in-frame / splice keep theirs, unlisted → other; every other listed type (nonsense, frameshift, Translation_Start_Site, nonstop, Fusion) → Truncating (`oncoprint-assemble.ts` `mutClassBit`, oql-match `mutationClass`); msk_impact_2017 B2M no Other (#436) |
198198
| ONC-GL-3 | ✅ | C | One glyph per layer, legacy priority, driver before VUS; no per-count tiebreak, no germline stripe |
199199
| ONC-GL-4 | ✅ | C | MUT, AMP/HOMDEL (±2 only), FUSION drawn; a line's EXP / PROT as mRNA / protein high and low in the cells |
200200
| ONC-GL-5 | ✅ | BC | OncoKB, Cancer Hotspots (on by default) and the study's custom calls (#168, #211) |

‎docs/legacy-spec/parity/02-cancer-types-summary.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Data version: every denominator and every altered count matches in all 65 group
154154
| ID | verdict | how | note |
155155
|---|---|---|---|
156156
| CTS-CH-1 | ✅ | B | "40 of 58 categories (Cancer Type) are shown based on filtering." above the chart at the default threshold (Q1), as legacy (`figure.ts:67-69`) |
157-
| CTS-CH-2 | 🟡 | BC | Vertical stacked bars ≤ 32 px, plot 240 px (legacy 20 px / 400); y titles identical; labels at 45° under the bars (legacy 50°); more groups than fit → figure grows and scrolls, no synced top scrollbar |
157+
| CTS-CH-2 | ✅ | BC | Vertical stacked bars 20 px wide, 8 px apart; plot 300 px, the tallest bar 280 (the portal's 400 px chart less its padding); y titles identical; labels at 50° from their start under the strip; more groups than fit → figure grows and scrolls, with a synced scrollbar on top (`figure.ts`, `figure.tsx` `topScroll`) (#434) |
158158
| CTS-CH-3 | 🟡 | BC | Stack bottom → top Multiple, Protein low/high, mRNA low/high, Deep Deletion, Amplification, SV, Mutation, Multiple `#666` (`figure.ts:18-21`, `common.ts:35`) ✅; no Gain / Shallow Deletion buckets: OQL GAIN / HETLOSS is refused ("only high-level CNA is stored") |
159159
| CTS-CH-4 | ✅ | B | Types present only; Mutation · Structural Variant · Amplification · Deep Deletion · Multiple Alterations (Q1), as legacy |
160160
| CTS-CH-5 | ✅ | BC | The profiled-data strip as the portal's: a row per data type the query reads (Structural variant / Mutation / CNA, and mRNA / Protein for an EXP / PROT line), "+" or "−" per group; on a gene tab for that gene's panels (msk_impact_2017 NEGR1: Colorectal 782 of 982 patients) |
@@ -194,7 +194,7 @@ Data version: every denominator and every altered count matches in all 65 group
194194
| CTS-MD-8 | ✅ | BC | Denominator excludes cases whose panels lack the genes ✅ (all denominators identical); the strip shows "−" for a group with no case profiled for a type |
195195
| CTS-MD-9 | 🐞 ok | C | All groups filtered away: "No category passes the filters.", the controls stay |
196196
| CTS-MD-10 | ✅ | C | Grey tab label; "There are no alterations in this gene." in place of the bars; "No category passes the filters." first when every group is filtered away |
197-
| CTS-MD-11 | 🟡 | B | > 37 groups: figure widens and scrolls; no top scrollbar |
197+
| CTS-MD-11 | ✅ | B | Many groups: figure widens and scrolls, a synced scrollbar on top; ours whenever the bars don't fit the card, the portal's past 37 groups (#434) |
198198
| CTS-MD-12 | ❌ | C | No hide-download switch (no downloads either) (tracked: Data-governance switches) |
199199

200200
§7 Persistence (no IDs): legacy persists nothing; cBioLab keeps category, count-by, measure, min group and y-axis in the document (`?changes=`) per invariant 9; the active gene pill stays in the browser.

0 commit comments

Comments
 (0)