Go to the SVN repository for this file.
1 #ifndef ALGO_COBALT___SEQ__HPP 2 #define ALGO_COBALT___SEQ__HPP 72 CSequence(
constobjects::CSeq_loc& seq, objects::CScope& scope);
77 voidReset(
constobjects::CSeq_loc& seq, objects::CScope& scope);
82 voidReset(
intlength);
101 const unsigned char*
GetSequence()
const{
return&m_Sequence[0]; }
107 unsigned char GetLetter(
intpos)
const{
returnm_Sequence[pos]; }
120 unsigned charGetPrintableLetter(
intpos)
const;
125 int GetLength()
const{
return(
int)m_Sequence.size(); }
145 voidInsertGaps(
constvector<Uint4>& gap_locations,
146 boolconsider_gaps =
false);
156 static voidCompressSequences(vector<CSequence>& seq,
157vector<int> index_list);
165 static voidCreateMsa(
constobjects::CSeq_align& seq_align,
166objects::CScope& scope,
167vector<CSequence>& msa);
Multiple aligner exceptions.
Definitions used by all COBALT aligner components.
Class for representing protein sequences.
CNcbiMatrix< double > TFreqMatrix
Represents the sequence as position-specific amino acid frequencies.
const TFreqMatrix & GetFreqs() const
int GetLength() const
Get the length of the current sequence.
unsigned char GetLetter(int pos) const
Access the sequence letter at a specified position.
TFreqMatrix & GetFreqs()
Access the list of position frequencies associated with a sequence.
const unsigned char * GetSequence() const
Get the raw sequence data in ncbistdaa format.
TFreqMatrix m_Freqs
Position-specific frequency profile corresponding to sequence.
CSequence()
Default constructor: build an empty sequence.
void SetLetter(int pos, unsigned char letter)
Change letter in a given position to a given one.
unsigned char * GetSequence()
Access the raw sequence data, in ncbistdaa format.
vector< unsigned char > m_Sequence
The sequence (ncbistdaa format)
vector< ETranscriptSymbol > TTranscript
static const char kGapChar('-')
The representation of a gap in ASCII format.
#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_COBALT_EXPORT
CSequnceHelper< CObject > CSequence
Definition of SSeqLoc structure.
static Uint4 letter(char c)
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