getNcbiStdCode(
chareaa);
50 static chargetEaaCode(
charstdCode);
51 static const stringgetResiduesString();
52 static intgetResiduesStringSize();
57 voidaddOccurence(
charresidue,
int row,
boolaligned);
58 doublecalculateColumnWeight(
charresidue,
boolcountGap,
intnumRows)
const;
60 doublesumUpColumnWeightsByRow(vector<double>& rowWeights,
boolcountGap,
intnumRows)
const;
61 doublereweightColumnByRowWeights(
constvector<double>& rowWeights,
char& heaviestResidue)
const;
62 intgetSumCount()
const;
63 chargetMostFrequentResidue(
int&
count)
const;
65 voidgetResiduesByRow(vector<char>& residues,
boolbyNcbiStd=
true)
const;
67 unsigned chargetResidueByRow(
int row);
68 boolisAligned(
charresidue,
int row)
const;
69 boolisAligned(
int row);
70 boolisAllRowsAligned()
const;
77 doublecalcInformationContent();
82 return(
row> (
int)(m_residuesByRow.size()-1)) ? 0 : m_residuesByRow[
row];
90 static voiduseDefaultBackgroundResFreq();
91 doublegetBackgroundResFreq(
charres);
133 typedefpair<int,int>
Seg;
137 voidsetIndexSequence(
string& seq);
138 stringgetIndexSequence();
141 intgetLenOfLongestSeg();
144 intgetLongUnalignedSegs(
intlength, vector<Seg>& segs);
145 stringsubtractLongestSeg(
intthreshold);
147 stringsubtractSeg(Seg seg,
string&
in);
156 intgetLen(
Segseg);
166 voidaddOneRow(
BlockModelPair&
bmp,
const string& mSeq,
const string& sSeq);
167 voidcalculateRowWeights();
168 const string& makeConsensus();
170 const stringgetConsensus(
boolinNcbieaa=
true) ;
173 intcountColumnsOnMaster(
string& seq);
177 voidadjustConsensusAndGuide();
184 doublecalcInformationContent(
boolbyConsensus=
true);
197 unsigned intGetNumUnqualAfterIndex(
intindex)
const;
198 boolHasUnqualAfterIndex(
intindex)
const;
219 voidsegsToSet(vector<UnalignedSegReader::Seg>& segs,
set<int>& cols);
virtual void read(ColumnResidueProfile &crp)=0
unsigned char getResidueByRow(int row)
multimap< char, RowStatusPair > ResidueRowsMap
pair< int, bool > RowStatusPair
ResidueRowsMap::iterator * findRow(int row)
int getIndexByConsensus() const
void setIndexByConsensus(int col)
vector< ResidueRowsMap::iterator * > m_residuesByRow
ResidueRowsMap m_residueRowsMap
int getResidueTypeCount() const
virtual void read(ColumnResidueProfile &crp)
virtual ~MasterColumnCounter()
const vector< CRef< CSeq_id > > getSeqIdsByRow() const
void setInclusionThreshold(double th)
vector< double > m_rowWeights
set< int > m_colsToSkipOnConsensus
UnqualForConsMap::const_iterator UnqualForConsCit
BlockModelPair m_guideAlignment
UnqualForConsMap m_numUnqualAfterConsIndex
set< int > m_colsToSkipOnMaster
map< int, unsigned int > UnqualForConsMap
UnqualForConsMap::iterator UnqualForConsIt
map< ColumnAddress, ColumnResidueProfile > PosProfileMap
vector< CRef< CSeq_id > > m_seqIds
double m_frequencyThreshold
vector< Seg > m_unalignedSegs
container_type::const_iterator const_iterator
container_type::iterator iterator
container_type::iterator iterator
bool operator<(const CEquivRange &A, const CEquivRange &B)
thread_local unique_ptr< FtaMsgPost > bmp
#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_CDUTILS_EXPORT
<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n th
std::istream & in(std::istream &in_, double &x_)
#define row(bind, expected)
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