treeOption.cTermExt = alg->GetCTerminalExt();
14treeOption.nTermExt = alg->GetNTerminalExt();
15treeOption.clusteringMethod = (
ETreeMethod)(alg->GetClustering_Method());
19alg->GetScoring_Scheme() - 1 : alg->GetScoring_Scheme());
57 if(seqTree.
begin() == seqTree.
end())
63 while(sit != (seqTree.
begin()).
end())
74list< CRef< CSeqTree_node > >& childList = asnNode.
SetChildren().SetChildren();
77childList.push_back(nodeRef);
81 while(sit != cursor.
end())
91asnNode.
SetName(cursor->name);
96CSeqTree_node::C_Children::C_Footprint&
fp= child.
SetFootprint();
101seqId.
Assign(*seqIdRef);
104 fp.SetRowId(cursor->rowID);
128list< CRef< CSeqTree_node > >& children = root.
SetChildren().SetChildren();
129list< CRef< CSeqTree_node > >::iterator lcit = children.begin();
130 for(; lcit != children.end(); lcit++)
172list< CRef< CSeqTree_node > >& children = asnNode.
SetChildren().SetChildren();
173list< CRef< CSeqTree_node > >::iterator lcit = children.begin();
174 for(; lcit != children.end(); lcit++)
192 for(; sit != liMap.
end(); sit++)
197sit->second.it->rowID =
row;
208 for(; sit != liMap.
end(); sit++)
210 int row= sit->second.it->rowID;
213sit->second.asnNode->SetAnnotation().SetPresentInChildCD(cd->
GetAccession());
232 if(seqTree.
begin() == seqTree.
end())
238 while(sit != (seqTree.
begin()).
end())
249list< CRef< CSeqTree_node > >& childList = asnNode.
SetChildren().SetChildren();
252childList.push_back(nodeRef);
256 while(sit != cursor.
end())
266asnNode.
SetName(cursor->name);
271CSeqTree_node::C_Children::C_Footprint&
fp= child.
SetFootprint();
285 fp.SetRowId(cursor->rowID);
CCdCore * GetScopedLeafCD(int row) const
int FindSeqInterval(const CSeq_interval &seqLoc) const
int GetLowerBound(int row) const
int GetUpperBound(int row) const
bool GetSeqIDForRow(int row, CRef< CSeq_id > &SeqID) const
string GetAccession(int &Version) const
CConstRef< CSeq_id > seqId
static bool convertToAsnSeqTree(const AlignmentCollection &ac, const SeqTree &seqTree, CSequence_tree &asnSeqTree)
static bool addChildNode(SeqTree &seqTree, SeqTreeIterator parentNode, CSeqTree_node &asnNode, SeqLocToSeqItemMap &liMap)
static bool convertToSeqTree(CSequence_tree &asnSeqTree, SeqTree &seqTree, SeqLocToSeqItemMap &liMap)
static void fillAsnSeqTreeNode(const AlignmentCollection &ac, const SeqTreeIterator &cursor, CSeqTree_node &asnNode)
static bool addAsnSeqTreeNode(const AlignmentCollection &ac, const SeqTree &seqTree, SeqTreeIterator cursor, CSeqTree_node &asnNode)
static bool convertToAlgType(const TreeOptions &options, CRef< CAlgorithm_type > &alg)
static bool readAlgType(CNcbiIstream &is, CRef< CAlgorithm_type > &alg)
static bool resolveRowId(const AlignmentCollection &ac, SeqLocToSeqItemMap &liMap)
static void fillSeqItem(const CSeqTree_node &node, SeqItem &seqItem)
static bool writeAlgType(CNcbiOstream &os, const CRef< CAlgorithm_type > &alg)
static bool refillAsnMembership(const AlignmentCollection &ac, SeqLocToSeqItemMap &liMap)
container_type::iterator iterator
const_iterator begin() const
const_iterator end() const
iterator_bool insert(const value_type &val)
container_type::value_type value_type
sibling_iterator end() const
unsigned int number_of_children() const
sibling_iterator begin() const
iter append_child(iter position)
pre_order_iterator begin() const
iter insert(iter position, const T &x)
pre_order_iterator end() const
static bool ReadASNFromStream(ncbi::CNcbiIstream &is, ASNClass *ASNobject, bool isBinary, std::string *err)
static bool WriteASNToStream(ncbi::CNcbiOstream &os, const ASNClass &ASNobject, bool isBinary, std::string *err, ncbi::EFixNonPrint fixNonPrint=ncbi::eFNP_Default)
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Optimized implementation of CSerialObject::Assign, which is not so efficient.
TObjectType & GetObject(void)
Get object.
#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.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
@ fConvErr_NoThrow
Do not throw an exception on error.
bool CanGetChildren(void) const
Check if it is safe to call GetChildren method.
const TName & GetName(void) const
Get the Name member data.
void SetDistance(TDistance value)
Assign a value to Distance data member.
const TSeqRange & GetSeqRange(void) const
Get the SeqRange member data.
const TChildren & GetChildren(void) const
Get the Children member data.
TFootprint & SetFootprint(void)
Select the variant.
void SetClustering_Method(TClustering_Method value)
Assign a value to Clustering_Method data member.
const TPresentInChildCD & GetPresentInChildCD(void) const
Get the PresentInChildCD member data.
void SetChildren(TChildren &value)
Assign a value to Children data member.
void SetScoring_Scheme(TScoring_Scheme value)
Assign a value to Scoring_Scheme data member.
bool IsSetRoot(void) const
Check if a value has been assigned to Root data member.
void ResetRoot(void)
Reset Root data member.
void SetTree_scope(TTree_scope value)
Assign a value to Tree_scope data member.
bool IsSetRowId(void) const
Check if a value has been assigned to RowId data member.
void SetCTerminalExt(TCTerminalExt value)
Assign a value to CTerminalExt data member.
void SetName(const TName &value)
Assign a value to Name data member.
void SetScore_Matrix(TScore_Matrix value)
Assign a value to Score_Matrix data member.
void SetRoot(TRoot &value)
Assign a value to Root data member.
const TFootprint & GetFootprint(void) const
Get the variant data.
TDistance GetDistance(void) const
Get the Distance member data.
void SetNTerminalExt(TNTerminalExt value)
Assign a value to NTerminalExt data member.
void SetColoring_scope(TColoring_scope value)
Assign a value to Coloring_scope data member.
bool IsChildren(void) const
Check if variant Children is selected.
void SetAnnotation(TAnnotation &value)
Assign a value to Annotation data member.
TRowId GetRowId(void) const
Get the RowId member data.
bool IsFootprint(void) const
Check if variant Footprint is selected.
bool CanGetAnnotation(void) const
Check if it is safe to call GetAnnotation method.
const TAnnotation & GetAnnotation(void) const
Get the Annotation member data.
@ eScoring_Scheme_aligned_score_ext
@ eColoring_scope_allDescendants
@ eTree_scope_allDescendants
TStr & SetStr(void)
Select the variant.
void SetTo(TTo value)
Assign a value to To data member.
const TId & GetId(void) const
Get the Id member data.
void SetId(TId &value)
Assign a value to Id data member.
void SetFrom(TFrom value)
Assign a value to From data member.
TGi & SetGi(void)
Select the variant.
TLocal & SetLocal(void)
Select the variant.
#define row(bind, expected)
CAlgorithm_type::EColoring_scope coloringScope
ETreeMethod clusteringMethod
CAlgorithm_type::ETree_scope 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