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")
78 if(name ==
"cter_removal")
82 else if(name ==
"delta_position")
86 else if(name ==
"missed_cleavage")
90 else if(name ==
"no_delta_position")
94 else if(name ==
"nter_removal")
98 else if(name ==
"zero_mass_delta")
106 QObject::tr(
"DeepProtPeptideCandidateStatus unknown :\n%1").arg(name));
115 QString match_type_str;
119 match_type_str =
"delta_position";
122 match_type_str =
"no_delta_position";
125 match_type_str =
"uncategorized";
128 match_type_str =
"zero_mass_delta";
131 match_type_str =
"zero_mass_delta_mc";
134 match_type_str =
"zero_mass_delta_st";
139 QObject::tr(
"DeepProtMatchType unknown :\n%1").arg((std::uint8_t)match_type));
141 return match_type_str;
152 status_str =
"cter_removal";
155 status_str =
"delta_position";
158 status_str =
"missed_cleavage";
161 status_str =
"no_delta_position";
164 status_str =
"nter_removal";
167 status_str =
"zero_mass_delta";
172 QObject::tr(
"DeepProtPeptideCandidateStatus unknown :\n%1").arg((std::uint8_t)status));
static const QString toString(DeepProtMatchType match_type)
static DeepProtMatchType DeepProtMatchTypeFromString(const QString &name)
static DeepProtPeptideCandidateStatus DeepProtPeptideCandidateStatusFromString(const QString &name)
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