diff --git a/src/main/webapp/app/config/constants.tsx b/src/main/webapp/app/config/constants.tsx index 0db2981ab..434890648 100644 --- a/src/main/webapp/app/config/constants.tsx +++ b/src/main/webapp/app/config/constants.tsx @@ -864,6 +864,7 @@ export type DataRelease = { }; export const DATA_RELEASES: DataRelease[] = [ + { date: '11262024', version: 'v4.23' }, { date: '10242024', version: 'v4.22' }, { date: '09252024', version: 'v4.21' }, { date: '08152024', version: 'v4.20' }, diff --git a/src/main/webapp/app/pages/newsPage/Links.tsx b/src/main/webapp/app/pages/newsPage/Links.tsx index a89b89b4b..7dddd0cfb 100644 --- a/src/main/webapp/app/pages/newsPage/Links.tsx +++ b/src/main/webapp/app/pages/newsPage/Links.tsx @@ -6,7 +6,7 @@ export const FdaApprovalLink: React.FunctionComponent<{ approval: string; year?: string; }> = props => { - let linkText = 'FDA-approval '; + let linkText = 'FDA approval '; if (props.year) { linkText += `(${props.year}) `; } diff --git a/src/main/webapp/app/pages/newsPage/NewsPage.tsx b/src/main/webapp/app/pages/newsPage/NewsPage.tsx index 3ec5c1f8b..626c7a6a9 100644 --- a/src/main/webapp/app/pages/newsPage/NewsPage.tsx +++ b/src/main/webapp/app/pages/newsPage/NewsPage.tsx @@ -3,7 +3,7 @@ import { CitationText } from 'app/components/CitationText'; import NewsList, { getNews, getNewsTitle } from 'app/pages/newsPage/NewsList'; import { DRUGS_ADDED_TO_ONCOKB, - DRUGS_CURRENTLY_IN_ONCOKB, + DRUGS_REMAINING_IN_ONCOKB, NEWS_BY_DATE, } from 'app/pages/newsPage/NewsPageContent'; import { @@ -87,6 +87,7 @@ export default class NewsPage extends React.Component<{
+ @@ -187,7 +188,7 @@ export default class NewsPage extends React.Component<{ Mutation Cancer Type Current Level of Evidence - {DRUGS_CURRENTLY_IN_ONCOKB} + {DRUGS_REMAINING_IN_ONCOKB} {DRUGS_ADDED_TO_ONCOKB} Evidence diff --git a/src/main/webapp/app/pages/newsPage/NewsPageContent.tsx b/src/main/webapp/app/pages/newsPage/NewsPageContent.tsx index 085dd166f..d0ee625b4 100644 --- a/src/main/webapp/app/pages/newsPage/NewsPageContent.tsx +++ b/src/main/webapp/app/pages/newsPage/NewsPageContent.tsx @@ -27,6 +27,7 @@ import { YearEndReviewPageLink, getAlterationPageLink, getAlternativeAllelesPageLinks, + getAlternativeGenePageLinks, } from 'app/shared/utils/UrlUtils'; import { PMIDLink } from 'app/shared/links/PMIDLink'; import { Linkout } from 'app/shared/links/Linkout'; @@ -85,7 +86,7 @@ export const CURRENT_LEVEL_OF_EVIDENCE = 'Current Level of Evidence'; export const PREVIOUS_LEVEL_OF_EVIDENCE = 'Previous Level of Evidence'; export const DRUGS_ADDED_TO_ONCOKB = `Drug(s) added to ${ONCOKB_TM}`; export const DRUGS_UPDATE_IN_ONCOKB = `Drug(s) updated in ${ONCOKB_TM}`; -export const DRUGS_CURRENTLY_IN_ONCOKB = `Drug(s) currently in ${ONCOKB_TM}`; +export const DRUGS_REMAINING_IN_ONCOKB = `Drug(s) remaining in ${ONCOKB_TM}`; export const DRUGS_REMOVED_FROM_ONCOKB = `Drug(s) removed from ${ONCOKB_TM}`; export const DRUGS_DEMOTED_IN_ONCOKB = `Drug(s) demoted in ${ONCOKB_TM}`; export const DRUGS_PROMOTED_IN_ONCOKB = `Drug(s) promoted in ${ONCOKB_TM}`; @@ -156,7 +157,7 @@ export const CHANGED_ANNOTATION_DRUG_SAME_HIGHEST_LEVEL_COLUMNS = [ { name: GENE }, { name: MUTATION }, { name: CANCER_TYPE }, - { name: DRUGS_CURRENTLY_IN_ONCOKB }, + { name: DRUGS_REMAINING_IN_ONCOKB }, { name: DRUGS_CHANGED_IN_ONCOKB }, { name: EVIDENCE }, ]; @@ -166,7 +167,7 @@ export const CHANGED_ANNOTATION_ADDITIONAL_DRUG_SAME_LEVEL_COLUMNS = [ { name: MUTATION }, { name: CANCER_TYPE }, { name: CURRENT_LEVEL_OF_EVIDENCE }, - { name: DRUGS_CURRENTLY_IN_ONCOKB }, + { name: DRUGS_REMAINING_IN_ONCOKB }, { name: DRUGS_ADDED_TO_ONCOKB }, { name: EVIDENCE }, ]; @@ -177,7 +178,7 @@ export const CHANGED_ANNOTATION_ADDITIONAL_DRUG_DIFF_LEVEL_COLUMNS = [ { name: CANCER_TYPE }, { name: PREVIOUS_LEVEL_OF_EVIDENCE }, { name: CURRENT_LEVEL_OF_EVIDENCE }, - { name: DRUGS_CURRENTLY_IN_ONCOKB }, + { name: DRUGS_REMAINING_IN_ONCOKB }, { name: DRUGS_ADDED_TO_ONCOKB }, { name: EVIDENCE }, ]; @@ -188,7 +189,7 @@ export const CHANGED_ANNOTATION_DRUG_REMOVAL_COLUMNS = [ { name: CANCER_TYPE }, { name: PREVIOUS_LEVEL }, { name: CURRENT_LEVEL_OF_EVIDENCE }, - { name: DRUGS_CURRENTLY_IN_ONCOKB }, + { name: DRUGS_REMAINING_IN_ONCOKB }, { name: DRUGS_REMOVED_FROM_ONCOKB }, { name: EVIDENCE }, ]; @@ -198,8 +199,8 @@ export const CHANGED_ANNOTATION_DRUG_REMOVAL_SAME_HIGHEST_LEVEL_COLUMNS = [ { name: MUTATION }, { name: CANCER_TYPE }, { name: CURRENT_LEVEL_OF_EVIDENCE }, - { name: DRUGS_CURRENTLY_IN_ONCOKB }, { name: DRUGS_REMOVED_FROM_ONCOKB }, + { name: DRUGS_REMAINING_IN_ONCOKB }, { name: EVIDENCE }, ]; @@ -207,7 +208,7 @@ export const CHANGED_ANNOTATION_SENSITIVITY_LEVEL_COLUMNS = [ { name: GENE }, { name: MUTATION }, { name: CANCER_TYPE }, - { name: DRUGS_CURRENTLY_IN_ONCOKB }, + { name: DRUGS_REMAINING_IN_ONCOKB }, { name: DRUGS_ADDED_TO_ONCOKB }, { name: UPDATED_SENSITIVITY_LEVEL }, { name: UPDATED_RESISTANCE_LEVEL }, @@ -300,6 +301,134 @@ const EVIDENCE_COLUMN_SEPARATOR = '; '; // https://stackoverflow.com/questions/41947168/is-it-possible-to-use-keyof-operator-on-literals-instead-of-interfaces export const NEWS_BY_DATE: { [date: string]: NewsData } = { + '11262024': { + changedAnnotations: [ + { + columnHeaderType: AnnotationColumnHeaderType.NEW_ALTERATION_WITH_LEVEL, + content: [ + [ + '1', + 'KMT2A', + 'Fusions', + 'Mixed Phenotype Acute Leukemia', + 'Revumenib', + [ + + + + , + ], + ], + ], + }, + { + columnHeaderType: + AnnotationColumnHeaderType.ADDITIONAL_SENSITIVITY_LEVEL_DRUG, + content: [ + [ + 'NTRK1', + 'G595R', + 'All Solid Tumors', + 'Larotrectinib (Level R1), Entrectinib (Level R2)', +
+
Selitrectinib (Level 3A)
+
+
Zurletrectinib (Level 4)
+
, + '3A', + 'R1', + + + , + ], + [ + 'NTRK3', + 'G623R', + 'All Solid Tumors', + 'Larotrectinib (Level R1)', +
+
Selitrectinib (Level 3A)
+
+
Zurletrectinib (Level 4)
+
, + '3A', + 'R1', + + + , + ], + ], + }, + { + useOneLineRowClass: false, + title: + 'Updated therapeutic implications - Promotion of tumor type-specific level of evidence for an alteration(s)', + headers: CHANGED_ANNOTATION_LEVEL_WITH_EVIDENCE_COLUMNS, + content: [ + [ + 'KMT2A', + 'Fusions', + 'Acute Myeloid Leukemia, B-cell Lymphoblastic Leukemia/Lymphoma', + 'Revumenib (Level 3A)', + '3A', + '1', + + + + , + ], + ], + }, + { + columnHeaderType: AnnotationColumnHeaderType.UPDATED_SAME_LEVEL_DRUG, + content: [ + [ + '1', + + {getAlternativeGenePageLinks('NTRK1/2/3')} + , + + + Fusions + + , + 'All Solid Tumors', + 'Entrectinib, Larotrectinib, Repotrectinib (Level 1)', + 'Zurletrectinib (Level 4)', + + + , + ], + ], + }, + { + columnHeaderType: + AnnotationColumnHeaderType.DRUG_REMOVAL_SAME_HIGHEST_LEVEL, + content: [ + [ + 'PIK3CA', + 'H1047R', + 'All Solid Tumors', + '4', + 'LOXO-783, LOXO-783 + Aromatase Inhibition Therapy + Abemaciclib, LOXO-783 + Fulvestrant, LOXO-783 + Fulvestrant + Abemaciclib, LOXO-783 + LY3484356, LOXO-783 + LY3484356 + Abemaciclib, LOXO-783 + Paclitaxel (Level 4)', + 'RLY-2608, RLY-2608 + Fulvestrant (Level 4)', + + + Discontinuation of LOXO-783 development + + , + ], + ], + }, + ], + newlyAddedGenes: ['ADGRG4', 'AFDN', 'AGGF1', 'MAGI2', 'PRKCB', 'ZNF292'], + }, '10242024': { priorityNews: [ @@ -398,7 +527,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { 'Breast Cancer',
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
Alpelisib + Fulvestrant, Capivasertib + Fulvestrant (Level 2) @@ -743,7 +872,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { 'Oligodendroglioma',
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
Ivosidenib (Level 2)


@@ -770,7 +899,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { 'Astrocytoma',
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
Vorasidenib (Level 3A), Ivosidenib (Level 3A)


@@ -816,7 +945,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { 'Endometrial Cancer, Ovarian Cancer',
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
Lunresertib (Level 4), BLU-222 (Level 4)


@@ -1101,7 +1230,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { 'Colorectal Cancer',
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
Sensitivity
@@ -1686,7 +1815,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { 'Breast Cancer',
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
Capivasertib + Fulvestrant (Level 1), Alpelisib + Fulvestrant @@ -1758,7 +1887,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { 'Non-Small Cell Lung Cancer',
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
Osimertinib (Level R2), Afatinib (Level 4)


@@ -1932,7 +2061,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = {
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
Milademetan (Level 4)


@@ -2116,7 +2245,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { 'Breast Cancer',
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
GSK2636771, AZD8186 (Currently Level 4)


@@ -2257,7 +2386,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { {MUTATION} {CANCER_TYPE} {CURRENT_LEVEL_OF_EVIDENCE} - {DRUGS_CURRENTLY_IN_ONCOKB} + {DRUGS_REMAINING_IN_ONCOKB} {DRUGS_ADDED_TO_ONCOKB} {EVIDENCE} @@ -2345,7 +2474,7 @@ export const NEWS_BY_DATE: { [date: string]: NewsData } = { 'Colorectal Cancer',
- {DRUGS_CURRENTLY_IN_ONCOKB}: + {DRUGS_REMAINING_IN_ONCOKB}:
Adagrasib + Cetuximab (Level 3A)


diff --git a/src/main/webapp/app/shared/utils/UrlUtils.tsx b/src/main/webapp/app/shared/utils/UrlUtils.tsx index ec7d1cf42..db9abda9d 100644 --- a/src/main/webapp/app/shared/utils/UrlUtils.tsx +++ b/src/main/webapp/app/shared/utils/UrlUtils.tsx @@ -176,6 +176,23 @@ export const getAlternativeAllelesPageLinks = ( } }; +export const getAlternativeGenePageLinks = (genes: string) => { + const splits = genes.split('/'); + const temp = splits[0]; + const baseHugoSymbol = temp.substring(0, temp.length - 1); + const geneLinks = [temp[temp.length - 1], ...splits.slice(1)].map( + (ending, index) => { + const hugoSymbol = `${baseHugoSymbol}${ending}`; + return ( + + {index === 0 ? hugoSymbol : ending} + + ); + } + ); + return {geneLinks}; +}; + export type GenePagePath = { hugoSymbol?: string; geneticType?: GENETIC_TYPE; diff --git a/src/main/webapp/content/images/oncokb_summary.png b/src/main/webapp/content/images/oncokb_summary.png index 44d2f2b30..71c9faa6d 100644 Binary files a/src/main/webapp/content/images/oncokb_summary.png and b/src/main/webapp/content/images/oncokb_summary.png differ diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index 7d47fb85a..8859045e1 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -14,7 +14,7 @@ - + @@ -22,7 +22,7 @@ - +