| | |
The Cleaver class provides a model for performing aqueous cleavage reactions involving CleavageAgent objects and Polymer Sequences. More...
| Header: | #include <Cleaver.hpp> |
| Cleaver() | |
| Cleaver(MsXpS::libXpertMassCore::PolymerCstQSPtr polymer_cqsp, MsXpS::libXpertMassCore::PolChemDefCstSPtr pol_chem_def_csp, const MsXpS::libXpertMassCore::CleavageConfig &cleavage_config, const MsXpS::libXpertMassCore::CalcOptions &calc_options, const MsXpS::libXpertMassCore::Ionizer &ionizer) | |
| Cleaver(const MsXpS::libXpertMassCore::Cleaver &other) | |
| ~Cleaver() | |
| bool | accountCleavageRule(MsXpS::libXpertMassCore::CleavageRuleSPtr cleavage_rule_sp, MsXpS::libXpertMassCore::OligomerSPtr oligomer_sp) |
| int | analyzeCrossLinkedOligomer(MsXpS::libXpertMassCore::OligomerSPtr oligomer_sp, MsXpS::libXpertMassCore::OligomerCollection &oligomers) |
| int | analyzeCrossLinks(MsXpS::libXpertMassCore::OligomerCollection &oligomers) |
| bool | cleave(bool reset = false) |
| int | cleavePartial(int partial_cleavage) |
| int | fillCleavageIndices() |
| int | findCleavageMotif(MsXpS::libXpertMassCore::CleavageMotif &cleavage_motif, size_t index_start, std::size_t index_stop) |
| QString | getCleaveAgentName() const |
| const MsXpS::libXpertMassCore::OligomerCollection & | getOligomerCollectionCstRef() const |
| MsXpS::libXpertMassCore::OligomerCollection & | getOligomerCollectionRef() |
| int | removeDuplicateCleavageIndices() |
| int | resolveCleavageNoCleavage() |
| std::size_t | transferOligomers(MsXpS::libXpertMassCore::OligomerCollection &source, MsXpS::libXpertMassCore::OligomerCollection &dest) |
| bool | operator!=(const MsXpS::libXpertMassCore::Cleaver &other) const |
| MsXpS::libXpertMassCore::Cleaver & | operator=(const MsXpS::libXpertMassCore::Cleaver &other) |
| bool | operator==(const MsXpS::libXpertMassCore::Cleaver &other) const |
| MsXpS::libXpertMassCore::CalcOptions | m_calcOptions |
| MsXpS::libXpertMassCore::CleavageConfig | m_cleavageConfig |
| std::vector<int> | m_doCleaveIndices |
| std::vector<int> | m_doNotCleaveIndices |
| MsXpS::libXpertMassCore::Ionizer | m_ionizer |
| MsXpS::libXpertMassCore::OligomerCollection | m_oligomers |
| MsXpS::libXpertMassCore::PolChemDefCstSPtr | mcsp_polChemDef |
| MsXpS::libXpertMassCore::PolymerCstQSPtr | mcsp_polymer |
See also CleavageAgent, CleavageMotif, CleavageConfig, and Ionizer.
Constructs an entirely empty Cleaver instance.
Constructs a Cleaver instance with a number of parameters.
If polymer_cqsp or pol_chem_def_csp is nullptr, that is a fatal error.
Constructs Cleaver instance as a copy of other.
If polymer_cqsp or pol_chem_def_csp is nullptr, that is a fatal error.
[noexcept] Cleaver::~Cleaver()Desstructs this Cleaver instance
Accounts into the oligomer_sp for the cleavage_rule_sp.
Returns true if the accounting succeeded, false otherwise.
Pulls down all the Oligomer instances in oligomers that are found to be cross-linked to oligomer_sp.
Returns the count of IndexRange instances found in oligomer_sp, which is a reflection of the number of oligomers that are found to be cross-linked to it.
Analyzes the CrossLink instances that might be involved in the Oligomer instances in the oligomers collection.
The Oligomers that are found cross-linked are set in oligomers and the size of this collection is returned.
Performs the actual cleavage, thus generating Oligomer instances that are added to the member OligomerCollection instance.
If reset is true, the member OligomerCollection is first cleared; otherwise the newly generated Oligomer instances are simply added to it.
Returns true upon success, false otherwise.
Performs a cleavage operation for partial cleavage partial_cleavage.
Returns -1 if an error occurred, the count of generated oligomers otherwise.
Fills-in all the index values that correspond to precise locations where the cleavage reactions must occur. These indices represent location in the member Polymer Sequence.
If the pattern only contains cleaving sites, all the indices are added to the member container of cleavage indices. If the pattern contains also no-cleaving sites (like with Trypsin's "-Lys/Pro" pattern), then the corresponding indices are set to the member container of no-cleavage indices.
Returns the sum of the two cleavage/no-cleavage containers sizes. Or 0 if not a single cleavage site was found in the Polymer Sequence.
Returns an index at which the cleavage_motif CleavageMotif is found in the Polymer Sequence.
The search is started at index index_start and is stopped at index index_stop.
If cleavage_motif is not found, returns -1.
Returns the CleavageAgent name (from the member CleavageConfig instance's base class).
Returns a const reference to the member OligomerCollection instance.
Returns a reference to the member OligomerCollection instance.
Removes the duplicate cleavage indices from the container of cleavage indices.
Removes form the container of cleavage indices all the indices that were found to be no-cleavage indices in the corresponding container.
Returns the size of the container of cleavage indices.
Transfers (using std::move()) all the Oligomer instances from source to dest.
After the transfer, the source Oligomer container is cleared since it contains only nullptr items.
Returns true if this instance is different than other, false otherwise.
Returns a reference to this Cleaver instance after initialization using other.
Returns true if this instance is identical to other, false otherwise.
This variable holds the CalcOptions that configure the way masses and formulas are to be computed.
This variable holds the CleavageConfig that configures the cleavage reaction.
This variable holds the vector of indices in the Polymer Sequence that are indeed the site of cleavage.
This variable holds the vector of indices in the Polymer Sequence that are not the site of cleavage.
This variable holds the Ionizer that directs the ionization of the Oligomer instances obtained by cleaving the Polymer.
This variable holds the vector of Oligomer instances generated as a result of the cleavage.
This variable holds the PolChemDef polymer chemistry definition.
This variable holds the Polymer polymer that is being cleaved (digested).