NCBI C++ ToolKit
|
Search Toolkit Book for CMakeCdrProds
#include <algo/sequence/make_cdr_prods.hpp>
Static Public Member Functions | |
static CRef< objects::CBioseq_set > | MakeCdrProds (CRef< objects::CSeq_annot > annot, objects::CBioseq_Handle handle) |
Given an annot containing a feature table with Cdregions, translate those without products. More... | |
Static Private Attributes | |
static CAtomicCounter | sm_Counter |
Definition at line 42 of file make_cdr_prods.hpp.
|
static |
Given an annot containing a feature table with Cdregions, translate those without products.
Make sequence entries for translation products (returned as a Bioseq_set) and adjust the Cdregion features to point at them.
Definition at line 58 of file make_cdr_prods.cpp.
References CAtomicCounter::Add(), CSeq_data_Base::e_Iupacaa, eGIBB_mol_peptide, CSeq_inst_Base::eMol_aa, CSeq_inst_Base::eRepr_raw, ftable, CSeq_annot_Base::GetData(), CBioseq_Handle::GetScope(), CSeq_annot_Base::C_Data::IsFtable(), NON_CONST_ITERATE, NStr::NumericToString(), prot, CSeq_annot_Base::SetData(), CBioseq_Base::SetDescr(), CBioseq_Base::SetId(), CBioseq_Base::SetInst(), CSeq_inst_Base::SetLength(), CSeq_inst_Base::SetMol(), CSeqdesc_Base::SetMol_type(), CSeq_inst_Base::SetRepr(), CSeq_entry_Base::SetSeq(), CSeq_inst_Base::SetSeq_data(), CBioseq_set_Base::SetSeq_set(), CSeqdesc_Base::SetTitle(), CSeq_loc::SetWhole(), sm_Counter, and CSeqTranslator::Translate().
|
staticprivate |
Definition at line 53 of file make_cdr_prods.hpp.
Referenced by MakeCdrProds().