From a2e3d68f4c4ed6c59e9f604d12d218c1d405b6b5 Mon Sep 17 00:00:00 2001
From: Olivier Langella <olivier.langella@u-psud.fr>
Date: Wed, 7 Mar 2018 17:10:57 +0100
Subject: [PATCH] apply evalue threshold on mascot files

---
 .../identification_sources/identificationmascotdatfile.cpp    | 3 ++-
 src/core/identification_sources/identificationmascotdatfile.h | 2 +-
 src/input/mascot/mascotdatparser.cpp                          | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/core/identification_sources/identificationmascotdatfile.cpp b/src/core/identification_sources/identificationmascotdatfile.cpp
index dff8e3b8..459288fc 100644
--- a/src/core/identification_sources/identificationmascotdatfile.cpp
+++ b/src/core/identification_sources/identificationmascotdatfile.cpp
@@ -99,8 +99,9 @@ void IdentificationMascotDatFile::parseTo(Project* p_project) {
     qDebug() << "IdentificationMascotDatFile::parseTo end";
 }
 
-
+/*
 const bool IdentificationMascotDatFile::isValid(const PeptideEvidence * p_peptide_evidence, const AutomaticFilterParameters & automatic_filter_parameters) const {
   
        return true;
 }
+*/
diff --git a/src/core/identification_sources/identificationmascotdatfile.h b/src/core/identification_sources/identificationmascotdatfile.h
index 819124e8..4c6a8d25 100644
--- a/src/core/identification_sources/identificationmascotdatfile.h
+++ b/src/core/identification_sources/identificationmascotdatfile.h
@@ -44,7 +44,7 @@ public:
     virtual pappso::SpectrumSp getSpectrumSp(unsigned int scan_number) const override;
     virtual void parseTo(Project* p_project) override;
 
-    virtual const bool isValid(const PeptideEvidence * p_peptide_evidence, const AutomaticFilterParameters & automatic_filter_parameters) const override;
+    //virtual const bool isValid(const PeptideEvidence * p_peptide_evidence, const AutomaticFilterParameters & automatic_filter_parameters) const override;
 
 private:
     const QFileInfo _mascot_dat_file;
diff --git a/src/input/mascot/mascotdatparser.cpp b/src/input/mascot/mascotdatparser.cpp
index 319a0931..962c36c5 100644
--- a/src/input/mascot/mascotdatparser.cpp
+++ b/src/input/mascot/mascotdatparser.cpp
@@ -371,7 +371,7 @@ void MascotDatParser::parseSummaryLine(const QString & summary_line) {
 
 
 void MascotDatParser::saveAndClearPeptide() {
-    qDebug() << "MascotDatParser::saveAndClearPeptide begin";
+    //qDebug() << "MascotDatParser::saveAndClearPeptide begin";
     if (_current_peptide.query_index > 0) {
         // save
         if (_is_decoy_section) {
@@ -387,7 +387,7 @@ void MascotDatParser::saveAndClearPeptide() {
     _current_peptide.fasta_file_list.clear();
     _current_peptide.query_index = 0;
     _current_peptide.subst = "";
-    qDebug() << "MascotDatParser::saveAndClearPeptide end";
+    //qDebug() << "MascotDatParser::saveAndClearPeptide end";
 }
 
 
-- 
GitLab