(!
text.empty()) {
95ostream <<
"Alignment: ";
100 for( ; id_iter; ++id_iter ){
102 if( id_set.
insert(idh).second ){
113 if(!
label.empty()) {
120 if(id_set.
size() == 2) {
142 constobjects::CSeq_align* seq_align =
146<<
CTextStyle(255,0,0,255,255,255,wxTRANSPARENT,
false,
false)
147<<
"Invalid object: should be Seq-align";
CRef< objects::CScope > m_Scope
CConstRef< CObject > m_Object
void WriteMultiLineText(const string &text)
CTextItemSeq_align(SConstScopedObject &object, EMode mode)
static ITextItem * CreateObject(SConstScopedObject &object, EMode mode)
virtual void x_RenderText(CStyledTextOStream &ostream, CTextPanelContext *context) const
virtual void x_Indent(CStyledTextOStream &ostream) const
Template class for iteration on objects of class C (non-medifiable version)
iterator_bool insert(const value_type &val)
static DLIST_TYPE *DLIST_NAME() first(DLIST_LIST_TYPE *list)
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
static void GetLabel(const CObject &obj, string *label, ELabelType type=eDefault)
void GetLabel(string *label, ELabelType type=eDefault, TLabelFlags flags=fLabel_Default) const
Append a label for this Seq-id to the supplied string.
CConstRef< CSeq_id > GetSeqId(void) const
static CSeq_id_Handle GetHandle(const CSeq_id &id)
Normal way of getting a handle, works for any seq-id.
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
@ eGetId_Best
return the "best" gi (uses FindBestScore(), with CSeq_id::CalculateScore() as the score function
TObjectType * GetPointer(void) const THROWS_NONE
Get pointer,.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static const char label[]
E_Choice Which(void) const
Which variant is currently selected.
list< CRef< CSeq_align > > Tdata
const TDisc & GetDisc(void) const
Get the variant data.
const Tdata & Get(void) const
Get the member data.
const TSegs & GetSegs(void) const
Get the Segs member data.
static void text(MDB_val *v)
static void s_Render_SeqAlign(CStyledTextOStream &ostream, const CSeq_align &align, CScope &scope)
static void s_Render_GenericAlign(CStyledTextOStream &ostream, const CSeq_align &align, CScope &scope)
static void s_Render_PairwiseAlign(CStyledTextOStream &ostream, const CSeq_align &align, CScope &scope)
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