|
IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
|
#include <PredictionTrackerSpotProb.h>
Classes | |
| class | Spot |
Public Member Functions | |
| PredictionTrackerSpotProb (const InteractionEnergy &energy, const std::string &spots, const std::string &outStreamName, const std::string &sep=";") | |
| PredictionTrackerSpotProb (const InteractionEnergy &energy, const std::string &spots, std::ostream &outStream, const std::string &sep=";") | |
| virtual | ~PredictionTrackerSpotProb () |
| 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 () |
Static Public Attributes | |
| static const std::string | str_spot |
| regex string encoding of a single spot string encoding | |
| static const boost::regex | regexSpotString |
| regex to match a valid list of spot encodings | |
Protected Member Functions | |
| Spot | fromString (std::string &&spotString) |
Protected Attributes | |
| const InteractionEnergy & | energy |
| energy handler used for predictions | |
| std::ostream * | outStream |
| the stream to write the probabilities to | |
| const bool | deleteOutStream |
| whether or not outStream is to be deleted on destruction | |
| std::vector< Spot > | spots |
| tracking information for each spot | |
| const std::string | sep |
| the output column separator to be used | |
| Z_type | noSpotZ |
| partition function of all interaction not covering a tracked spot | |
| Z_type | overallZ |
| overall partition function of all reported interactions | |
Computes probability estimations that a given set of interaction spots are covered by an interaction. Furthermore it computes the probability that none of the targeted spots is covered by an interaction.
The information is written to stream on destruction.
| IntaRNA::PredictionTrackerSpotProb::PredictionTrackerSpotProb | ( | const InteractionEnergy & | energy, |
| const std::string & | spots, | ||
| const std::string & | outStreamName, | ||
| const std::string & | sep = ";" |
||
| ) |
Constructs a PredictionTracker that collects probability information for a set of interaction spots by computing the Boltzmann probability of any interaction enclosing the positions.
| energy | the energy function used for energy calculation |
| spots | the interaction spots to track for their probabilities |
| outStreamName | the stream name where the probability data is to be written to. use STDOUT/STDERR for the respective stream. Otherwise, an according file is created |
| sep | the column separator to be used in profile output |
| IntaRNA::PredictionTrackerSpotProb::PredictionTrackerSpotProb | ( | const InteractionEnergy & | energy, |
| const std::string & | spots, | ||
| std::ostream & | outStream, | ||
| const std::string & | sep = ";" |
||
| ) |
Constructs a PredictionTracker that collects probability information for a set of interaction spots by computing the Boltzmann probability of any interaction enclosing the positions.
| energy | the energy function used for energy calculation |
| spots | the interaction spots to track for their probabilities |
| outStream | the stream where the probability data is to be written to. |
| sep | the column separator to be used in profile output |
|
virtual |
destruction: write the probabilities to stream.
|
protected |
Creates spot information from string encoding
| spotString | the string to decode |
|
virtual |
Updates the probability 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.
|
protected |
whether or not outStream is to be deleted on destruction
|
protected |
energy handler used for predictions
|
protected |
partition function of all interaction not covering a tracked spot
|
protected |
the stream to write the probabilities to
|
protected |
overall partition function of all reported interactions
|
static |
regex to match a valid list of spot encodings
|
protected |
the output column separator to be used
|
protected |
tracking information for each spot
|
static |
regex string encoding of a single spot string encoding