1 #ifndef ALGO_ALIGN_PROSPLIGN_COMPART__HPP
2 #define ALGO_ALIGN_PROSPLIGN_COMPART__HPP
77 static const int default_MaxExtent = 500;
78 static const bool default_ByCoverage =
true;
81 static const EMaximizing default_Maximizing = default_ByCoverage?eCoverage:eIdentity;
83 static const char* s_scoreNames[];
87 SCompartment(
int from_,
int to_,
bool strand_,
int covered_aa_,
double score_,
int raw_score_) :
120 const vector<pair<THit::TCoord, THit::TCoord> > *gaps =
NULL);
124 const vector<pair<THit::TCoord, THit::TCoord> > *gaps =
NULL);
136 const vector<pair<THit::TCoord, THit::TCoord> > *gaps =
NULL);
static const double default_MinCompartmentIdty
static const int default_MaxIntron
static const double default_MinSingleCompartmentIdty
static const double default_CompartmentPenalty
static const int default_MaxOverlap
double m_CompartmentPenalty
double m_MinCompartmentIdty
double m_MinSingleCompartmentIdty
vector< THitRef > THitRefs
TCompartments SelectCompartmentsHits(const THitRefs &hitrefs, CCompartOptions compart_options, const vector< pair< THit::TCoord, THit::TCoord > > *gaps=NULL)
Composition of first two functions.
TCompartmentStructs MakeCompartments(const TCompartments &asn_representation, CCompartOptions compart_options)
CSplign::THitRefs THitRefs
vector< SCompartment > TCompartmentStructs
list< CRef< CSeq_annot > > TCompartments
TCompartments FormatAsAsn(CCompartmentAccessor< THit > *comparts_ptr, CCompartOptions compart_options, const vector< pair< THit::TCoord, THit::TCoord > > *gaps=NULL)
unique_ptr< CCompartmentAccessor< THit > > CreateCompartmentAccessor(const THitRefs &orig_hitrefs, CCompartOptions compart_options, const vector< pair< THit::TCoord, THit::TCoord > > *gaps=NULL)
Selects compartments.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_XALGOALIGN_EXPORT
Defines command line argument related classes.
The NCBI C++/STL use hints.
bool operator<(const SCompartment &comp) const
SCompartment(int from_, int to_, bool strand_, int covered_aa_, double score_, int raw_score_)