modified =
false;
54new_feat->
SetData().SetComment();
62pair<CSeq_entry_Handle, const CSeqdesc*> p = pair<CSeq_entry_Handle, const CSeqdesc*>(desc_it.GetSeq_entry_Handle(), &*desc_it);
63 if(visited.
find(p) == visited.
end())
82 boolmodified =
false;
90new_src->
Assign(desc_it->GetSource());
92new_feat->
SetData().SetBiosrc(*new_src);
99pair<CSeq_entry_Handle, const CSeqdesc*> p = pair<CSeq_entry_Handle, const CSeqdesc*>(desc_it.GetSeq_entry_Handle(), &*desc_it);
100 if(visited.
find(p) == visited.
end())
119 boolmodified =
false;
127new_pub->Assign(desc_it->GetPub());
129new_feat->
SetData().SetPub(*new_pub);
131seq_id->Assign(*(bsh.
GetSeqId()));
136pair<CSeq_entry_Handle, const CSeqdesc*> p = pair<CSeq_entry_Handle, const CSeqdesc*>(desc_it.GetSeq_entry_Handle(), &*desc_it);
137 if(visited.
find(p) == visited.
end())
156wxTextEntryDialog dlg(
NULL,
_(
"Optional String Constraint"),
_(
"Convert Pub Descriptors"), wxEmptyString);
157 if(dlg.ShowModal() == wxID_OK)
159constraint = dlg.GetValue().ToStdString();
161 if(constraint.empty())
165 boolmodified =
false;
178new_pub->Assign(desc_it->GetPub());
180new_feat->
SetData().SetPub(*new_pub);
182seq_id->Assign(*(bsh.
GetSeqId()));
187pair<CSeq_entry_Handle, const CSeqdesc*> p = pair<CSeq_entry_Handle, const CSeqdesc*>(desc_it.GetSeq_entry_Handle(), &*desc_it);
188 if(visited.
find(p) == visited.
end())
208 boolmodified =
false;
211 const CSeq_loc& loc = fi->GetLocation();
214fi->GetOriginalFeature().IsSetComment())
217new_desc->
SetComment(fi->GetOriginalFeature().GetComment());
235 boolmodified =
false;
238 const CSeq_loc& loc = fi->GetLocation();
243new_src->
Assign(fi->GetOriginalFeature().GetData().GetBiosrc());
244 if(fi->GetOriginalFeature().IsSetComment())
268 boolmodified =
false;
271 const CSeq_loc& loc = fi->GetLocation();
276new_pub->Assign(fi->GetOriginalFeature().GetData().GetPub());
278new_desc->
SetPub(*new_pub);
@ eExtreme_Positional
numerical value
static CRef< CCmdComposite > apply(CSeq_entry_Handle tse)
static CRef< CCmdComposite > apply(CSeq_entry_Handle tse)
static CRef< CCmdComposite > apply(CSeq_entry_Handle tse)
static CRef< CCmdComposite > apply(CSeq_entry_Handle tse)
static CRef< CCmdComposite > apply(CSeq_entry_Handle tse)
CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:
@Pubdesc.hpp User-defined methods of the data storage class.
namespace ncbi::objects::
TSeqPos GetStart(ESeqLocExtremes ext) const
TSeqPos GetStop(ESeqLocExtremes ext) const
iterator_bool insert(const value_type &val)
const_iterator find(const key_type &key) const
const_iterator end() const
static const char * str(char *buf, int n)
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
#define MSerial_AsnText
I/O stream manipulators â.
CBioseq_Handle GetBioseqHandle(const CSeq_id &id)
Get bioseq handle by seq-id.
CSeq_entry_Handle GetParentEntry(void) const
Get parent Seq-entry handle.
TSeqPos GetBioseqLength(void) const
CSeq_entry_Handle GetSeq_entry_Handle(void) const
Get parent Seq-entry handle.
CConstRef< CSeq_id > GetSeqId(void) const
Get id which can be used to access this bioseq handle Throws an exception if none is available.
CScope & GetScope(void) const
Get scope this handle belongs to.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static SIZE_TYPE FindNoCase(const CTempString str, const CTempString pattern, SIZE_TYPE start, SIZE_TYPE end, EOccurrence which=eFirst)
Find the pattern in the specified range of a string using a case insensitive search.
TSubtype & SetSubtype(void)
Assign a value to Subtype data member.
void SetLocation(TLocation &value)
Assign a value to Location data member.
void SetComment(const TComment &value)
Assign a value to Comment data member.
void SetData(TData &value)
Assign a value to Data data member.
@ e_Pub
publication applies to this seq
@ e_Comment
just a comment
bool IsInt(void) const
Check if variant Int is selected.
const TInt & GetInt(void) const
Get the variant data.
TPub & SetPub(void)
Select the variant.
TComment & SetComment(void)
Select the variant.
TSource & SetSource(void)
Select the variant.
@ e_Pub
a reference to the publication
@ e_Comment
a more extensive comment
@ e_Source
source of materials, includes Org-ref
@ eMol_na
just a nucleic acid
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