51 while (
b && !options) {
68 if (
si->IsSet() &&
si->GetSet().GetCompleteBioseq_set()->NeedsDocsumTitle()) {
77 bool found_existing =
false;
80 if ((*it)->IsTitle()) {
82 (*it)->SetTitle(defline);
85 found_existing =
true;
89 if (!found_existing) {
92 bsseh.
SetDescr().Set().push_back(new_desc);
112 string joined_org =
"Mixed organisms";
121 rq->SetJoin().Set().push_back(
TAX_ID_TO(
int, taxid));
126 if (rq->IsJoin() && rq->GetJoin().Get().size() > 0) {
132 CTaxon3_reply::TReply::const_iterator reply_it = reply->GetReply().begin();
133 while (reply_it != reply->GetReply().end()) {
134 if ((*reply_it)->IsData()
135 && (*reply_it)->GetData().GetOrg().IsSetTaxname()) {
136 joined_org = (*reply_it)->GetData().GetOrg().GetTaxname();
152 string feature_clauses;
163 return org_desc + feature_clauses;
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
CConstRef< CUser_object > GetOptionsForSet(CBioseq_set_Handle set)
static bool RegeneratePopsetTitles(CSeq_entry_Handle se)
string GetDocsumDefLine(CSeq_entry_Handle se)
static string GetDocsumOrgDescription(CSeq_entry_Handle se)
static bool RegenerateDefLines(CSeq_entry_Handle se)
void SetOptionsObject(const CUser_object &user)
void AddSources(CSeq_entry_Handle se)
static bool RegenerateSequenceDefLines(CSeq_entry_Handle se)
string GetOneFeatureClauseList(CBioseq_Handle bh, unsigned int genome_val)
CBioseq_set_EditHandle –.
virtual CRef< CTaxon3_reply > SendRequest(const CTaxon3_request &request)
@ eObjectType_AutodefOptions
EObjectType GetObjectType() const
static const char si[8][64]
#define TAX_ID_TO(T, tax_id)
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
SStrictId_Tax::TId TTaxId
Taxon id type.
void SetDescr(TDescr &v) const
@ fIncludeGivenEntry
Include the top (given) entry.
@ fRecursive
Iterate recursively.
void Reset(void)
Reset reference 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.
static bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)
Test for equality of a substring with another string.
TGenome GetGenome(void) const
Get the Genome member data.
bool IsSetOrg(void) const
Check if a value has been assigned to Org data member.
const TOrg & GetOrg(void) const
Get the Org member data.
bool IsSetGenome(void) const
Check if a value has been assigned to Genome data member.
list< CRef< CSeqdesc > > Tdata
const TUser & GetUser(void) const
Get the variant data.
TTitle & SetTitle(void)
Select the variant.
const TSource & GetSource(void) const
Get the variant data.
@ e_User
user defined object
@ e_Source
source of materials, includes Org-ref
@ eMol_na
just a nucleic acid
TRequest & SetRequest(void)
Assign a value to Request data member.