* ptr = it->object.GetPointer();
121 if(!DoesMrnaExist(it->scope->GetSeq_featHandle(*seqfeat).GetAnnot().GetParentEntry()))
122x_ChkAndMakeMRna(seqfeat, composite,scope);
128 if(!DoesMrnaExist(fci->GetAnnot().GetParentEntry()))
129x_ChkAndMakeMRna(fci->GetSeq_feat().GetPointer(), composite,scope);
132 else if(seq_entry) {
135 if(!DoesMrnaExist(fci->GetAnnot().GetParentEntry()))
136x_ChkAndMakeMRna(fci->GetSeq_feat().GetPointer(), composite,scope);
148 if(!sel_srv)
return false;
149sel_srv->GetActiveObjects(
objects);
158apply_to(composite,
objects,scope);
CRef< CSeq_feat > MakemRNAforCDS(const CSeq_feat &cds, CScope &scope)
MakemRNAforCDS A function to create a CSeq_feat that represents the appropriate mRNA for a given CDS.
void AddCommand(IEditCommand &command)
bool DoesMrnaExist(CSeq_entry_Handle seh)
bool IsOrganelle(const CSeq_feat *cd, CScope &scope)
void x_ChkAndMakeMRna(SConstScopedObject &obj, CRef< CCmdComposite > composite)
bool apply(IWorkbench *wb, ICommandProccessor *cmdProcessor, const string &title, CScope &scope)
virtual void apply_to(const CSeq_entry_Handle &tse, CRef< CCmdComposite > composite)
namespace ncbi::objects::
Undo/Redo interface for editing operations.
virtual void Execute(IEditCommand *command, wxWindow *window=0)=0
IWorkbench is the central interface in the application framework.
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
CIRef< T > GetServiceByType()
retrieves a typed reference to a service, the name of C++ type is used as the name of the service.
vector< SConstScopedObject > TConstScopedObjects
CBioseq_Handle GetBioseqHandle(const CSeq_id &id)
Get bioseq handle by seq-id.
CSeq_entry_Handle GetSeq_entry_Handle(void) const
Get parent Seq-entry handle.
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TGenome GetGenome(void) const
Get the Genome member data.
bool IsSetGenome(void) const
Check if a value has been assigned to Genome data member.
bool IsCdregion(void) const
Check if variant Cdregion is selected.
const TLocation & GetLocation(void) const
Get the Location member data.
const TData & GetData(void) const
Get the Data member data.
bool IsSetLocation(void) const
feature made from Check if a value has been assigned to Location data member.
const TSource & GetSource(void) const
Get the variant data.
@ e_Molinfo
info on the molecule and techniques
@ e_Source
source of materials, includes Org-ref
void GetViewObjects(IWorkbench *workbench, TConstScopedObjects &objects)
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