modified =
false;
68 return x_GetCommand(tse,
"Consolidate like modifiers");
76 if((*orgmod)->IsSetSubtype() && (*orgmod)->IsSetSubname() &&
81orgmods[(*orgmod)->GetSubtype()].push_back((*orgmod)->GetSubname());
88 if((*subsource)->IsSetSubtype() && (*subsource)->IsSetName())
90subsources[(*subsource)->GetSubtype()].push_back((*subsource)->GetName());
94 boolmodified =
false;
97 if((*orgmod)->IsSetSubtype() &&
98(*orgmod)->IsSetSubname() &&
99orgmods.
find((*orgmod)->GetSubtype()) != orgmods.
end() &&
100orgmods[(*orgmod)->GetSubtype()].
size() > 1 )
102 if((*orgmod)->GetSubname() == orgmods[(*orgmod)->GetSubtype()].front())
116 if((*subsource)->IsSetSubtype() &&
117(*subsource)->IsSetName() &&
118subsources.
find((*subsource)->GetSubtype()) != subsources.
end() &&
119subsources[(*subsource)->GetSubtype()].
size() > 1 )
121 if((*subsource)->GetName() == subsources[(*subsource)->GetSubtype()].front())
virtual bool x_ApplyToBioSource(objects::CBioSource &biosource)
CRef< CCmdComposite > GetCommand(objects::CSeq_entry_Handle tse)
CRef< CCmdComposite > GetCommand(objects::CSeq_entry_Handle tse)
virtual bool x_ApplyToBioSource(objects::CBioSource &biosource)
CRef< CCmdComposite > x_GetCommand(objects::CSeq_entry_Handle tse, const string &title)
const_iterator end() const
const_iterator find(const key_type &key) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static string Join(const TContainer &arr, const CTempString &delim)
Join strings using the specified delimiter.
@ eSubtype_other
ASN5: old-name (254) will be added to next spec.
@ eSubtype_specimen_voucher
@ eSubtype_culture_collection
#define ERASE_ORGMOD_ON_BIOSOURCE(Itr, Var)
ERASE_ORGMOD_ON_BIOSOURCE.
#define EDIT_EACH_ORGMOD_ON_BIOSOURCE(Itr, Var)
#define ERASE_SUBSOURCE_ON_BIOSOURCE(Itr, Var)
ERASE_SUBSOURCE_ON_BIOSOURCE.
#define FOR_EACH_ORGMOD_ON_BIOSOURCE(Itr, Var)
FOR_EACH_ORGMOD_ON_BIOSOURCE EDIT_EACH_ORGMOD_ON_BIOSOURCE.
#define FOR_EACH_SUBSOURCE_ON_BIOSOURCE(Itr, Var)
FOR_EACH_SUBSOURCE_ON_BIOSOURCE EDIT_EACH_SUBSOURCE_ON_BIOSOURCE.
#define EDIT_EACH_SUBSOURCE_ON_BIOSOURCE(Itr, Var)
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