From cc6b1e0570eea3475a36930b61d425e9b3d74390 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Thu, 8 Aug 2024 09:21:12 +0200 Subject: [PATCH 1/7] Missed cleavage handling always enabled now --- src/components/analysis/AnalysisSummary.vue | 6 +- src/components/analysis/CustomTooltip.vue | 110 +++++++++ .../analysis/SearchSettingsForm.vue | 98 ++++++++ src/components/assay/CreateAssayDialog.vue | 19 +- .../dialogs/SearchConfigurationDialog.vue | 218 ------------------ .../navigation-drawers/AssayItem.vue | 2 +- .../navigation-drawers/StudyItem.vue | 8 - .../pages/analysis/AnalysisPage.vue | 2 - .../assay/AssayFileSystemDataReader.ts | 2 +- .../assay/processed/CachedResultsManager.ts | 2 +- .../configuration/SearchConfigManager.ts | 4 +- 11 files changed, 226 insertions(+), 245 deletions(-) create mode 100644 src/components/analysis/CustomTooltip.vue create mode 100644 src/components/analysis/SearchSettingsForm.vue delete mode 100644 src/components/dialogs/SearchConfigurationDialog.vue diff --git a/src/components/analysis/AnalysisSummary.vue b/src/components/analysis/AnalysisSummary.vue index da0108f2..d2eefe17 100644 --- a/src/components/analysis/AnalysisSummary.vue +++ b/src/components/analysis/AnalysisSummary.vue @@ -76,7 +76,7 @@ :horizontal="true" :equate-il.sync="equateIl" :filter-duplicates.sync="filterDuplicates" - :missing-cleavage.sync="missedCleavage"> + :missing-cleavage="true">
@@ -120,7 +120,6 @@ import { ProteomicsAssay, CountTable, Peptide, - SearchSettingsForm, SearchConfiguration, PeptideTrust, Pept2DataCommunicator, @@ -139,6 +138,7 @@ import AnalysisSourceSelect from "@/components/assay/AnalysisSourceSelect.vue"; import ConfigurationManager from "@/logic/configuration/ConfigurationManager"; import CustomDatabase from "@/logic/custom_database/CustomDatabase"; import ExportResultsButton from "@/components/analysis/ExportResultsButton.vue"; +import SearchSettingsForm from "@/components/analysis/SearchSettingsForm.vue"; @Component({ components: { PeptideSummaryTable, SearchSettingsForm, ExportResultsButton, Tooltip, AnalysisSourceSelect } @@ -323,7 +323,7 @@ export default class AnalysisSummary extends Vue { } private update() { - const config = new SearchConfiguration(this.equateIl, this.filterDuplicates, this.missedCleavage); + const config = new SearchConfiguration(this.equateIl, this.filterDuplicates, true); this.assay.setSearchConfiguration(config); this.assay.setAnalysisSource(this.analysisSource); diff --git a/src/components/analysis/CustomTooltip.vue b/src/components/analysis/CustomTooltip.vue new file mode 100644 index 00000000..8bbbf651 --- /dev/null +++ b/src/components/analysis/CustomTooltip.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/src/components/analysis/SearchSettingsForm.vue b/src/components/analysis/SearchSettingsForm.vue new file mode 100644 index 00000000..83d31982 --- /dev/null +++ b/src/components/analysis/SearchSettingsForm.vue @@ -0,0 +1,98 @@ + + + diff --git a/src/components/assay/CreateAssayDialog.vue b/src/components/assay/CreateAssayDialog.vue index ddbf3c18..456e6902 100644 --- a/src/components/assay/CreateAssayDialog.vue +++ b/src/components/assay/CreateAssayDialog.vue @@ -110,8 +110,10 @@