(iter != sm_GroupNameStrs.end()) {
64vector<string> tokens;
66 size_tnum_tokens = tokens.size();
69 for(
size_t i= 0;
i< num_tokens; ++
i) {
94 if(align.CheckNumRows() == 2) {
97 if(strand1 != strand2) {
121 static const stringkSorterName =
"strand";
129 "Sort alignments by strand");
CStaticArrayMap< CAlignStrandSorter::EGroup, string > TGroupNameMap
SStaticPair< CAlignStrandSorter::EGroup, const char * > TGroupNameStr
#include <objects/seqloc/Na_strand.hpp>
static const TGroupNameStr s_GroupNameStrs[]
static const string & s_GroupIdxToName(int idx)
DEFINE_STATIC_ARRAY_MAP(TGroupNameMap, sm_GroupNameStrs, s_GroupNameStrs)
static SSorterDescriptor GetSorterDescr()
static const string & GetID()
set< EGroup > m_SortGroups
Curently intended sorting groups.
@ eInvalid
maybe it is valid, but not considered
virtual int GetGroupIdx(const objects::CSeq_align &align) const
Get the sorted group index for a given feature.
CAlignStrandSorter(const string &sort_str)
virtual string GroupIdxToName(int idx) const
Convert group index into group name.
virtual SSorterDescriptor GetThisDescr() const
Return a name for the sorter.
class CStaticArrayMap<> provides access to a static array in much the same way as CStaticArraySet<>,...
TBase::const_iterator const_iterator
iterator_bool insert(const value_type &val)
static void TokenizeWithEscape(const string &str, const string &delim, vector< string > &tokens, bool remove_escape=false)
Tokenize a string using the delim.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
static string TruncateSpaces(const string &str, ETrunc where=eTrunc_Both)
Truncate whitespace in a string.
ENa_strand
strand of nucleic acid
Template structure SStaticPair is simlified replacement of STL pair<> Main reason of introducing this...
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4