32 const std::set<ConstRibonucleotidePtr>& fixed_mods,
37 const std::set<ConstRibonucleotidePtr>& var_mods,
39 std::vector<NASequence>& all_modified_NASequences,
40 bool keep_original =
true);
45 const std::vector<int>& subset_indices,
46 const std::map<
int, std::vector<ConstRibonucleotidePtr>>& map_compatibility,
49 std::vector<NASequence>& modified_NASequences);
55 const std::set<ConstRibonucleotidePtr>& var_mods,
57 std::vector<NASequence>& all_modified_NASequences,
58 bool keep_original =
true);
Definition: ModifiedNASequenceGenerator.h:26
static void applyFixedModifications(const std::set< ConstRibonucleotidePtr > &fixed_mods, NASequence &sequence)
Applies fixed modifications to a single NASequence.
static void recurseAndGenerateVariableModifiedSequences_(const std::vector< int > &subset_indices, const std::map< int, std::vector< ConstRibonucleotidePtr >> &map_compatibility, int depth, const NASequence ¤t_NASequence, std::vector< NASequence > &modified_NASequences)
Recursively generate all combinatorial placements at compatible sites.
static void applyAtMostOneVariableModification_(const std::set< ConstRibonucleotidePtr > &var_mods, const NASequence &seq, std::vector< NASequence > &all_modified_NASequences, bool keep_original=true)
static void applyVariableModifications(const std::set< ConstRibonucleotidePtr > &var_mods, const NASequence &seq, Size max_variable_mods_per_NASequence, std::vector< NASequence > &all_modified_NASequences, bool keep_original=true)
Applies variable modifications to a single NASequence. If keep_original is set the original (e....
Representation of a nucleic acid sequence.
Definition: NASequence.h:34
Representation of a ribonucleotide (modified or unmodified)
Definition: Ribonucleotide.h:26
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19