75 #define NUMBER_OF_THREADS (omp_get_num_threads()) 77 #define NUMBER_OF_THREADS (1) 102 ExitCodes search(
const String& in_mzML,
104 std::vector<ProteinIdentification>& prot_ids,
105 std::vector<PeptideIdentification>& pep_ids)
const;
107 void updateMembers_()
override;
123 static void preprocessSpectra_(
PeakMap& exp,
double fragment_mass_tolerance,
bool fragment_mass_tolerance_unit_ppm);
127 static void postProcessHits_(
const PeakMap& exp,
128 std::vector<std::vector<SimpleSearchEngineAlgorithm::AnnotatedHit_> >& annotated_hits,
129 std::vector<ProteinIdentification>& protein_ids,
130 std::vector<PeptideIdentification>& peptide_ids,
132 const std::vector<ResidueModification>& fixed_modifications,
133 const std::vector<ResidueModification>& variable_modifications,
134 Size max_variable_mods_per_peptide,
137 Int peptide_missed_cleavages,
138 double precursor_mass_tolerance,
139 double fragment_mass_tolerance,
140 const String& precursor_mass_tolerance_unit_ppm,
141 const String& fragment_mass_tolerance_unit_ppm,
142 const Int precursor_min_charge,
143 const Int precursor_max_charge,
145 const String& database_name);
148 static std::vector<ResidueModification> getModifications_(
const StringList& modNames);
String precursor_mass_tolerance_unit_
Definition: SimpleSearchEngineAlgorithm.h:151
StringView sequence
Definition: SimpleSearchEngineAlgorithm.h:112
A more convenient string class.
Definition: String.h:58
Slimmer structure as storing all scored candidates in PeptideHit objects takes too much space...
Definition: SimpleSearchEngineAlgorithm.h:110
String peptide_motif_
Definition: SimpleSearchEngineAlgorithm.h:174
std::vector< Int > IntList
Vector of signed integers.
Definition: ListUtils.h:58
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Size peptide_min_size_
Definition: SimpleSearchEngineAlgorithm.h:170
static bool hasBetterScore(const AnnotatedHit_ &a, const AnnotatedHit_ &b)
Definition: SimpleSearchEngineAlgorithm.h:116
String enzyme_
Definition: SimpleSearchEngineAlgorithm.h:168
std::vector< PeptideHit::PeakAnnotation > fragment_annotations
Definition: SimpleSearchEngineAlgorithm.h:115
double fragment_mass_tolerance_
Definition: SimpleSearchEngineAlgorithm.h:158
Size peptide_missed_cleavages_
Definition: SimpleSearchEngineAlgorithm.h:172
SignedSize peptide_mod_index
Definition: SimpleSearchEngineAlgorithm.h:113
double precursor_mass_tolerance_
Definition: SimpleSearchEngineAlgorithm.h:150
Size modifications_max_variable_mods_per_peptide_
Definition: SimpleSearchEngineAlgorithm.h:166
StringList modifications_variable_
Definition: SimpleSearchEngineAlgorithm.h:164
Size precursor_min_charge_
Definition: SimpleSearchEngineAlgorithm.h:153
Size precursor_max_charge_
Definition: SimpleSearchEngineAlgorithm.h:154
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:73
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
Size report_top_hits_
Definition: SimpleSearchEngineAlgorithm.h:176
double score
Definition: SimpleSearchEngineAlgorithm.h:114
IntList precursor_isotopes_
Definition: SimpleSearchEngineAlgorithm.h:156
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
String fragment_mass_tolerance_unit_
Definition: SimpleSearchEngineAlgorithm.h:160
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91
Definition: SimpleSearchEngineAlgorithm.h:84
StringList modifications_fixed_
Definition: SimpleSearchEngineAlgorithm.h:162
int Int
Signed integer type.
Definition: Types.h:102
StringView provides a non-owning view on an existing string.
Definition: String.h:489
Size peptide_max_size_
Definition: SimpleSearchEngineAlgorithm.h:171
ExitCodes
Exit codes.
Definition: SimpleSearchEngineAlgorithm.h:92