33#include "../../pappsoexception.h"
39 if(name ==
"delta_position")
43 else if(name ==
"no_delta_position")
47 else if(name ==
"uncategorized")
51 else if(name ==
"zero_mass_delta")
55 else if(name ==
"zero_mass_delta_mc")
59 else if(name ==
"zero_mass_delta_st")
66 QObject::tr(
"DeepProtMatchType unknown :\n%1").arg(name));
79 if(name ==
"cter_removal")
83 else if(name ==
"delta_position")
87 else if(name ==
"missed_cleavage")
91 else if(name ==
"no_delta_position")
95 else if(name ==
"nter_removal")
99 else if(name ==
"zero_mass_delta")
107 QObject::tr(
"DeepProtPeptideCandidateStatus unknown :\n%1").arg(name));
116 QString match_type_str;
120 match_type_str =
"delta_position";
123 match_type_str =
"no_delta_position";
126 match_type_str =
"uncategorized";
129 match_type_str =
"zero_mass_delta";
132 match_type_str =
"zero_mass_delta_mc";
135 match_type_str =
"zero_mass_delta_st";
140 QObject::tr(
"DeepProtMatchType unknown :\n%1")
141 .arg((std::uint8_t)match_type));
143 return match_type_str;
154 status_str =
"cter_removal";
157 status_str =
"delta_position";
160 status_str =
"missed_cleavage";
163 status_str =
"no_delta_position";
166 status_str =
"nter_removal";
169 status_str =
"zero_mass_delta";
174 QObject::tr(
"DeepProtPeptideCandidateStatus unknown :\n%1")
175 .arg((std::uint8_t)status));
static const QString toString(DeepProtMatchType match_type)
static DeepProtMatchType DeepProtMatchTypeFromString(const QString &name)
static DeepProtPeptideCandidateStatus DeepProtPeptideCandidateStatusFromString(const QString &name)
base type definition to use in DeepProt
DeepProtMatchType
definition of different class of PSMs used by DeepProt
@ ZeroMassDeltaMissedCleavage
peptide candidate with missed cleavage is in precursor mz range
@ uncategorized
precursor mass was not compared
@ ZeroMassDelta
peptide candidate is in precursor mz range
@ ZeroMassDeltaSemiTryptic
semi tryptic peptide candidate is in precursor mz range
DeepProtPeptideCandidateStatus
definition of different status for potential peptide candidates on the same spectrum
@ unmodified
precursor mass was not compared