CCdd_id_set::Tdata::const_iterator
i;
90 if((*i)->GetGid().IsSetVersion()) {
91Version = (*i)->GetGid().GetVersion();
96 return((*i)->GetGid().GetAccession());
110 boolhasGid =
false;
111CCdd_id_set::Tdata::iterator
i;
115(*i)->SetGid().SetAccession(Accession);
116(*i)->SetGid().SetVersion(Version);
125global->SetAccession(Accession);
126global->SetVersion(Version);
136CCdd_id_set::Tdata::iterator
i;
150CCdd_id_set::Tdata::const_iterator idCit = ids.begin(), idEnd = ids.end();
151 for(; idCit != idEnd; ++idCit) {
152 if((*idCit)->IsUid()) {
153uid = (*idCit)->GetUid();
163 boolisHere =
false;
165 for(CCdd_id_set::Tdata::const_iterator ci=idSet.begin(); ci!=idSet.end(); ++ci) {
166 if((**ci).Equals(
id)) {
183CCdd_descr_set::Tdata::const_iterator
i;
188 if((*i)->IsComment()) {
189 return((*i)->GetComment());
200CCdd_descr_set::Tdata::const_iterator
i;
205 if((*i)->IsUpdate_date()) {
206(*i)->GetUpdate_date().GetDate(&Str);
233 int count= 0, seqIndex = -1;
235 for(
int i= 0;
i< nrows; ++
i) {
302 boolonMaster = (rowIndex) ?
false:
true;
308 sort(starts.begin(), starts.end());
323 if(rowIndex < 0 || rowIndex >
GetNumRows()) {
354 for(
i=0; seCit != seCend &&
i<NumSequences; ++seCit,
i++) {
375 for(k=0; k<NumRows; k++) {
393list<int>::iterator lintIt;
397 if(numMatches > 0) {
398 for(lintIt = lint.begin(); lintIt != lint.end(); ++lintIt) {
399rows.push_back(*lintIt);
418 for(
i=0;
i<nrow;
i++) {
420 if(findID->
Match(*testID)) {
438 intPair, DenDiagRow;
440Pair = (Row <= 1) ? 0 : Row-1;
441DenDiagRow = (Row == 0) ? 0 : 1;
443 if(SeqID->
IsGi()) {
444GI = SeqID->
GetGi();
446}
else if(SeqID->
IsPdb() && !ignorePDBs) {
459 intPair, DenDiagRow;
461Pair = (Row <= 1) ? 0 : Row-1;
462DenDiagRow = (Row == 0) ? 0 : 1;
464 if(SeqID->
IsPdb()) {
465pPDB = &(SeqID->
GetPdb());
477CDense_diag::TStarts::const_iterator
i;
481 i= DenDiag->GetStarts().begin();
496CDense_diag::TStarts::const_iterator
i;
500 i= DenDiag->GetStarts().begin();
504 return((*
i+ DenDiag->GetLen()) - 1);
514 intPair = (RowIndex <= 1) ? 0 : RowIndex-1;
515 intDenDiagRow = (RowIndex == 0) ? 0 : 1;
519 if(SeqID->
IsGi() || SeqID->
IsPdb()) {
522Str +=
"<Non-gi/pdb Sequence Types Unsupported>";
533list< CRef< CSeq_id > >::const_iterator sici;
534list< CRef< CSeq_entry > >::const_iterator seci, seci_start, seci_end;
541 for(seci = seci_start; seci != seci_end &&
result==
false; ++seci) {
542 if((*seci)->IsSeq()) {
543 for(sici = (*seci)->GetSeq().GetId().begin();
544sici != (*seci)->GetSeq().GetId().end() &&
result==
false; ++sici) {
545 if(seqID->
Match(**sici)) {
593list< CRef< CSeq_entry > >::const_iterator
i;
594list< CRef< CSeq_id > >::const_iterator j;
595 intSeqCount, IDCount;
603 if(SeqCount == SeqIndex) {
607 for(j = (*i)->GetSeq().GetId().begin();
608j != (*i)->GetSeq().GetId().end(); j++) {
610 return((*j)->GetGi());
617 if(SeqCount > SeqIndex)
break;
629list< CRef< CSeq_entry > >::const_iterator
i;
630list< CRef< CSeqdesc > >::const_iterator j;
640 if(SeqCount == SeqIndex) {
642 if((*i)->GetSeq().IsSetDescr()) {
644 for(j=(*i)->GetSeq().GetDescr().Get().begin();
645j!=(*i)->GetSeq().GetDescr().Get().end(); j++) {
647 if((*j)->IsTitle()) {
648 return((*j)->GetTitle());
652 if((*j)->GetPdb().GetCompound().size() > 0) {
653 return((*j)->GetPdb().GetCompound().front());
661 if(SeqCount > SeqIndex)
break;
665 return(Description);
681list< CRef< CSeq_entry > >::const_iterator
i, iend;
687 for(
i=
GetSequences().GetSet().GetSeq_set().begin();
i!= iend; ++
i) {
688 if(SeqCount == seqIndex) {
703list< CRef< CSeq_entry > >::iterator
i, iend;
709 for(
i=
SetSequences().SetSet().SetSeq_set().begin();
i!= iend; ++
i) {
710 if(SeqCount == seqIndex && (*i)->IsSeq()) {
711bioseq.
Reset(&(*i)->SetSeq());
752 intk, Pair, DenDiagRow, NumRows=
GetNumRows();
755 for(k=0; k<NumRows; k++) {
756Pair = (k <= 1) ? 0 : k-1;
757DenDiagRow = (k == 0) ? 0 : 1;
766list <CRef <CUpdate_align> > ::const_iterator pPen;
768 const CSeq_align* pAl = *((*pPen)->GetSeqannot().GetData().GetAlign().begin());
770vector < CRef< CSeq_id > >::const_iterator pid=pDDPen->
GetIds().begin();
794CDense_diag::TIds::iterator
i;
797Row = (Pair == 0) ? DenDiagRow : Pair+1;
801IdsSet = DenDiag->GetIds();
804 if(DenDiagRow != 0) {
819 intPair = (RowIndex <= 1) ? 0 : RowIndex-1;
820 intDenDiagRow = (RowIndex == 0) ? 0 : 1;
838list< CRef< CSeq_entry > >::const_iterator
i;
839list< CRef< CSeq_id > >::const_iterator j;
840 intSeqCount, IDCount, NumIDs;
848 if(SeqCount == SeqIndex) {
851NumIDs = (*i)->GetSeq().GetId().size();
853 for(j = (*i)->GetSeq().GetId().begin();
854j != (*i)->GetSeq().GetId().end(); j++) {
864 for(j = (*i)->GetSeq().GetId().begin();
865j != (*i)->GetSeq().GetId().end(); j++) {
875 for(j = (*i)->GetSeq().GetId().begin();
876j != (*i)->GetSeq().GetId().end(); j++) {
877 if((*j)->IsOther()) {
886SeqID = *((*i)->GetSeq().GetId().begin());
904list< CRef< CSeq_entry > >::const_iterator
i;
913 if(SeqCount == SeqIndex) {
916SeqIDs = (*i)->GetSeq().GetId();
921 if(SeqCount > SeqIndex)
break;
934 if(SeqCount == SeqIndex) {
941 return(*i)->GetSeq().GetId();
951vector<int> * iVal=(vector<int> *)pVal;
952 if((*iVal)[
i]>(*iVal)[j])
return1;
953 else if((*iVal)[
i]<(*iVal)[j])
return-1;
973 int* ind=
new int[3*TossRows.size()];
976 for(
i=TossRows.size()-1;
i>=0;
i--) {
977 if(TossRows[ind[
i]] == 0) {
981 if(!
EraseRow(alignment, TossRows[ind[
i]])) {
1010NumRows = alignment->
SetData().SetAlign().size() + 1;
1011 for(j=NumRows-1; j>0; j--) {
1014 for(k=0; k<(
int)KeepRows.size(); k++) {
1015 if(KeepRows[k] == j) {
1042CBioseq::TId::const_iterator idCit, idCend;
1049 for(
i=0; seCit != seCend &&
i<NumSequences; ++seCit,
i++) {
1051 if((*seCit)->IsSeq()) {
1054 for(idCit = ids.begin(); idCit != idCend; ++idCit) {
1067 if(indicesToErase.
size() > 0) {
1068ritEnd = indicesToErase.rend();
1069 for(rit = indicesToErase.rbegin(); rit != ritEnd; ++rit) {
1081list< CRef< CSeq_entry > >::iterator
i;
1089 if(SeqCount == SeqIndex) {
1094 if(SeqCount > SeqIndex)
break;
1108(*(
SetSeqannot().begin()))->SetData().SetAlign().push_back(sa);
1119newPend->SetSeqannot().SetData().SetAlign().push_back(sa);
1120com->SetComment (
"Sequence aligns to the CD partially.");
1121newPend->SetDescription().push_back(com);
1138list< CRef< CUpdate_align > >& pendingList =
SetPending();
1139list< CRef< CUpdate_align > >::iterator lit = pendingList.begin();
1141 for(; lit != pendingList.end(); ++lit)
1145pendingList.erase(lit);
1156newSeq->
Assign(*srcSeq);
1162(*(
SetSeqannot().begin()))->SetData().SetAlign().clear();
1204 booltmp_result =
false;
1207list< CRef< CSeq_annot > >::const_iterator sanci;
1211tmp_result =
false;
1212 if((*sanci)->GetData().IsAlign()) {
1213salist = (*sanci)->GetData().GetAlign().front();
1216 if(ddlist.front()->GetIds().front()->IsPdb()) {
1236list< CRef< CSeq_annot > >::const_iterator sanci;
1237list< CRef< CSeq_align > >::const_iterator saci;
1242 if(!usesConsensus && !structMaster) {
1247 if((*sanci)->GetData().IsAlign()) {
1248 for(saci = (*sanci)->GetData().GetAlign().begin(); \
1249saci != (*sanci)->GetData().GetAlign().end(); ++saci) {
1250 if((*saci)->GetSegs().IsDendiag()) {
1251ddlist=(*saci)->GetSegs().GetDendiag();
1252 if(ddlist.front()->GetIds().back()->IsPdb()) {
1260 if(
count> 0 && usesConsensus) {
1278 for(
introwIndex=0; rowIndex<
GetNumRows(); rowIndex++) {
1282 if(
GetMmdbId(seqIndex, rowMmdbId) && (rowMmdbId == mmdbId)) {
1283rows.push_back(rowIndex);
1287 if(rows.size() > 0) {
1299 for(
introwIndex=0; rowIndex<
GetNumRows(); rowIndex++) {
1302 if(seqIndex >= 0) {
1304rows.push_back(rowIndex);
1308 if(rows.size() > 0) {
1318list< CRef< CSeq_entry > >::const_iterator
i;
1332 if(SeqCount == SeqIndex) {
1333 if((*i)->IsSeq()) {
1341 if(SeqCount > SeqIndex)
break;
1354list< CRef< CSeq_annot > >::const_iterator sancit;
1357 if((*sancit)->GetData().IsAlign()) {
1367list< CRef< CSeq_annot > >::iterator sanit;
1373 if((*sanit)->SetData().IsAlign()) {
1375seqAnnot = (*sanit);
1379 return(
count== 1);
1387list< CRef< CSeq_annot > >::const_iterator
i;
1391 if((*i)->GetData().IsAlign()) {
1403list< CRef< CSeq_annot > >::const_iterator
i;
1406 return((*i)->GetData().GetAlign());
1415 return SetSeqannot().front()->SetData().SetAlign();
1421list< CRef< CSeq_align > >::iterator j;
1427seqAlign = lsa.front();
1431 for(j = lsa.begin(); j != lsa.end(); j++) {
1432 if(++Count == Row) {
1452list< CRef< CSeq_align > >::const_iterator j, jend =
GetSeqAligns().end();
1454 if(++Count == Row) {
1470 if(thisPos < 0 || thisRow < 0 || otherRow < 0) {
1472}
else if(thisRow == otherRow) {
1485 if(otherRow != 0) {
1491otherPos = masterPos;
1518 for(
int i= 0;
i< nrows; ++
i) {
1541 for(
int i= 0;
i< nseqs; ++
i) {
1542 constlist< CRef< CSeq_id > >& ids =
GetSeqIDs(
i);
1543 for(list<
CRef< CSeq_id >>::const_iterator lit = ids.begin(); lit != ids.end(); ++lit) {
1546 if(indices ==
NULL) {
1549indices->push_back(
i);
1580consensusRows.clear();
1581 for(
int i= 0;
i< nrows; ++
i) {
1584consensusRows.push_back(
i);
1588 returnconsensusRows.size();
1596CCdd_descr_set::Tdata::iterator
i;
1601 if((*i)->IsComment() && (*i)->GetComment() == oldComment) {
1602(*i)->SetComment(newComment);
1608Comment->SetComment(newComment);
1619 int i= 0,
tmp, nBlocks, nextStart;
1620 booltoFound =
true, onMaster = (rowId == 0) ?
true:
false;
1621vector<int> blockStarts, blockLen;
1632nBlocks = blockStarts.size();
1633 while(
i< nBlocks && toFound) {
1634 if(to >= blockStarts[
i] + blockLen[
i]) {
1635nextStart = (
i== nBlocks - 1) ? 1000000000 : blockStarts[
i+1];
1636 if(to < nextStart) {
1638}
else if(nextStart != blockStarts[
i] + blockLen[
i]) {
1648 return(
i>= 0 && toFound);
1657 intFrom, To, NewFrom, NewTo;
1659list< CRef< CAlign_annot > >::const_iterator m;
1660list< CRef< CSeq_interval > >::const_iterator
n;
1673 if((*m)->GetLocation().IsInt()) {
1678From = (*m)->GetLocation().GetInt().GetFrom();
1679To = (*m)->GetLocation().GetInt().GetTo();
1695 stringd = ((*m)->IsSetDescription()) ? (*m)->GetDescription() :
"<unnamed>";
1696sprintf(s,
" ==> Annotation '%s' at [%d, %d]\n", d.c_str(), From+1, To+1);
1702 else if((*m)->GetLocation().IsPacked_int()) {
1705 for(
n=(*m)->GetLocation().GetPacked_int().Get().begin();
1706 n!=(*m)->GetLocation().GetPacked_int().Get().end();
n++) {
1708From = (*n)->GetFrom();
1721 stringd = ((*m)->IsSetDescription()) ? (*m)->GetDescription() :
"<unnamed>";
1722sprintf(s,
" ==> Annotation '%s' at segment %d in range [%d, %d]\n",
1723d.c_str(), intNumber+1, From+1, To+1);
1750list< CRef< CAlign_annot > >::iterator
i;
1754 if(Count == Index) {
1755 if((*i)->IsSetDescription()) {
1756 return((*i)->GetDescription());
1775CBioseq_set::TSeq_set::const_iterator seListIt = seqEntryList.begin(), seListEnd = seqEntryList.end();
1776list< CRef< CSeq_id > >::const_iterator lsii;
1778 for(; seListIt != seListEnd; ++seListIt) {
1779 if((*seListIt)->IsSeq()) {
1780 constlist< CRef< CSeq_id > > seqIdList = (*seListIt)->GetSeq().GetId();
1781 for(lsii = seqIdList.begin(); lsii != seqIdList.end(); ++lsii) {
1782 if(seqId->
Match(**lsii)) {
1783bioseq->
Assign((*seListIt)->GetSeq());
1808list< CRef< CSeq_entry > >::const_iterator lsei;
1811list< CRef< CSeq_id > >::const_iterator lsii;
1813 for(lsei = seqEntryList.begin(); lsei != seqEntryList.end(); ++lsei) {
1814 if((*lsei)->IsSet()) {
1819}
else if((*lsei)->IsSeq()) {
1820 constlist< CRef< CSeq_id > > seqIdList = (*lsei)->GetSeq().GetId();
1821 for(lsii = seqIdList.begin(); lsii != seqIdList.end(); ++lsii) {
1822 if(seqid->
Match(**lsii)) {
1823bioseq = &(*lsei)->GetSeq();
1843 result= hasClassicalParent;
1850list< CRef< CDomain_parent > >::const_iterator pit, pit_end =
GetAncestors().end();
1869list< CRef< CDomain_parent > >::const_iterator pit, pit_end =
GetAncestors().end();
1872 if((*pit)->GetParent_type() == parentType) {
1891parentId = &(*(
GetAncestors().begin()))->GetParentid();
1914 if(parentId->
IsGid()) {
1928 bool result= (comment.length() > 0);
1933 if((*cit)->IsComment() && (*cit)->GetComment() == comment) {
1941descr->SetComment(comment);
1949 bool result= (othername.length() > 0);
1954 if((*cit)->IsOthername() && (*cit)->GetOthername() == othername) {
1962descr->SetOthername(othername);
1970 bool result= (title.length() > 0);
1975 if((*cit)->IsTitle() && (*cit)->GetTitle() == title) {
1983descr->SetTitle(title);
1996 while(cit != cend) {
1997 if((*cit)->IsTitle()) {
1998 result= (*cit)->GetTitle();
2016 while(cit != cend) {
2017 if((*cit)->IsTitle()) {
2018 result= (*cit)->GetTitle();
2019titles.push_back(
result);
2025 returntitles.size();
2033 if((*cit)->IsReference() && (*cit)->GetReference().IsPmid()) {
2034 if(pmid == (*cit)->GetReference().GetPmid()) {
2046descr->SetReference(*pub);
2059descr->SetSource(
source);
2091 unsigned int count= 0;
2092 boolreachedEnd =
false;
2093CCdd_descr_set::Tdata::iterator
i, iEnd;
2095 while(!reachedEnd) {
2098 for(;
i!= iEnd;
i++) {
2099 if((*i)->Which() == cddDescrChoice) {
2105reachedEnd = (
i== iEnd);
2108 return(
count> 0);
User-defined methods of the data storage class.
bool GetCDBlockLengths(vector< int > &lengths) const
int MapPositionToOtherRow(int thisRow, int thisPos, int otherRow) const
bool GetBioseqForIndex(int seqIndex, CRef< CBioseq > &bioseq)
bool EraseTheseRows(const std::vector< int > &TossRows)
bool AllResiduesInRangeAligned(int rowId, int from, int to) const
int GetNumRowsWithSequences() const
void EraseSequence(int SeqIndex)
int GetPSSMLength() const
bool HasSeqId(const CRef< CSeq_id > &ID) const
const CRef< CSeq_annot > & GetAlignment() const
bool GetClassicalParentId(const CCdd_id *&parentId) const
int GetUpperBound(int Row) const
bool AddTitle(const string &title)
string GetSequenceStringByRow(int rowId)
bool AddSequence(CRef< CSeq_entry > seqAntry)
bool GetSeqAlign(int Row, CRef< CSeq_align > &seqAlign)
int GetRowsWithConsensus(vector< int > &consensusRows) const
bool GetSeqIDFromAlignment(int RowIndex, CRef< CSeq_id > &SeqID) const
bool AddPendingSeqAlign(CRef< CSeq_align > seqAlign)
bool HasCddId(const CCdd_id &id) const
bool FindConsensusInSequenceList(vector< int > *indices=NULL) const
TGi GetGIFromSequenceList(int SeqIndex) const
string GetAccession() const
bool Get_GI_or_PDB_String_FromAlignment(int RowIndex, std::string &Str, bool Pad, int Len) const
int Num3DAlignments() const
string GetSequenceStringByIndex(int SeqIndex)
void ErasePendingRow(int row)
bool AddComment(const string &comment)
int GetMasterSeqIndex() const
string GetSpeciesForRow(int Row)
bool GetMmdbId(int SeqIndex, int &id) const
string GetLongDescription()
bool AddSeqAlign(CRef< CSeq_align > seqAlign)
int GetNumAlignmentAnnotations()
bool AddCddDescr(CRef< CCdd_descr > &descr)
unsigned int GetTitles(vector< string > &titles) const
bool GetBlockStartsForRow(int rowIndex, vector< int > &starts) const
bool GetSeqEntryForRow(int rowId, CRef< CSeq_entry > &seqEntry) const
bool CopyBioseqForSeqId(const CRef< CSeq_id > &seqId, CRef< CBioseq > &bioseq) const
void SetComment(CCdd_descr::TComment oldComment, CCdd_descr::TComment newComment)
bool GetSeqIDForIndex(int SeqIndex, CRef< CSeq_id > &SeqID) const
bool GetBioseqWithSeqId(const CRef< CSeq_id > &seqid, const CBioseq *&bioseq) const
bool EraseOtherRows(const std::vector< int > &KeepRows)
bool HasParentType(EClassicalOrComponent parentType) const
int GetSeqIndexForRowIndex(int rowIndex) const
int GetAllRowIndicesForSeqId(const CRef< CSeq_id > &SeqID, list< int > &rows) const
bool AlignAnnotsValid(string *err=NULL) const
bool AddPmidReference(TEntrezId pmid)
void ErasePendingRows(set< int > &rows)
int GetAlignmentLength() const
int GetSeqIndex(const CRef< CSeq_id > &SeqID) const
int GetNthMatchFor(CRef< CSeq_id > &ID, int N)
bool AddOthername(const string &othername)
int GetLowerBound(int Row) const
void SetAccession(string Accession, int Version)
static bool GetBioseqWithSeqid(const CRef< CSeq_id > &seqid, const list< CRef< CSeq_entry > > &bsset, const CBioseq *&bioseq)
const list< CRef< CSeq_align > > & GetSeqAligns() const
bool UsesConsensusSequenceAsMaster() const
bool GetGI(int Row, TGi &GI, bool ignorePDBs=true)
bool RemoveCddDescrsOfType(int cddDescrChoice)
bool GetBioseqForRow(int rowId, CRef< CBioseq > &bioseq)
string GetClassicalParentAccession() const
string GetSpeciesForIndex(int SeqIndex)
bool HasConsensusSequence() const
bool GetRowsForMmdbId(int mmdbId, list< int > &rows) const
bool GetSeqIDs(int SeqIndex, list< CRef< CSeq_id > > &SeqIDs)
bool GetRowsWithMmdbId(vector< int > &rows) const
int GetNumSequences() const
bool AddSource(const string &source, bool removeExistingSources=true)
bool GetSeqIDForRow(int Pair, int DenDiagRow, CRef< CSeq_id > &SeqID) const
bool GetSeqEntryForIndex(int seqIndex, CRef< CSeq_entry > &seqEntry) const
bool GetPDB(int Row, const CPDB_seq_id *&pPDB)
string GetDefline(int SeqIndex) const
string GetAlignmentAnnotationDescription(int Index)
bool SynchronizeMaster3D(bool checkRow1WhenConsensusMaster=true)
iterator_bool insert(const value_type &val)
int MapPositionToMaster(int childPos, const CSeq_align &align)
CSeq_align::C_Segs::TDendiag TDendiag
int GetBlockCount(const CRef< CSeq_align > &seqAlign)
int GetBlockNumberForResidue(int residue, const CRef< CSeq_align > &seqAlign, bool onMaster, vector< int > *starts=NULL, vector< int > *lengths=NULL)
bool GetFirstOrLastDenDiag(const CRef< CSeq_align > &seqAlign, bool firstOrLast, CRef< CDense_diag > &dd)
bool EraseRow(CRef< CSeq_annot > &seqAnnot, int row)
int GetBlockLengths(const CRef< CSeq_align > &seqAlign, vector< int > &lengths)
int MapPositionToChild(int masterPos, const CSeq_align &align)
int GetBlockStarts(const CRef< CSeq_align > &seqAlign, vector< int > &starts, bool onMaster)
int GetNumAlignedResidues(const CRef< CSeq_align > &align)
bool SetCreationDate(CCdCore *cd)
bool obeysParentTypeConstraints(const CCdCore *pCD)
const CRef< CSeq_align > EMPTY_CREF_SEQALIGN
const CRef< CSeq_annot > EMPTY_CREF_SEQANNOT
int intSortRowsFunction(void *pVal, int i, int j)
const int INVALID_POSITION
bool SeqIdHasMatchInBioseq(const CRef< CSeq_id > &id, const CBioseq &bioseq)
bool SeqIdsMatch(const CRef< CSeq_id > &id1, const CRef< CSeq_id > &id2)
string GetSpeciesFromBioseq(const CBioseq &bioseq)
bool GetNcbieaaString(const CBioseq &bioseq, string &str)
int GetMMDBId(const CBioseq &bioseq)
bool IsConsensus(const CRef< CSeq_id > &seqId)
void algSortQuickCallbackIndex(void *pVal, int n, int *istack, int *ind, algSORTFunction isCondFunc)
string Make_SeqID_String(const CRef< CSeq_id > SeqID, bool Pad, int Len)
SStrictId_Entrez::TId TEntrezId
TEntrezId type for entrez ids which require the same strictness as TGi.
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
bool Match(const CSeq_id &sid2) const
Match() - TRUE if SeqIds are equivalent.
void Reset(void)
Reset reference object.
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty â pointing to an object and has a non-null value.
bool IsNull(void) const THROWS_NONE
Check if pointer is null â same effect as Empty().
#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.
const TSequences & GetSequences(void) const
Get the Sequences member data.
bool IsGid(void) const
Check if variant Gid is selected.
bool IsSetSequences(void) const
store as bioseq-set inside seq-entry Check if a value has been assigned to Sequences data member.
const Tdata & Get(void) const
Get the member data.
const TId & GetId(void) const
Get the Id member data.
const TAccession & GetAccession(void) const
Get the Accession member data.
bool IsSetSeqannot(void) const
contains the CD alignment Check if a value has been assigned to Seqannot data member.
TId & SetId(void)
Assign a value to Id data member.
bool IsSetVersion(void) const
version 0 is the seed, version numbers increase with update/curate cycles Check if a value has been a...
Tdata & Set(void)
Assign a value to data member.
void ResetMaster3d(void)
Reset Master3d data member.
bool IsSetDescription(void) const
status, references, etc.
TMaster3d & SetMaster3d(void)
Assign a value to Master3d data member.
const TGid & GetGid(void) const
Get the variant data.
bool IsSetAlignannot(void) const
alignment annotation Check if a value has been assigned to Alignannot data member.
const Tdata & Get(void) const
Get the member data.
const Tdata & Get(void) const
Get the member data.
const TAncestors & GetAncestors(void) const
Get the Ancestors member data.
TPending & SetPending(void)
Assign a value to Pending data member.
TVersion GetVersion(void) const
Get the Version member data.
TGid & SetGid(void)
Select the variant.
TSequences & SetSequences(void)
Assign a value to Sequences data member.
const TPending & GetPending(void) const
Get the Pending member data.
TAlignannot & SetAlignannot(void)
Assign a value to Alignannot data member.
bool IsSetAncestors(void) const
list of parents Check if a value has been assigned to Ancestors data member.
Tdata & Set(void)
Assign a value to data member.
list< CRef< CCdd_id > > Tdata
const TAlignannot & GetAlignannot(void) const
Get the Alignannot member data.
const TSeqannot & GetSeqannot(void) const
Get the Seqannot member data.
TSeqannot & SetSeqannot(void)
Assign a value to Seqannot data member.
Tdata & Set(void)
Assign a value to data member.
const TDescription & GetDescription(void) const
Get the Description member data.
const TParent & GetParent(void) const
Get the Parent member data.
bool IsSetParent(void) const
this CD is the result of a split Check if a value has been assigned to Parent data member.
TDescription & SetDescription(void)
Assign a value to Description data member.
@ e_Source
the database the seeds were created from, e.g. SMART, PFAM, etc..
@ eParent_type_classical
the classification of parent child relations
@ e_MaxChoice
== e_Title+1
TPmid & SetPmid(void)
Select the variant.
vector< CRef< CSeq_id > > TIds
const TIds & GetIds(void) const
Get the Ids member data.
bool IsDendiag(void) const
Check if variant Dendiag is selected.
const TDendiag & GetDendiag(void) const
Get the variant data.
const TSegs & GetSegs(void) const
Get the Segs member data.
const TPdb & GetPdb(void) const
Get the variant data.
bool IsPdb(void) const
Check if variant Pdb is selected.
TGi GetGi(void) const
Get the variant data.
bool IsGi(void) const
Check if variant Gi is selected.
TSet & SetSet(void)
Select the variant.
const TSet & GetSet(void) const
Get the variant data.
const TSeq_set & GetSeq_set(void) const
Get the Seq_set member data.
list< CRef< CSeq_entry > > TSeq_set
TSeq_set & SetSeq_set(void)
Assign a value to Seq_set data member.
bool IsAlign(void) const
Check if variant Align is selected.
void SetData(TData &value)
Assign a value to Data data member.
list< CRef< CSeq_id > > TId
const TAlign & GetAlign(void) const
Get the variant data.
const TData & GetData(void) const
Get the Data member data.
unsigned int
A callback function used to compare two keys in a database.
const TYPE & Get(const CNamedParameterList *param)
constexpr auto sort(_Init &&init)
constexpr auto front(list< Head, As... >, T=T()) noexcept -> Head
const struct ncbi::grid::netcache::search::fields::SIZE size
const CharType(& source)[N]
#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