Go to the documentation of this file.Go to the SVN repository for this file.
46 const vector<string>& gffColumns,
51 auto score = gffColumns[5];
53 scoreIsPresent =
false;
60 catch(std::exception&) {
63 scoreIsPresent =
true;
70 const vector<string>& gffColumns,
74 phase = gffColumns[7];
75 vector<string> valid = {
".",
"0",
"1",
"2"};
76 auto validIt = find(valid.begin(), valid.end(), phase);
77 return (validIt != valid.end());
86 vector<CCdregion::TFrame> frameValues = {
93 return frameValues[phase[0] -
'0'];
static bool InitializeFrame(const std::vector< std::string > &, std::string &)
static CCdregion::TFrame PhaseToFrame(const std::string &)
static bool InitializeScore(const std::vector< std::string > &, bool &, double &)
#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.
static double StringToDouble(const CTempStringEx str, TStringToNumFlags flags=0)
Convert string to double.
@ eFrame_not_set
not set, code uses one
@ eFrame_three
reading frame
Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...