NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objmgr/util/seq_loc_util.hpp>
#include <util/sequtil/sequtil_convert.hpp>
#include <objmgr/util/feature.hpp>
#include <objmgr/util/sequence.hpp>
#include <objmgr/seq_annot_ci.hpp>
#include <objmgr/bioseq_ci.hpp>
#include <objmgr/object_manager.hpp>
#include <gui/widgets/edit/bioseq_editor.hpp>
#include <objtools/edit/string_constraint.hpp>
#include <gui/objutils/cmd_create_feat.hpp>
#include <gui/objutils/cmd_change_seq_feat.hpp>
#include <objects/seqfeat/seqfeat_macros.hpp>
#include <objects/seqfeat/Gb_qual.hpp>
#include <objects/general/Dbtag.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/seqfeat/Genetic_code.hpp>
#include <objtools/edit/cds_fix.hpp>
#include <objects/seq/Seq_data.hpp>
#include <objmgr/seq_vector.hpp>
#include <objmgr/impl/synonyms.hpp>
#include <gui/packages/pkg_sequence_edit/editing_actions.hpp>
#include <gui/packages/pkg_sequence_edit/editing_action_features.hpp>
#include <gui/packages/pkg_sequence_edit/editing_action_constraint.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (objects) | |
static bool | s_IsATGC (char ch) |
static const string | s_GetExpansion (const string &ch) |
static vector< string > | ParseDegenerateCodons (string codon) |
IEditingActionFeat * | CreateActionFeat (CSeq_entry_Handle seh, string field, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class) |
IEditingActionFeat * | CreateActionRna (CSeq_entry_Handle seh, string field, const CSeqFeatData::ESubtype subtype, const string &ncRNA_class) |
IEditingActionFeat * | CreateActionCdsGeneProt (CSeq_entry_Handle seh, string field, const CSeqFeatData::ESubtype subtype, const string &ncRNA_class) |
Variables | |
static const string | kAmbiguities = "MRSVWYHKDBN" |
static const string | kReplacements [] |
IEditingActionFeat* CreateActionCdsGeneProt | ( | CSeq_entry_Handle | seh, |
string | field, | ||
const CSeqFeatData::ESubtype | subtype, | ||
const string & | ncRNA_class | ||
) |
Definition at line 4084 of file editing_action_features.cpp.
References CSeqFeatData::GetTypeFromSubtype(), NULL, and NStr::ToLower().
Referenced by CreateAction().
IEditingActionFeat* CreateActionFeat | ( | CSeq_entry_Handle | seh, |
string | field, | ||
const CSeqFeatData::ESubtype | subtype, | ||
const CSeqFeatData::E_Choice | feat_type, | ||
const string & | ncRNA_class | ||
) |
Definition at line 3917 of file editing_action_features.cpp.
References NULL, and NStr::ToLower().
Referenced by CreateAction(), and CreateActionRna().
IEditingActionFeat* CreateActionRna | ( | CSeq_entry_Handle | seh, |
string | field, | ||
const CSeqFeatData::ESubtype | subtype, | ||
const string & | ncRNA_class | ||
) |
Definition at line 4063 of file editing_action_features.cpp.
References CreateActionFeat(), CSeqFeatData_Base::e_Rna, and NStr::ToLower().
Referenced by CreateAction().
Definition at line 1716 of file editing_action_features.cpp.
References i, s_GetExpansion(), and s_IsATGC().
Referenced by CEditingActionFeatCodonsRecognized::SetValue().
Definition at line 1705 of file editing_action_features.cpp.
References NStr::Find(), kAmbiguities, and kReplacements.
Referenced by ParseDegenerateCodons().
Definition at line 1691 of file editing_action_features.cpp.
Referenced by ParseDegenerateCodons().
USING_SCOPE | ( | objects | ) |
Definition at line 1701 of file editing_action_features.cpp.
Referenced by s_GetExpansion().
Definition at line 1702 of file editing_action_features.cpp.
Referenced by s_GetExpansion().