47 std::set<ConstRibonucleotidePtr>
combined()
const
49 std::set<ConstRibonucleotidePtr> all = cuts_before_sensitive;
50 all.insert(cuts_after_sensitive.begin(), cuts_after_sensitive.end());
68 Size min_length = 0,
Size max_length = 0)
const;
82 Size min_length = 0,
Size max_length = 0)
const;
105 const std::set<ConstRibonucleotidePtr>& variable_modifications)
const;
126 Size max_sensitive_mods_per_fragment,
127 std::vector<DigestionProduct>& output,
129 Size max_length = 0)
const;
138 Size max_length = 0)
const;
143 std::vector<RegularExpression>
156 const std::pair<Size, Size>& pos,
157 Size parent_size)
const;
Base class for digestion enzymes.
Definition DigestionEnzyme.h:29
Class for the enzymatic digestion of sequences.
Definition EnzymaticDigestion.h:39
Definition IdentificationData.h:87
Representation of a nucleic acid sequence.
Definition NASequence.h:36
Class for the enzymatic digestion of RNAs.
Definition RNaseDigestion.h:29
NASequence fragment
Definition RNaseDigestion.h:36
void digest(const NASequence &rna, std::vector< NASequence > &output, Size min_length=0, Size max_length=0) const
Performs the enzymatic digestion of a (potentially modified) RNA.
void applyTerminalGains_(NASequence &fragment, const std::pair< Size, Size > &pos, Size parent_size) const
Apply enzyme-specific 5'/3' terminal gains to a fragment based on its parent coordinates.
std::vector< std::pair< Size, Size > > getFragmentPositions_(const NASequence &rna, Size min_length, Size max_length) const
Returns the positions of digestion products in the RNA as pairs: (start, length)
const Ribonucleotide * five_prime_gain_
5' mod added by the enzyme
Definition RNaseDigestion.h:141
void digest(const NASequence &rna, std::vector< DigestionProduct > &output, Size min_length=0, Size max_length=0) const
Performs the enzymatic digestion of a RNA and returns fragments with parent coordinates.
void digest(IdentificationData &id_data, Size min_length=0, Size max_length=0) const
Performs the enzymatic digestion of all RNA parent sequences in IdentificationData.
std::pair< Size, Size > position
Definition RNaseDigestion.h:37
void digestWithCleavageSensitiveMods(const NASequence &rna, const CleavageSensitiveModGroups &cleavage_sensitive_mods, Size max_sensitive_mods_per_fragment, std::vector< DigestionProduct > &output, Size min_length=0, Size max_length=0) const
Digest RNA while allowing cleavage-sensitive modifications to block adjacent cuts.
const Ribonucleotide * three_prime_gain_
3' mod added by the enzyme
Definition RNaseDigestion.h:142
void setEnzyme(const std::string &name)
Sets the enzyme for the digestion (by name)
std::vector< RegularExpression > cuts_after_regexes_
a vector of reg. exp. for enzyme cutting pattern, each regex represents a single nucleotide
Definition RNaseDigestion.h:144
std::vector< std::pair< Size, Size > > getFragmentPositions(const NASequence &rna, Size min_length=0, Size max_length=0) const
Returns the positions of digestion products in the RNA as pairs: (start, length)
std::vector< RegularExpression > cuts_before_regexes_
a vector reg. exp. for enzyme cutting pattern
Definition RNaseDigestion.h:145
void setEnzyme(const DigestionEnzyme *enzyme) override
Sets the enzyme for the digestion.
CleavageSensitiveModGroups inferCleavageSensitiveMods(const std::set< ConstRibonucleotidePtr > &variable_modifications) const
Infer which variable modifications can block cleavage for the configured enzyme.
Detailed digestion product including sequence and parent coordinates.
Definition RNaseDigestion.h:35
Representation of a ribonucleotide (modified or unmodified)
Definition Ribonucleotide.h:28
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
Cleavage-sensitive modification groups split by cleavage direction.
Definition RNaseDigestion.h:42
std::set< ConstRibonucleotidePtr > cuts_before_sensitive
Definition RNaseDigestion.h:43
std::set< ConstRibonucleotidePtr > cuts_after_sensitive
Definition RNaseDigestion.h:44
std::set< ConstRibonucleotidePtr > combined() const
Return the union of modifications sensitive to either cleavage direction.
Definition RNaseDigestion.h:47