35 #include "../../pappsoexception.h"
41 if(name ==
"delta_position")
45 else if(name ==
"no_delta_position")
49 else if(name ==
"uncategorized")
53 else if(name ==
"zero_mass_delta")
57 else if(name ==
"zero_mass_delta_mc")
61 else if(name ==
"zero_mass_delta_st")
68 QObject::tr(
"DeepProtMatchType unknown :\n%1").arg(name));
81 if(name ==
"cter_removal")
85 else if(name ==
"delta_position")
89 else if(name ==
"missed_cleavage")
93 else if(name ==
"no_delta_position")
97 else if(name ==
"nter_removal")
101 else if(name ==
"zero_mass_delta")
109 QObject::tr(
"DeepProtPeptideCandidateStatus unknown :\n%1").arg(name));
118 QString match_type_str;
122 match_type_str =
"delta_position";
125 match_type_str =
"no_delta_position";
128 match_type_str =
"uncategorized";
131 match_type_str =
"zero_mass_delta";
134 match_type_str =
"zero_mass_delta_mc";
137 match_type_str =
"zero_mass_delta_st";
142 QObject::tr(
"DeepProtMatchType unknown :\n%1")
143 .arg((std::uint8_t)match_type));
145 return match_type_str;
156 status_str =
"cter_removal";
159 status_str =
"delta_position";
162 status_str =
"missed_cleavage";
165 status_str =
"no_delta_position";
168 status_str =
"nter_removal";
171 status_str =
"zero_mass_delta";
176 QObject::tr(
"DeepProtPeptideCandidateStatus unknown :\n%1")
177 .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