58 const std::set<ConstRibonucleotidePtr>& fixed_mods,
63 const std::set<ConstRibonucleotidePtr>& var_mods,
65 std::vector<NASequence>& all_modified_NASequences,
66 bool keep_original =
true);
71 const std::vector<int>& subset_indices,
72 const std::map<
int, std::vector<ConstRibonucleotidePtr>>& map_compatibility,
75 std::vector<NASequence>& modified_NASequences);
81 const std::set<ConstRibonucleotidePtr>& var_mods,
83 std::vector<NASequence>& all_modified_NASequences,
84 bool keep_original =
true);
Definition: ModifiedNASequenceGenerator.h:52
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:60
Representation of a ribonucleotide (modified or unmodified)
Definition: Ribonucleotide.h:52
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48