|
IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
|
#include <PredictionTrackerProfileMinE.h>
Public Member Functions | |
| PredictionTrackerProfileMinE (const InteractionEnergy &energy, const std::string &seq1streamName, const std::string &seq2streamName, const std::string &E_INF_string="NA", const std::string &sep=";") | |
| PredictionTrackerProfileMinE (const InteractionEnergy &energy, std::ostream *seq1stream, std::ostream *seq2stream, const std::string &E_INF_string="NA", const std::string &sep=";") | |
| virtual | ~PredictionTrackerProfileMinE () |
| virtual void | updateOptimumCalled (const size_t i1, const size_t j1, const size_t i2, const size_t j2, const E_type energy) |
Public Member Functions inherited from IntaRNA::PredictionTracker | |
| PredictionTracker () | |
| virtual | ~PredictionTracker () |
Protected Types | |
| typedef std::vector< E_type > | MinEProfile |
| container definition for minE profile data | |
Static Protected Member Functions | |
| static void | updateProfile (MinEProfile &profile, const size_t i, const size_t j, const E_type E) |
| template<typename MinEProfileIterator > | |
| static void | writeProfile (std::ostream &out, const MinEProfileIterator &begin, const MinEProfileIterator &end, const RnaSequence &rna, const std::string &E_INF_string, const std::string &sep_string) |
Protected Attributes | |
| const InteractionEnergy & | energy |
| energy handler used for predictions | |
| const bool | deleteStreamsOnDestruction |
| whether or not the streams are to be deleted on destruction | |
| std::ostream * | seq1stream |
| if non-NULL, the stream to write the minE-profile for seq1 to | |
| std::ostream * | seq2stream |
| if non-NULL, the stream to write the minE-profile for seq2 to | |
| const std::string | E_INF_string |
| the output string representation of E_INF values in the profile output | |
| const std::string | sep_string |
| the output string representation of column separators | |
| MinEProfile | seq1minE |
| the position-wise minimal energy values for seq1 | |
| MinEProfile | seq2minE |
| the position-wise minimal energy values for seq2 | |
Collects for each sequence position the minimal energy of any interaction enclosing this position.
The profile(s) of this information is written to stream on destruction.
|
protected |
container definition for minE profile data
| IntaRNA::PredictionTrackerProfileMinE::PredictionTrackerProfileMinE | ( | const InteractionEnergy & | energy, |
| const std::string & | seq1streamName, | ||
| const std::string & | seq2streamName, | ||
| const std::string & | E_INF_string = "NA", |
||
| const std::string & | sep = ";" |
||
| ) |
Constructs a PredictionTracker that collects for each positions of a sequence the minimal energy of any interaction enclosing this position.
| energy | the energy function used for energy calculation |
| seq1streamName | the stream name where the profile data for seq1 is to be written to. use STDOUT/STDERR for the respective stream. Otherwise, an according file is created; if empty, no data for seq1 is collected |
| seq2streamName | the stream name where the profile data for seq2 is to be written to. use STDOUT/STDERR for the respective stream. Otherwise, an according file is created; if empty, no data for seq2 is collected |
| E_INF_string | the output string representation of E_INF values in the profile output |
| sep | the column separator to be used in profile output |
| IntaRNA::PredictionTrackerProfileMinE::PredictionTrackerProfileMinE | ( | const InteractionEnergy & | energy, |
| std::ostream * | seq1stream, | ||
| std::ostream * | seq2stream, | ||
| const std::string & | E_INF_string = "NA", |
||
| const std::string & | sep = ";" |
||
| ) |
Constructs an PredictionTracker that collected for each positions of a sequence the minimal energy of any interaction covering this position.
| energy | the energy function used |
| seq1stream | if non-NULL, the stream where the profile data for seq1 is to be written to; if NULL, no data for seq1 is collected |
| seq2stream | if non-NULL, the stream where the profile data for seq2 is to be written to; if NULL, no data for seq2 is collected |
| E_INF_string | the output string representation of E_INF values in the profile output |
| sep | the column separator to be used in profile output |
|
virtual |
destruction: write the profile(s) to the according streams.
|
virtual |
Updates the profile information for each Predictor.updateOptima() call.
| i1 | the index of the first sequence interacting with i2 |
| j1 | the index of the first sequence interacting with j2 |
| i2 | the index of the second sequence interacting with i1 |
| j2 | the index of the second sequence interacting with j1 |
| energy | the overall energy of the interaction site |
Implements IntaRNA::PredictionTracker.
|
staticprotected |
Updates a given minE profile if not empty.
| profile | the minE profile to update |
| i | the first index to update (inclusive) |
| j | the last index to update (inclusive) |
| E | the energy to be used for the update |
|
inlinestaticprotected |
Writes profile data to stream.
| out | the output stream to write to |
| begin | the begin iterator of the minE data to write |
| end | the end iterator (exclusive) of the minE data to write |
| rna | the RNA the data is about |
| E_INF_string | the string to be used for E_INF entries |
|
protected |
whether or not the streams are to be deleted on destruction
|
protected |
the output string representation of E_INF values in the profile output
|
protected |
energy handler used for predictions
|
protected |
the output string representation of column separators
|
protected |
the position-wise minimal energy values for seq1
|
protected |
if non-NULL, the stream to write the minE-profile for seq1 to
|
protected |
the position-wise minimal energy values for seq2
|
protected |
if non-NULL, the stream to write the minE-profile for seq2 to