2#ifndef INTARNA_PREDICTIONTRACKERPROFILEMINE_H_
3#define INTARNA_PREDICTIONTRACKERPROFILEMINE_H_
10#include <boost/algorithm/string.hpp>
44 ,
const std::string & seq1streamName
45 ,
const std::string & seq2streamName
47 ,
const std::string & sep =
";"
68 ,
const std::string & sep =
";"
89 ,
const size_t i2,
const size_t j2
147 template <
typename MinEProfileIterator >
151 ,
const MinEProfileIterator & begin
152 ,
const MinEProfileIterator & end
163template <
typename MinEProfileIterator >
168 ,
const MinEProfileIterator & begin
169 ,
const MinEProfileIterator & end
171 ,
const std::string & E_INF_string
172 ,
const std::string & sep_string
181 for (MinEProfileIterator curE = begin; curE!=end; curE++) {
Definition InteractionEnergy.h:20
Definition PredictionTrackerProfileMinE.h:21
const std::string sep_string
the output string representation of column separators
Definition PredictionTrackerProfileMinE.h:112
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)
Definition PredictionTrackerProfileMinE.h:167
std::ostream * seq1stream
if non-NULL, the stream to write the minE-profile for seq1 to
Definition PredictionTrackerProfileMinE.h:103
MinEProfile seq1minE
the position-wise minimal energy values for seq1
Definition PredictionTrackerProfileMinE.h:118
virtual ~PredictionTrackerProfileMinE()
static void updateProfile(MinEProfile &profile, const size_t i, const size_t j, const E_type E)
MinEProfile seq2minE
the position-wise minimal energy values for seq2
Definition PredictionTrackerProfileMinE.h:121
std::vector< E_type > MinEProfile
container definition for minE profile data
Definition PredictionTrackerProfileMinE.h:115
const std::string E_INF_string
the output string representation of E_INF values in the profile output
Definition PredictionTrackerProfileMinE.h:109
const bool deleteStreamsOnDestruction
whether or not the streams are to be deleted on destruction
Definition PredictionTrackerProfileMinE.h:100
PredictionTrackerProfileMinE(const InteractionEnergy &energy, std::ostream *seq1stream, std::ostream *seq2stream, const std::string &E_INF_string="NA", const std::string &sep=";")
PredictionTrackerProfileMinE(const InteractionEnergy &energy, const std::string &seq1streamName, const std::string &seq2streamName, const std::string &E_INF_string="NA", const std::string &sep=";")
const InteractionEnergy & energy
energy handler used for predictions
Definition PredictionTrackerProfileMinE.h:97
std::ostream * seq2stream
if non-NULL, the stream to write the minE-profile for seq2 to
Definition PredictionTrackerProfileMinE.h:106
virtual void updateOptimumCalled(const size_t i1, const size_t j1, const size_t i2, const size_t j2, const E_type energy)
Definition PredictionTracker.h:15
Definition RnaSequence.h:29
long getInOutIndex(const size_t i) const
Definition RnaSequence.h:376
const std::string & getId() const
Definition RnaSequence.h:346
const String_type & asString() const
Definition RnaSequence.h:442
#define E_isINF(e)
check if a given energy is set to E_INF
Definition general.h:143
#define E_2_Ekcal(e)
convert internal energy type to energy value in kcal/mol units
Definition general.h:107
Definition Accessibility.h:13
int E_type
type for energy values (energy + accessibility [ED]) (internally)
Definition general.h:78