stop_at_stop,
boolcleanup_partials,
boolmerge_abutting,
boolextend_over_gaps,
boolcreate_general_only,
53edit::CFeaturePropagator propagator(src, target, align, stop_at_stop, cleanup_partials, merge_abutting, extend_over_gaps, listener, feat_id);
54vector<CRef<CSeq_feat>> prop_feats = propagator.PropagateFeatureList(feat_list);
59 autoit = prop_feats.begin();
60 while(it != prop_feats.end()) {
64 if(feat.IsSetData() && feat.GetData().IsCdregion()) {
68 if(prot_it != prop_feats.end() &&
69(*prot_it)->IsSetData() && (*prot_it)->GetData().IsProt()) {
71prot_feat->
Assign(**prot_it);
74vector<CRef<CSeq_id>> new_prot_id;
CRef< objects::CSeq_id > GetNewProtId(objects::CBioseq_Handle bsh, int &offset, string &id_label, bool general_only)
void AddCommand(IEditCommand &command)
static string s_GetProductSequence(const objects::CSeq_feat &cds, objects::CScope &scope)
Default implementation of IMessageListener: collects all messages posted.
namespace ncbi::objects::
void PropagateToTarget(CRef< CCmdComposite > composite, const vector< CConstRef< CSeq_feat >> &feat_list, CBioseq_Handle src, CBioseq_Handle target, const CSeq_align &align, bool stop_at_stop, bool cleanup_partials, bool merge_abutting, bool extend_over_gaps, bool create_general_only, CMessageListener_Basic *listener, CObject_id::TId *feat_id)
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
TClass GetClass(void) const
CBioseq_set_Handle GetParentBioseq_set(void) const
Return a handle for the parent Bioseq-set, or null handle.
bool CanGetClass(void) const
CSeq_entry_Handle GetSeq_entry_Handle(void) const
Get parent Seq-entry handle.
CSeq_entry_Handle GetParentEntry(void) const
Return a handle for the parent seq-entry of the bioseq.
CScope & GetScope(void) const
Get scope this handle belongs to.
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
@ eClass_nuc_prot
nuc acid and coded proteins
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