NCBI C++ ToolKit
|
Search Toolkit Book for CSeqFeatData
#include <objects/seqfeat/SeqFeatData.hpp>
Classes | |
struct | SFeatDataInfo |
Public Member Functions | |
CSeqFeatData (void) | |
constructor More... | |
~CSeqFeatData (void) | |
destructor More... | |
string | GetKey (EVocabulary vocab=eVocabulary_full) const |
ESubtype | GetSubtype (void) const |
void | InvalidateSubtype (void) const |
Call after changes that could affect the subtype. More... | |
void | InvalidateCache (void) const |
Combine invalidation of all cached values. More... | |
void | SetGene (TGene &v) |
TGene & | SetGene (void) |
void | SetOrg (TOrg &v) |
TOrg & | SetOrg (void) |
void | SetCdregion (TCdregion &v) |
TCdregion & | SetCdregion (void) |
void | SetProt (TProt &v) |
TProt & | SetProt (void) |
void | SetRna (TRna &v) |
TRna & | SetRna (void) |
void | SetPub (TPub &v) |
TPub & | SetPub (void) |
void | SetSeq (TSeq &v) |
TSeq & | SetSeq (void) |
void | SetImp (TImp &v) |
TImp & | SetImp (void) |
void | SetRegion (const TRegion &v) |
TRegion & | SetRegion (void) |
void | SetComment (void) |
void | SetBond (const TBond &v) |
TBond & | SetBond (void) |
void | SetSite (const TSite &v) |
TSite & | SetSite (void) |
void | SetRsite (TRsite &v) |
TRsite & | SetRsite (void) |
void | SetUser (TUser &v) |
TUser & | SetUser (void) |
void | SetTxinit (TTxinit &v) |
TTxinit & | SetTxinit (void) |
void | SetNum (TNum &v) |
TNum & | SetNum (void) |
void | SetPsec_str (const TPsec_str &v) |
TPsec_str & | SetPsec_str (void) |
void | SetNon_std_residue (const TNon_std_residue &v) |
TNon_std_residue & | SetNon_std_residue (void) |
void | SetHet (THet &v) |
THet & | SetHet (void) |
void | SetBiosrc (TBiosrc &v) |
TBiosrc & | SetBiosrc (void) |
void | SetClone (TClone &v) |
TClone & | SetClone (void) |
void | SetVariation (TVariation &v) |
TVariation & | SetVariation (void) |
virtual void | Assign (const CSerialObject &source, ESerialRecursionMode how=eRecursive) |
Override Assign() to incorporate cache invalidation. More... | |
void | PostRead (void) const |
Invalidate subtype cache after deserialization. More... | |
bool | IsLegalQualifier (EQualifier qual) const |
Test wheather a certain qualifier is legal for the feature. More... | |
const TLegalQualifiers & | GetLegalQualifiers (void) const |
Get a list of all the legal qualifiers for the feature. More... | |
const TQualifiers & | GetMandatoryQualifiers (void) const |
Get the list of all mandatory qualifiers for the feature. More... | |
Public Member Functions inherited from CSeqFeatData_Base | |
CSeqFeatData_Base (void) | |
virtual | ~CSeqFeatData_Base (void) |
DECLARE_INTERNAL_TYPE_INFO () | |
virtual void | Reset (void) |
Reset the whole object. More... | |
virtual void | ResetSelection (void) |
Reset the selection (set it to e_not_set). More... | |
E_Choice | Which (void) const |
Which variant is currently selected. More... | |
void | CheckSelected (E_Choice index) const |
Verify selection, throw exception if it differs from the expected. More... | |
void | ThrowInvalidSelection (E_Choice index) const |
Throw 'InvalidSelection' exception. More... | |
void | Select (E_Choice index, EResetVariant reset=eDoResetVariant) |
Select the requested variant if needed. More... | |
void | Select (E_Choice index, EResetVariant reset, CObjectMemoryPool *pool) |
Select the requested variant if needed, allocating CObject variants from memory pool. More... | |
bool | IsGene (void) const |
Check if variant Gene is selected. More... | |
const TGene & | GetGene (void) const |
Get the variant data. More... | |
TGene & | SetGene (void) |
Select the variant. More... | |
void | SetGene (TGene &value) |
Select the variant and set its data. More... | |
bool | IsOrg (void) const |
Check if variant Org is selected. More... | |
const TOrg & | GetOrg (void) const |
Get the variant data. More... | |
TOrg & | SetOrg (void) |
Select the variant. More... | |
void | SetOrg (TOrg &value) |
Select the variant and set its data. More... | |
bool | IsCdregion (void) const |
Check if variant Cdregion is selected. More... | |
const TCdregion & | GetCdregion (void) const |
Get the variant data. More... | |
TCdregion & | SetCdregion (void) |
Select the variant. More... | |
void | SetCdregion (TCdregion &value) |
Select the variant and set its data. More... | |
bool | IsProt (void) const |
Check if variant Prot is selected. More... | |
const TProt & | GetProt (void) const |
Get the variant data. More... | |
TProt & | SetProt (void) |
Select the variant. More... | |
void | SetProt (TProt &value) |
Select the variant and set its data. More... | |
bool | IsRna (void) const |
Check if variant Rna is selected. More... | |
const TRna & | GetRna (void) const |
Get the variant data. More... | |
TRna & | SetRna (void) |
Select the variant. More... | |
void | SetRna (TRna &value) |
Select the variant and set its data. More... | |
bool | IsPub (void) const |
Check if variant Pub is selected. More... | |
const TPub & | GetPub (void) const |
Get the variant data. More... | |
TPub & | SetPub (void) |
Select the variant. More... | |
void | SetPub (TPub &value) |
Select the variant and set its data. More... | |
bool | IsSeq (void) const |
Check if variant Seq is selected. More... | |
const TSeq & | GetSeq (void) const |
Get the variant data. More... | |
TSeq & | SetSeq (void) |
Select the variant. More... | |
void | SetSeq (TSeq &value) |
Select the variant and set its data. More... | |
bool | IsImp (void) const |
Check if variant Imp is selected. More... | |
const TImp & | GetImp (void) const |
Get the variant data. More... | |
TImp & | SetImp (void) |
Select the variant. More... | |
void | SetImp (TImp &value) |
Select the variant and set its data. More... | |
bool | IsRegion (void) const |
Check if variant Region is selected. More... | |
const TRegion & | GetRegion (void) const |
Get the variant data. More... | |
TRegion & | SetRegion (void) |
Select the variant. More... | |
void | SetRegion (const TRegion &value) |
Select the variant and set its data. More... | |
bool | IsComment (void) const |
Check if variant Comment is selected. More... | |
void | SetComment (void) |
Select the variant. More... | |
bool | IsBond (void) const |
Check if variant Bond is selected. More... | |
TBond | GetBond (void) const |
Get the variant data. More... | |
TBond & | SetBond (void) |
Select the variant. More... | |
void | SetBond (TBond value) |
Select the variant and set its data. More... | |
bool | IsSite (void) const |
Check if variant Site is selected. More... | |
TSite | GetSite (void) const |
Get the variant data. More... | |
TSite & | SetSite (void) |
Select the variant. More... | |
void | SetSite (TSite value) |
Select the variant and set its data. More... | |
bool | IsRsite (void) const |
Check if variant Rsite is selected. More... | |
const TRsite & | GetRsite (void) const |
Get the variant data. More... | |
TRsite & | SetRsite (void) |
Select the variant. More... | |
void | SetRsite (TRsite &value) |
Select the variant and set its data. More... | |
bool | IsUser (void) const |
Check if variant User is selected. More... | |
const TUser & | GetUser (void) const |
Get the variant data. More... | |
TUser & | SetUser (void) |
Select the variant. More... | |
void | SetUser (TUser &value) |
Select the variant and set its data. More... | |
bool | IsTxinit (void) const |
Check if variant Txinit is selected. More... | |
const TTxinit & | GetTxinit (void) const |
Get the variant data. More... | |
TTxinit & | SetTxinit (void) |
Select the variant. More... | |
void | SetTxinit (TTxinit &value) |
Select the variant and set its data. More... | |
bool | IsNum (void) const |
Check if variant Num is selected. More... | |
const TNum & | GetNum (void) const |
Get the variant data. More... | |
TNum & | SetNum (void) |
Select the variant. More... | |
void | SetNum (TNum &value) |
Select the variant and set its data. More... | |
bool | IsPsec_str (void) const |
Check if variant Psec_str is selected. More... | |
TPsec_str | GetPsec_str (void) const |
Get the variant data. More... | |
TPsec_str & | SetPsec_str (void) |
Select the variant. More... | |
void | SetPsec_str (TPsec_str value) |
Select the variant and set its data. More... | |
bool | IsNon_std_residue (void) const |
Check if variant Non_std_residue is selected. More... | |
const TNon_std_residue & | GetNon_std_residue (void) const |
Get the variant data. More... | |
TNon_std_residue & | SetNon_std_residue (void) |
Select the variant. More... | |
void | SetNon_std_residue (const TNon_std_residue &value) |
Select the variant and set its data. More... | |
bool | IsHet (void) const |
Check if variant Het is selected. More... | |
const THet & | GetHet (void) const |
Get the variant data. More... | |
THet & | SetHet (void) |
Select the variant. More... | |
void | SetHet (const THet &value) |
Select the variant and set its data. More... | |
bool | IsBiosrc (void) const |
Check if variant Biosrc is selected. More... | |
const TBiosrc & | GetBiosrc (void) const |
Get the variant data. More... | |
TBiosrc & | SetBiosrc (void) |
Select the variant. More... | |
void | SetBiosrc (TBiosrc &value) |
Select the variant and set its data. More... | |
bool | IsClone (void) const |
Check if variant Clone is selected. More... | |
const TClone & | GetClone (void) const |
Get the variant data. More... | |
TClone & | SetClone (void) |
Select the variant. More... | |
void | SetClone (TClone &value) |
Select the variant and set its data. More... | |
bool | IsVariation (void) const |
Check if variant Variation is selected. More... | |
const TVariation & | GetVariation (void) const |
Get the variant data. More... | |
TVariation & | SetVariation (void) |
Select the variant. More... | |
void | SetVariation (TVariation &value) |
Select the variant and set its data. More... | |
Public Member Functions inherited from CSerialObject | |
CSerialObject (void) | |
virtual | ~CSerialObject (void) |
virtual const CTypeInfo * | GetThisTypeInfo (void) const =0 |
virtual bool | Equals (const CSerialObject &object, ESerialRecursionMode how=eRecursive) const |
Check if both objects contain the same values. More... | |
virtual void | DebugDump (CDebugDumpContext ddc, unsigned int depth) const |
Define method for dumping debug information. More... | |
void | ThrowUnassigned (TMemberIndex index) const |
void | ThrowUnassigned (TMemberIndex index, const char *file_name, int file_line) const |
bool | HasNamespaceName (void) const |
Check if object data type has namespace name. More... | |
const string & | GetNamespaceName (void) const |
Get namespace name. More... | |
bool | HasNamespacePrefix (void) const |
Check if data type has namespace prefix. More... | |
const string & | GetNamespacePrefix (void) const |
Get namespace prefix. More... | |
Public Member Functions inherited from CObject | |
CObject (void) | |
Constructor. More... | |
CObject (const CObject &src) | |
Copy constructor. More... | |
virtual | ~CObject (void) |
Destructor. More... | |
CObject & | operator= (const CObject &src) THROWS_NONE |
Assignment operator. More... | |
bool | CanBeDeleted (void) const THROWS_NONE |
Check if object can be deleted. More... | |
bool | IsAllocatedInPool (void) const THROWS_NONE |
Check if object is allocated in memory pool (not system heap) More... | |
bool | Referenced (void) const THROWS_NONE |
Check if object is referenced. More... | |
bool | ReferencedOnlyOnce (void) const THROWS_NONE |
Check if object is referenced only once. More... | |
void | AddReference (void) const |
Add reference to object. More... | |
void | RemoveReference (void) const |
Remove reference to object. More... | |
void | ReleaseReference (void) const |
Remove reference without deleting object. More... | |
virtual void | DoNotDeleteThisObject (void) |
Mark this object as not allocated in heap – do not delete this object. More... | |
virtual void | DoDeleteThisObject (void) |
Mark this object as allocated in heap – object can be deleted. More... | |
void * | operator new (size_t size) |
Define new operator for memory allocation. More... | |
void * | operator new[] (size_t size) |
Define new[] operator for 'array' memory allocation. More... | |
void | operator delete (void *ptr) |
Define delete operator for memory deallocation. More... | |
void | operator delete[] (void *ptr) |
Define delete[] operator for memory deallocation. More... | |
void * | operator new (size_t size, void *place) |
Define new operator. More... | |
void | operator delete (void *ptr, void *place) |
Define delete operator. More... | |
void * | operator new (size_t size, CObjectMemoryPool *place) |
Define new operator using memory pool. More... | |
void | operator delete (void *ptr, CObjectMemoryPool *place) |
Define delete operator. More... | |
Public Member Functions inherited from CDebugDumpable | |
CDebugDumpable (void) | |
virtual | ~CDebugDumpable (void) |
void | DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const |
void | DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const |
void | DumpToConsole (void) const |
Private Types | |
typedef CSeqFeatData_Base | Tparent |
typedef CStaticArraySet< ESubtype > | TSubtypeSet |
Private Member Functions | |
void | x_InitFeatDataInfo (void) const |
CSeqFeatData (const CSeqFeatData &value) | |
CSeqFeatData & | operator= (const CSeqFeatData &value) |
Static Private Member Functions | |
static void | s_InitSubtypesTable (void) |
static const TSubTypeQualifiersMap & | s_GetLegalQualMap () noexcept |
static const TSubtypeSet & | GetSetOfRegulatorySubtypes () |
Private Attributes | |
SFeatDataInfo | m_FeatDataInfo |
Additional Inherited Members | |
Static Public Attributes inherited from CSerialObject | |
static const char * | ms_UnassignedStr = "<*unassigned*>" |
static const char | ms_UnassignedByte = char(0xcd) |
Static Public Attributes inherited from CObject | |
static const TCount | eCounterBitsCanBeDeleted = 1 << 0 |
Define possible object states. More... | |
static const TCount | eCounterBitsInPlainHeap = 1 << 1 |
Heap signature was found. More... | |
static const TCount | eCounterBitsPlaceMask |
Mask for 'in heap' state flags. More... | |
static const int | eCounterStep = 1 << 2 |
Skip over the "in heap" bits. More... | |
static const TCount | eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2) |
Minimal value for valid objects (reference counter is zero) Must be a single bit value. More... | |
static const TCount | eCounterStateMask |
Valid object, and object in heap. More... | |
Protected Member Functions inherited from CObject | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Definition at line 112 of file SeqFeatData.hpp.
Definition at line 468 of file SeqFeatData.hpp.
|
private |
Definition at line 114 of file SeqFeatData.hpp.
Definition at line 470 of file SeqFeatData.hpp.
Definition at line 471 of file SeqFeatData.hpp.
Definition at line 469 of file SeqFeatData.hpp.
|
private |
Definition at line 551 of file SeqFeatData.hpp.
Enumerator | |
---|---|
eFeatureLocationAllowed_Any | |
eFeatureLocationAllowed_Error | |
eFeatureLocationAllowed_NucOnly | |
eFeatureLocationAllowed_ProtOnly |
Definition at line 508 of file SeqFeatData.hpp.
List of available qualifiers for feature keys.
For more information see: The DDBJ/EMBL/GenBank Feature Table: Definition (http://www.ncbi.nlm.nih.gov/projects/collab/FT/index.html)
Definition at line 325 of file SeqFeatData.hpp.
Definition at line 128 of file SeqFeatData.hpp.
ASCII representation of subtype (GenBank feature key, e.g.)
Enumerator | |
---|---|
eVocabulary_full | |
eVocabulary_genbank |
Definition at line 122 of file SeqFeatData.hpp.
CSeqFeatData::CSeqFeatData | ( | void | ) |
CSeqFeatData::~CSeqFeatData | ( | void | ) |
destructor
Definition at line 345 of file SeqFeatData.cpp.
|
private |
|
static |
Definition at line 4537 of file SeqFeatData.cpp.
References eSubtype_het, eSubtype_misc_recomb, eSubtype_primer_bind, and eSubtype_pub.
Referenced by CValidError_imp::ValidateSeqLoc().
|
static |
Definition at line 4453 of file SeqFeatData.cpp.
References eFeatureLocationAllowed_Any, eFeatureLocationAllowed_Error, eFeatureLocationAllowed_NucOnly, eFeatureLocationAllowed_ProtOnly, eSubtype_any, eSubtype_bad, eSubtype_bond, eSubtype_mat_peptide_aa, eSubtype_max, eSubtype_non_std_residue, eSubtype_preprotein, eSubtype_propeptide_aa, eSubtype_prot, eSubtype_psec_str, eSubtype_pub, eSubtype_region, eSubtype_sig_peptide_aa, eSubtype_site, and eSubtype_transit_peptide_aa.
Referenced by BOOST_AUTO_TEST_CASE(), CSequenceEditingEventHandler::GetFeatureLocation(), CAlignmentAssistant::IsSelectionAndClean(), CEditSequence::IsSelectionAndClean(), CDiscrepancyVisitorImpl< _Name >::Summarize(), and CSequenceEditingEventHandler::x_IsLocationOkForFeatCmd().
Definition at line 4487 of file SeqFeatData.cpp.
References eSubtype_assembly_gap, eSubtype_centromere, eSubtype_LTR, eSubtype_misc_binding, eSubtype_misc_difference, eSubtype_misc_feature, eSubtype_misc_recomb, eSubtype_misc_structure, eSubtype_mobile_element, eSubtype_protein_bind, eSubtype_regulatory, eSubtype_rep_origin, eSubtype_repeat_region, eSubtype_S_region, eSubtype_telomere, and eSubtype_variation.
Referenced by CNewCleanup_imp::SeqfeatBC(), and CSingleFeatValidator::x_ValidateBothStrands().
|
static |
Definition at line 3745 of file SeqFeatData.cpp.
References grid::netschedule::limits::Check().
Referenced by CFeatureGenePanel::AddReciprocicalXref(), BOOST_AUTO_TEST_CASE(), CCleanup::RepairXrefs(), and CValidError_feat::ValidateOneFeatXrefPair().
|
virtual |
Override Assign() to incorporate cache invalidation.
Reimplemented from CSerialObject.
Definition at line 370 of file SeqFeatData.cpp.
References CSerialObject::Assign(), InvalidateCache(), and rapidjson::source.
|
static |
Definition at line 522 of file SeqFeatData.cpp.
References eSubtype_assembly_gap, eSubtype_biosrc, eSubtype_centromere, eSubtype_gap, eSubtype_operon, eSubtype_rep_origin, and eSubtype_telomere.
Referenced by CFeatureTableReader_Imp::x_AddQualifierToFeature().
Definition at line 4664 of file SeqFeatData.cpp.
References NStr::Equal(), NStr::EqualNocase(), ncbi::grid::netcache::search::fields::key, kImportTable, kImportTableEnd, and SImportEntry::m_Name.
Referenced by BOOST_AUTO_TEST_CASE(), and CNewCleanup_imp::ImpFeatBC().
Definition at line 3943 of file SeqFeatData.cpp.
References NStr::FindNoCase(), GetRegulatoryClassList(), and val.
Referenced by CNewCleanup_imp::GBQualBC().
Definition at line 3771 of file SeqFeatData.cpp.
References DEFINE_STATIC_MUTEX().
Referenced by CMacroEditorContext::GetBondTypes(), and CFeatureTableReader_Imp::x_AddQualifierToFeature().
Definition at line 3757 of file SeqFeatData.cpp.
References DEFINE_STATIC_MUTEX().
Referenced by CFieldChoicePanel::AutoMatchFeat(), CFeatureGraph::CFeatureGraph(), CGeneModelTrack::CGeneModelTrack(), CFeatureTrackFactory::CloneTrack(), CTrackConfigManager::CreateTrackConfig(), CFeatureTrackFactory::CreateTracks(), CGeneModelFactory::CreateTracks(), CSearchFormBase::CSearchFormBase(), CDataTrackUtils::FeatSubtypes2TrackSubtypes(), CSeqTextPaneConfig::GetCaseFeature(), CSeqTextPaneConfig::GetCaseFeatureSubtype(), CFuseFeaturesDlg::GetCommand(), CRmDupFeaturesDlg::GetCommand(), CSeqGraphicConfig::GetFeatParams(), CSettingsSet::GetFeatReadKey(), NMacroUtil::GetFeatSubtype(), CSeqGraphicPane::GetFeatureNames(), CSettingsSet::GetFeatWriteKey(), CHistParamsManager::GetHistParams(), CHistogramGlyph::GetHTMLActiveAreas(), CGeneModelFactory::GetMatchedAnnots(), CAllOtherFeaturesTrackFactory::GetSettings(), CFeatureTrackFactory::GetSettings(), GetSortedFeatList(), CGuiObjectInfoSeq_feat::GetSubtype(), CHistogramGlyph::GetTooltip(), CHistParamsManager::HasSettings(), CwxTrackSettingsDlg::InitTrackTypes(), CHistogramGlyph::IsClickable(), CAlignmentTrack::OnChangeProjectedFeats(), CFeatureTypeSubpanel::OnSelectButton(), CAllOtherFeaturesTrack::ReinitNASubtracks(), CHistogramGlyph::RunSettingsDialog(), s_GetFeatSubtypeStr(), CSeqTextPaneConfig::SetCaseFeature(), CFeatureTypeSubpanel::SetClusters(), CFeatureTrack::SetFeatSubtype(), CFeatureTrack::x_AddHistogram(), CAlignedFeatureGraph::x_GetTooltip(), CFeatureCreateDialog::x_InitFeatTypes(), CFeatureCheckPanel::x_InitTree(), CFeatureSearchForm::x_LoadSettings(), and CAllOtherFeaturesTrack::x_ReinitSubtracks().
string CSeqFeatData::GetKey | ( | EVocabulary | vocab = eVocabulary_full | ) | const |
Definition at line 351 of file SeqFeatData.cpp.
References eSubtype_any, eVocabulary_genbank, m_FeatDataInfo, CSeqFeatData::SFeatDataInfo::m_Key_full, CSeqFeatData::SFeatDataInfo::m_Key_gb, CSeqFeatData::SFeatDataInfo::m_Subtype, and x_InitFeatDataInfo().
Referenced by CGffRecord::AssignType(), CEditObjectSeq_feat::CreateWindowImpl(), CAnnotCompareDS::DumpTextReport(), CFeatureItemBase::GetKey(), GetTextObjectDescription(), CDiscrepancyObject::GetTextObjectDescription(), CBioseqEditor::OnCreateFeature(), CGffFeatureRecord::SetGbKeyFrom(), CValidError_feat::ValidateOneFeatXrefPair(), CFastaOstreamEx::x_AddGBkeyAttribute(), CSingleFeatValidator::x_ValidateGbquals(), and CSingleFeatValidator::x_ValidateNonImpFeat().
|
static |
Definition at line 2997 of file SeqFeatData.cpp.
References compile_time_bits::const_set_map_base< _Traits, _Backend, _Duplicates >::find(), and s_GetLegalQualMap().
|
inline |
Get a list of all the legal qualifiers for the feature.
Definition at line 580 of file SeqFeatData.hpp.
References GetSubtype().
Referenced by BOOST_AUTO_TEST_CASE(), CGBQualPanel::CreateControls(), CMacroEditorContext::GetLegalQualifiers(), CFeatureTypePanel::ListPresentFeaturesFirst(), CFeatureFieldNamePanel::s_FillFeatQualList(), CMacroFeatsOnSeqPanel::x_GetFeatureChoices(), and CFeatureCreateDialog::x_UpdateQualifiers().
|
static |
Definition at line 544 of file SeqFeatData.cpp.
References eQual_bound_moiety, eQual_citation, eQual_estimated_length, eQual_gap_type, eQual_mobile_element_type, eQual_mod_base, eQual_ncRNA_class, eQual_operon, eQual_organism, eQual_regulatory_class, eSubtype_assembly_gap, eSubtype_conflict, eSubtype_gap, eSubtype_misc_binding, eSubtype_mobile_element, eSubtype_modified_base, eSubtype_ncRNA, eSubtype_old_sequence, eSubtype_operon, eSubtype_protein_bind, eSubtype_regulatory, eSubtype_source, and MAKE_CONST_MAP.
|
inline |
Get the list of all mandatory qualifiers for the feature.
Definition at line 587 of file SeqFeatData.hpp.
References GetSubtype().
Referenced by BOOST_AUTO_TEST_CASE(), CEditObjectSeq_feat::CanClose(), CGBQualPanel::CreateControls(), ParseFeatureBlock(), CSingleFeatValidator::x_ValidateImpFeatQuals(), CSingleFeatValidator::x_ValidateNonImpFeat(), XGBFeatKeyQualValid(), and XMLParseFeatureBlock().
|
static |
Convert a qualifier from an enumerated value to a string representation or empty if not found.
Referenced by CFieldChoicePanel::AutoMatchFeat(), BOOST_AUTO_TEST_CASE(), CEditObjectSeq_feat::CanClose(), CGBQualPanel::CreateControls(), CMacroEditorContext::GetLegalQualifiers(), ParseFeatureBlock(), CFeatureFieldNamePanel::s_FillFeatQualList(), CFeatureTableReader_Imp::x_AddGBQualToFeature(), CFeatureCreateDialog::x_UpdateQualifiers(), CSingleFeatValidator::x_ValidateImpFeatQuals(), CSingleFeatValidator::x_ValidateNonImpFeat(), XGBFeatKeyQualValid(), and XMLParseFeatureBlock().
|
static |
convert qual string to enumerated value
Definition at line 3170 of file SeqFeatData.cpp.
References eQual_bad.
Referenced by CEditObjectSeq_feat::CanClose(), CheckLegalQual(), CConvertCDSToMiscFeat::Convert(), CGBQualPanel::CreateControls(), CFeatTableEdit::EliminateBadQualifiers(), GBQualSemanticValid(), NMItemData::GetEditableFieldForPair(), CMacroEditorContext::GetGUIFieldName(), NMItemData::GetMemberNames(), CWrongIllegalQuals::IllegalQualsToNote(), CGBQualPanel::PanelNeeded(), CGBQualPanel::PopulateGBQuals(), CWrongIllegalQuals::RmIllegalQuals(), CWrongIllegalQuals::RmWrongOrIllegalQuals(), CWrongIllegalQuals::RmWrongQuals(), ScanEmbedQual(), ShouldRepresentAsGbqual(), CWrongIllegalQuals::WrongQualsToNote(), CFeatureTableReader_Imp::x_AddGBQualToFeature(), CFeatureTableReader_Imp::x_AddQualifierToFeature(), CSingleFeatValidator::x_ValidateImpFeatQuals(), CSingleFeatValidator::x_ValidateNonImpFeat(), and XGBFeatKeyQualValid().
|
static |
Definition at line 3179 of file SeqFeatData.cpp.
References eQual_bad, kEmptyStr, and rapidjson::value.
Referenced by BOOST_AUTO_TEST_CASE(), and CSingleFeatValidator::x_ValidateGbquals().
Definition at line 3960 of file SeqFeatData.cpp.
Referenced by s_IsValidRecombinationClass(), and CGff3Writer::xAssignFeatureAttributeNote().
|
static |
Definition at line 3874 of file SeqFeatData.cpp.
References _ASSERT, eSubtype_bad, GetRegulatoryClass(), GetSetOfRegulatorySubtypes(), ITERATE, AutoPtr< X, Del >::release(), and CStaticArraySearchBase< KeyValueGetter, KeyCompare >::size().
Definition at line 3809 of file SeqFeatData.cpp.
References _ASSERT, ArraySize(), eSubtype_10_signal, eSubtype_35_signal, eSubtype_misc_signal, eSubtype_polyA_signal, eSubtype_RBS, eSubtype_TATA_signal, GetSetOfRegulatorySubtypes(), IsRegulatory(), ITERATE, ITERATE_0_IDX, kEmptyStr, AutoPtr< X, Del >::release(), CStaticArraySearchBase< KeyValueGetter, KeyCompare >::size(), and SubtypeValueToName().
Referenced by BOOST_AUTO_TEST_CASE(), ConvertRegulatoryFeature(), GetRegulatoryClass(), CNewCleanup_imp::ImpFeatBC(), and IsRBS().
Definition at line 3910 of file SeqFeatData.cpp.
Referenced by CSingleGbQualSubPanel::CreateControls(), FixRegulatoryClassValue(), s_IsValidRegulatoryClass(), CImpFeatValidator::Validate(), CFeatureTableReader_Imp::x_AddQualifierToImp(), and CGff3Writer::xAssignFeatureAttributeNote().
|
staticprivate |
Definition at line 4428 of file SeqFeatData.cpp.
References DEFINE_STATIC_ARRAY_MAP_WITH_COPY, eSubtype_10_signal, eSubtype_35_signal, eSubtype_attenuator, eSubtype_CAAT_signal, eSubtype_enhancer, eSubtype_GC_signal, eSubtype_LTR, eSubtype_misc_signal, eSubtype_polyA_signal, eSubtype_promoter, eSubtype_RBS, eSubtype_TATA_signal, and eSubtype_terminator.
Referenced by GetRegulatoryClass(), and IsRegulatory().
Definition at line 3786 of file SeqFeatData.cpp.
References DEFINE_STATIC_MUTEX().
Referenced by CMacroEditorContext::GetSiteTypes(), and CFeatureTableReader_Imp::x_AddQualifierToFeature().
CSeqFeatData::ESubtype CSeqFeatData::GetSubtype | ( | void | ) | const |
Definition at line 361 of file SeqFeatData.cpp.
References eSubtype_any, m_FeatDataInfo, CSeqFeatData::SFeatDataInfo::m_Subtype, and x_InitFeatDataInfo().
Referenced by AddColumnsToFeatureTable(), CFlatFileFactoryBuilder::AddItem(), CAutoDefFeatureClause::AddmRNA(), CFeatureGenePanel::AddReciprocicalXref(), CImportFeatTable::AddSeqAnnotToSeqEntry(), CNcrnaClassColumn::AddToFeature(), AddtRNAAndOther(), AdjustCdregionFrame(), CEditSequence::AdjustFeatureLocations(), CFeatTrim::Apply(), ApplyFeatureSeqTableToSeqEntry(), CRemoveFeaturesDlg::ApplyToCSeq_entry(), CGffRecord::AssignAttributesCore(), CGvfWriteRecord::AssignSource(), CGvfWriteRecord::AssignType(), CGffRecord::AssignType(), CDiscrepancyVisitorImpl< _Name >::Autofix(), BOOST_AUTO_TEST_CASE(), CSpliceProblems::CalculateSpliceProblems(), CEditObjectSeq_feat::CanClose(), CAutoDefFeatureClause::CAutoDefFeatureClause(), CheckPropagatedCDSLocation(), CNcrnaClassColumn::ClearInFeature(), CDiscrepancyContext::CollectFeature(), CAnnotObject_SplitInfo::Compare(), CSeq_feat::CompareNonLocation(), CmRNACDSLinker::CompleteHalfFormedXrefPairs(), ConvertRegulatoryFeature(), CGBQualPanel::CreateControls(), CGuiObjectInfoSeq_feat::CreateObject(), CEditObjectSeq_feat::CreateWindowImpl(), DoesFeatureHaveUnnecessaryException(), CFeatTableEdit::EliminateBadQualifiers(), FeatureAdjustForInsert(), FeatureAdjustForTrim(), FeatureClauseFactory(), FeaturePairIsTwoTypes(), FeatValidatorFactory(), CCdsToMatPeptide::FindAnnot(), CGeneFinder::GetAssociatedGeneInfo(), GetBestCdsForMrna(), GetBestGeneForCds(), GetBestGeneForMrna(), GetBestMrnaForCds(), GetBestOverlappingFeat(), GetCdssForGene(), variation::CVariationUtil::GetEffectiveTranscriptLength(), CValidErrorFormat::GetFeatureContentLabel(), CAlignmentAssistant::GetFeatures(), CEditSequence::GetFeatures(), CNcrnaClassColumn::GetFromFeat(), CFeatFindContext::GetIndexRange(), CFeatureItem::GetKey(), CSeq_featHandler::GetLabel(), GetLegalQualifiers(), CAutoDefFeatureClause::GetMainFeatureSubtype(), GetMandatoryQualifiers(), CSeqUtils::GetMappingInfo(), GetMrnasForGene(), CAnnotObject_SplitInfo::GetPriority(), CmRNACDSLinker::GetReferencedmRNA_CDS(), CMiscSeqTableColumn::GetRelatedApplyObjects(), GetRelatedFeatureApplyObjects(), GetRelatedFeatures(), GetSeqFeatLabel(), GetSortedFeatList(), GetTargetedLocusName(), IEditingAction::GetUpdateMRNAProductNameCmd(), CNewCleanup_imp::ImpFeatBC(), CGff3ImportData::Initialize(), CAutoDefFeatureClause::IsControlRegion(), IsDuplicate(), CAutoDefFeatureClause::IsEndogenousVirusSourceFeature(), CAutoDefFeatureClause::IsExonWithNumber(), CAutoDefFeatureClause::IsGeneCluster(), CAutoDefFeatureClause::IsInsertionSequence(), CValidError_feat::IsIntronShort(), IsLegalQualifier(), CAutoDefFeatureClause::IsLTR(), IsMicroSatellite(), CAutoDefFeatureClause::IsMobileElement(), CSelectionVisitor::IsObjectSelected(), CAutoDefFeatureClause::IsPromoter(), CAutoDefPromoterAnd5UTRClause::IsPromoterAnd5UTR(), CAutoDefFeatureClause::IsRecognizedFeature(), CCompareFeats::IsSameSubtype(), CAutoDefFeatureClause::IsSatellite(), NSnp::IsSnp(), CmRNACDSLinker::LinkByLabelAndLocation(), CmRNACDSLinker::LinkSelectedFeatures(), CAutoDefFeatureClause::OkToGroupUnderByLocation(), CAutoDefFeatureClause::OkToGroupUnderByType(), CBioseqEditor::OnDeleteSelection(), CGBQualPanel::PanelNeeded(), CCdsForMrnaPlugin::processMainLoop(), C5ColAnnotAssembler::ProcessRecord(), CFeaturePropagator::Propagate(), CGlimmerReader::Read(), CGFFReader::Read(), CCdsToMatPeptide::RemoveFeature(), CCleanup::RepairXrefs(), ReverseComplementFeature(), CWrongIllegalQuals::RmIllegalQuals(), CWrongIllegalQuals::RmWrongOrIllegalQuals(), CWrongIllegalQuals::RmWrongQuals(), CFeatureLoadingJob::Run(), CFeatCompareJob_Align::Run(), CFeatCompareJob_Location::Run(), CFeatTreeSampleApp::Run(), s_AreDifferentVariations(), s_AreLinkedToDifferentFeats(), s_CheckMandatoryQuals(), s_CompareFtables(), s_GetBestGeneForFeat(), NSearchFeatPanel::s_GetCustomLabel(), NSearchFeatPanel::s_GetFeatureLabel(), s_GetFeatureLabel(), s_GetFeaturesForRange(), s_GetImpLabel(), s_GetMappedFeat(), s_GetmRNAName(), s_IsOperon(), s_LocIsFuzz(), CSequenceUpdater::s_OffsetFeature(), s_Render_SeqFeat(), s_SetUpXrefPairs(), s_SkipFeature(), s_TreatAsRna(), NSearchFeatPanel::s_UseCustomLabel(), CNewCleanup_imp::SeqfeatBC(), C5ColImportData::Serialize(), CFeatureGenerator::SImplementation::SetFeatureExceptions(), CTextSelHandler::STGH_GetSelectedFeatureSubtypes(), TestCds(), TestCdsFromLastBioseq(), CGeneFeatTreeProcess::TestFeatureGeneTree(), TestTwoIntCdsFromLastBioseqOutsideAlign(), CMacroFunction_SwapRelFeatQual::TheFunction(), CMacroFunction_SetRelFeatQual::TheFunction(), CMacroFunction_ConvertFeatQual::TheFunction(), CMacroFunction_ParseFeatQual::TheFunction(), CMacroFunction_AddParsedToFeatQual::TheFunction(), CMacroFunction_CopyFeatQual::TheFunction(), CMacroFunction_RemoveOutside::TheFunction(), CMacroFunction_RmvOutsideRelFeatQual::TheFunction(), CMacroFunction_ConvertFeature::TheFunction(), CCrossRefFeatsDlg::TransferDataToWindow(), UpdatemRNAProduct(), CSingleFeatValidator::Validate(), CImpFeatValidator::Validate(), CValidError_bioseq::ValidateFeatPartialInContext(), CValidError_bioseqset::ValidateGenProdSet(), CValidError_feat::ValidateOneFeatXrefPair(), CValidError_imp::ValidateSeqLoc(), CCleanup::WGSCleanup(), CWrongIllegalQuals::WrongQualsToNote(), CLinkUtils::x_AddDbxrefFeatureLinks(), CFeatureTableReader_Imp::x_AddQualifierToFeature(), CFeatureTableReader_Imp::x_AddQualifierToImp(), CFeatureItem::x_AddQualSeqfeatNote(), CFeatureItem::x_AddQualsRna(), CSingleFeatValidator::x_AllowFeatureToMatchGapExactly(), CGvfWriteRecord::x_AssignAttributeID(), CGvfWriteRecord::x_AssignAttributeName(), CGvfWriteRecord::x_AssignAttributeParent(), CFeaturePropagator::x_CdsCleanupPartials(), CFeaturePropagator::x_CdsStopAtStopCodon(), CFeatureGenerator::SImplementation::x_CheckInconsistentDbxrefs(), CSGFeatureJob::x_CreateCrossOriginGlyphs(), CSGFeatureJob::x_CreateFeatHist(), CSGFeatureJob::x_CreateFeature1(), CGFFReader::x_CreateGeneFeatures(), CValidError_bioseq::x_DupFeatSeverity(), x_FeatIsCDS(), x_FeatIsVDJC(), CTSE_Info::x_FindSeq_feat(), CFeatureItem::x_GatherInfoWithParent(), CSeq_featHandler::x_GetCustomLabel(), CAutoDefFeatureClause::x_GetDescription(), CAutoDefFeatureClause::x_GetFeatureTypeWord(), CAutoDefFeatureClause::x_GetProductName(), CCompareSeqRegions::x_GetPutativeMatches(), CAlignedFeatureGraph::x_GetTooltip(), CFeatureGenerator::SImplementation::x_HandleCdsExceptions(), CFeatureGenerator::SImplementation::x_HandleRnaExceptions(), variation::CVariationUtil::CVariantPropertiesIndex::x_Index(), CAutoDef::x_Is5SList(), CIntronValidator::x_IsIntronShort(), CValidError_bioseq::x_IsSameAsCDS(), CAutoDef::x_IsSingleMiscFeat(), CAlignedFeatureGraph::x_LinkedLayout(), CPromote::x_MakeMolinfoDesc(), CSequenceUpdater::x_MappedFeature_ChangeId(), CSequenceUpdater::x_MappedFeature_ThroughAlign(), CValidError_bioseq::x_MatchesOverlappingFeaturePartial(), CGeneModelTrack::x_NeedHighlight(), CSequenceUpdater::x_RemoveNewIDInFeature(), CAlignedFeatureGraph::x_RenderFeature(), CValidError_bioseq::x_ReportOverlappingPeptidePair(), CSingleFeatValidator::x_ReportPseudogeneConflict(), CValidError_bioseq::x_ReportStartStopPartialProblem(), CReportEntry::x_SetFeature(), CAnnotObject_Info::x_SetObject(), CGFFReader::x_SetProducts(), CSequenceUpdater::x_ShouldImportFeature(), CSeq_featHandler::x_UseCustomLabel(), CSingleFeatValidator::x_ValidateBothStrands(), CSingleFeatValidator::x_ValidateGbquals(), CSingleFeatValidator::x_ValidateGeneId(), CSingleFeatValidator::x_ValidateGeneXRef(), CSingleFeatValidator::x_ValidateImpFeatQuals(), CSingleFeatValidator::x_ValidateNonImpFeat(), CSingleFeatValidator::x_ValidateSeqFeatLoc(), CGff3Writer::xAssignFeatureAttributeNcrnaClass(), CGff3Reader::xFindFeatureUnderConstruction(), CGtfReader::xPostProcessAnnot(), CGff3AnnotAssembler::xProcessFeatureDefault(), and CGff3Reader::xUpdateAnnotGeneric().
|
static |
Definition at line 391 of file SeqFeatData.cpp.
References s_InitSubtypesTable(), sx_SubtypesTable, and sx_SubtypesTableInitialized.
Referenced by CConvertFeatureBase::CConvertFeatureBase(), CFeatureSeqTableColumnBaseFactory::Create(), CreateAction(), CreateActionCdsGeneProt(), CProductColumn::GetApplyObjects(), CCodonStartColumn::GetApplyObjects(), GetBestOverlapForSNP(), GetBestOverlappingFeat(), CMacroEditorContext::GetFeatureTypes(), CFeatureSeqTableColumnBase::GetObjects(), GetRelatedFeatureApplyObjects(), GetRelatedFeatures(), NSearchFeatPanel::GetSubtypesForType(), SAnnotSelector::IncludedFeatSubtype(), CDemoApp::Run(), CMacroFunction_NumberOfFeatures::s_GetFeatTypeCount(), s_InitSubtypesTable(), CFeatureTrack::SetFeatSubtype(), SAnnotTypeSelector::SetFeatSubtype(), CFeatureTrack::x_AddHistogram(), x_HasFeatIds(), x_HasFeatType(), CFeatList::x_Init(), CAnnotType_Index::x_InitIndexTables(), CConvertFeatureBase::x_IsImportSubtype(), CConvertFeatureBase::x_IsProtSubtype(), CConvertFeatureBase::x_IsRnaSubtype(), CMacroChoiceTypePanel::x_PopulateList(), CMacroFunction_ConvertFeature::x_SetConvertOptions(), and CFeatureTableReader_Imp::x_SetupSeqFeat().
|
inline |
Combine invalidation of all cached values.
Definition at line 566 of file SeqFeatData.hpp.
References InvalidateSubtype().
Referenced by Assign(), CSeqFeatData(), PostRead(), and SetComment().
|
inline |
Call after changes that could affect the subtype.
Definition at line 559 of file SeqFeatData.hpp.
References eSubtype_any, m_FeatDataInfo, and CSeqFeatData::SFeatDataInfo::m_Subtype.
Referenced by InvalidateCache().
|
static |
Definition at line 4006 of file SeqFeatData.cpp.
References eQual_insertion_seq, eQual_mobile_element, eQual_rpt_unit, and eQual_transposon.
Referenced by BOOST_AUTO_TEST_CASE(), CFeatureFieldNamePanel::s_FillFeatQualList(), and CFeatureTableReader_Imp::x_AddQualifierToFeature().
Definition at line 3972 of file SeqFeatData.cpp.
References eSubtype_10_signal, eSubtype_35_signal, eSubtype_allele, eSubtype_attenuator, eSubtype_CAAT_signal, eSubtype_conflict, eSubtype_enhancer, eSubtype_GC_signal, eSubtype_LTR, eSubtype_misc_binding, eSubtype_mutation, eSubtype_polyA_signal, eSubtype_promoter, eSubtype_RBS, eSubtype_repeat_unit, eSubtype_satellite, eSubtype_scRNA, eSubtype_site_ref, eSubtype_snoRNA, eSubtype_snRNA, eSubtype_TATA_signal, eSubtype_terminator, and eSubtype_virion.
Referenced by BOOST_AUTO_TEST_CASE(), and CFeatureTableReader_Imp::x_SetupSeqFeat().
Definition at line 4697 of file SeqFeatData.cpp.
|
inline |
Test wheather a certain qualifier is legal for the feature.
Definition at line 573 of file SeqFeatData.hpp.
References GetSubtype().
Referenced by BOOST_AUTO_TEST_CASE(), CConvertCDSToMiscFeat::Convert(), CFeatTableEdit::EliminateBadQualifiers(), CWrongIllegalQuals::RmIllegalQuals(), CWrongIllegalQuals::RmWrongOrIllegalQuals(), CWrongIllegalQuals::RmWrongQuals(), CWrongIllegalQuals::WrongQualsToNote(), CFastaOstreamEx::x_AddPseudoGeneAttribute(), CSingleFeatValidator::x_ValidateGbquals(), CGff2Writer::xAssignFeatureAttributePseudoGene(), and XGBFeatKeyQualValid().
|
static |
Definition at line 3006 of file SeqFeatData.cpp.
References compile_time_bits::const_set_map_base< _Traits, _Backend, _Duplicates >::find(), and s_GetLegalQualMap().
Definition at line 3800 of file SeqFeatData.cpp.
References CStaticArraySearchBase< KeyValueGetter, KeyCompare >::end(), CStaticArraySearchBase< KeyValueGetter, KeyCompare >::find(), and GetSetOfRegulatorySubtypes().
Referenced by BOOST_AUTO_TEST_CASE(), ConvertRegulatoryFeature(), CMacroEditorContext::GetFeatureTypes(), GetRegulatoryClass(), CNewCleanup_imp::ImpFeatBC(), CFeatureTypePanel::ListPresentFeaturesFirst(), CFeatureTableReader_Imp::x_AddQualifierToImp(), CMacroFeatsOnSeqPanel::x_GetFeatureChoices(), CAddFeatureBetweenDlg::x_ListFeatures(), CBulkOtherAddPanel::x_ListFeatures(), and CAlignOtherAddPanel::x_ListFeatures().
|
private |
void CSeqFeatData::PostRead | ( | void | ) | const |
Invalidate subtype cache after deserialization.
Definition at line 378 of file SeqFeatData.cpp.
References InvalidateCache().
|
static |
Definition at line 3749 of file SeqFeatData.cpp.
References grid::netschedule::limits::Check().
Referenced by BOOST_AUTO_TEST_CASE(), and CValidError_feat::ValidateOneFeatXrefPair().
|
static |
Definition at line 4519 of file SeqFeatData.cpp.
References eSubtype_het, eSubtype_misc_recomb, eSubtype_primer_bind, and eSubtype_pub.
Referenced by CValidError_imp::ValidateSeqLoc().
|
staticprivatenoexcept |
Definition at line 778 of file SeqFeatData.cpp.
References eQual_allele, eQual_altitude, eQual_anticodon, eQual_artificial_location, eQual_bio_material, eQual_bond_type, eQual_bound_moiety, eQual_calculated_mol_wt, eQual_cell_line, eQual_cell_type, eQual_chloroplast, eQual_chromoplast, eQual_chromosome, eQual_citation, eQual_clone, eQual_clone_lib, eQual_coded_by, eQual_codon, eQual_codon_start, eQual_collected_by, eQual_collection_date, eQual_compare, eQual_cons_splice, eQual_country, eQual_cultivar, eQual_culture_collection, eQual_cyanelle, eQual_db_xref, eQual_derived_from, eQual_dev_stage, eQual_direction, eQual_EC_number, eQual_ecotype, eQual_environmental_sample, eQual_estimated_length, eQual_evidence, eQual_exception, eQual_experiment, eQual_feat_class, eQual_focus, eQual_frequency, eQual_function, eQual_gap_type, eQual_gdb_xref, eQual_gene, eQual_gene_synonym, eQual_germline, eQual_haplogroup, eQual_haplotype, eQual_heterogen, eQual_host, eQual_identified_by, eQual_inference, eQual_insertion_seq, eQual_isolate, eQual_isolation_source, eQual_kinetoplast, eQual_lab_host, eQual_label, eQual_lat_lon, eQual_linkage_evidence, eQual_linkage_group, eQual_locus_tag, eQual_macronuclear, eQual_map, eQual_mating_type, eQual_metagenome_source, eQual_metagenomic, eQual_mitochondrion, eQual_mobile_element, eQual_mobile_element_type, eQual_mod_base, eQual_mol_type, eQual_name, eQual_ncRNA_class, eQual_nomenclature, eQual_non_std_residue, eQual_note, eQual_number, eQual_old_locus_tag, eQual_operon, eQual_organelle, eQual_organism, eQual_partial, eQual_PCR_conditions, eQual_PCR_primers, eQual_phenotype, eQual_plasmid, eQual_pop_variant, eQual_product, eQual_protein_id, eQual_proviral, eQual_pseudo, eQual_pseudogene, eQual_rearranged, eQual_recombination_class, eQual_region_name, eQual_regulatory_class, eQual_replace, eQual_ribosomal_slippage, eQual_rpt_family, eQual_rpt_type, eQual_rpt_unit, eQual_rpt_unit_range, eQual_rpt_unit_seq, eQual_satellite, eQual_sec_str_type, eQual_segment, eQual_sequenced_mol, eQual_serotype, eQual_serovar, eQual_sex, eQual_site_type, eQual_SO_type, eQual_specimen_voucher, eQual_standard_name, eQual_strain, eQual_sub_clone, eQual_sub_species, eQual_sub_strain, eQual_submitter_seqid, eQual_tag_peptide, eQual_tissue_lib, eQual_tissue_type, eQual_trans_splicing, eQual_transcript_id, eQual_transgenic, eQual_transl_except, eQual_transl_table, eQual_translation, eQual_transposon, eQual_type_material, eQual_UniProtKB_evidence, eQual_usedin, eQual_variety, eQual_virion, eQual_whole_replicon, eSubtype_10_signal, eSubtype_35_signal, eSubtype_3clip, eSubtype_3UTR, eSubtype_5clip, eSubtype_5UTR, eSubtype_any, eSubtype_assembly_gap, eSubtype_attenuator, eSubtype_biosrc, eSubtype_bond, eSubtype_C_region, eSubtype_CAAT_signal, eSubtype_cdregion, eSubtype_centromere, eSubtype_comment, eSubtype_conflict, eSubtype_D_loop, eSubtype_D_segment, eSubtype_enhancer, eSubtype_exon, eSubtype_gap, eSubtype_GC_signal, eSubtype_gene, eSubtype_het, eSubtype_iDNA, eSubtype_Imp_CDS, eSubtype_intron, eSubtype_J_segment, eSubtype_LTR, eSubtype_mat_peptide, eSubtype_mat_peptide_aa, eSubtype_misc_binding, eSubtype_misc_difference, eSubtype_misc_feature, eSubtype_misc_recomb, eSubtype_misc_RNA, eSubtype_misc_signal, eSubtype_misc_structure, eSubtype_mobile_element, eSubtype_modified_base, eSubtype_mRNA, eSubtype_N_region, eSubtype_ncRNA, eSubtype_non_std_residue, eSubtype_old_sequence, eSubtype_operon, eSubtype_oriT, eSubtype_otherRNA, eSubtype_polyA_signal, eSubtype_polyA_site, eSubtype_precursor_RNA, eSubtype_preprotein, eSubtype_preRNA, eSubtype_prim_transcript, eSubtype_primer_bind, eSubtype_promoter, eSubtype_propeptide, eSubtype_propeptide_aa, eSubtype_prot, eSubtype_protein_bind, eSubtype_psec_str, eSubtype_RBS, eSubtype_region, eSubtype_regulatory, eSubtype_rep_origin, eSubtype_repeat_region, eSubtype_repeat_unit, eSubtype_rRNA, eSubtype_S_region, eSubtype_satellite, eSubtype_scRNA, eSubtype_sig_peptide, eSubtype_sig_peptide_aa, eSubtype_site, eSubtype_snoRNA, eSubtype_snRNA, eSubtype_source, eSubtype_stem_loop, eSubtype_STS, eSubtype_TATA_signal, eSubtype_telomere, eSubtype_terminator, eSubtype_tmRNA, eSubtype_transit_peptide, eSubtype_transit_peptide_aa, eSubtype_tRNA, eSubtype_unsure, eSubtype_V_region, eSubtype_V_segment, eSubtype_variation, eSubtype_variation_ref, MAKE_CONST_MAP, and compile_time_bits::const_bitset< _Bits, T >::set_range().
Referenced by GetLegalQualifiers(), and IsLegalQualifier().
|
staticprivate |
Definition at line 697 of file SeqFeatData.cpp.
References _ASSERT, CSeqFeatData_Base::e_Biosrc, CSeqFeatData_Base::e_Bond, CSeqFeatData_Base::e_Cdregion, CSeqFeatData_Base::e_Clone, CSeqFeatData_Base::e_Comment, CSeqFeatData_Base::e_Gene, CSeqFeatData_Base::e_Het, CSeqFeatData_Base::e_Imp, CSeqFeatData_Base::e_Non_std_residue, CSeqFeatData_Base::e_not_set, CSeqFeatData_Base::e_Num, CSeqFeatData_Base::e_Org, CSeqFeatData_Base::e_Prot, CSeqFeatData_Base::e_Psec_str, CSeqFeatData_Base::e_Pub, CSeqFeatData_Base::e_Region, CSeqFeatData_Base::e_Rna, CSeqFeatData_Base::e_Rsite, CSeqFeatData_Base::e_Seq, CSeqFeatData_Base::e_Site, CSeqFeatData_Base::e_Txinit, CSeqFeatData_Base::e_User, CSeqFeatData_Base::e_Variation, eSubtype_any, eSubtype_biosrc, eSubtype_bond, eSubtype_cdregion, eSubtype_clone, eSubtype_comment, eSubtype_gene, eSubtype_het, eSubtype_imp, eSubtype_ncRNA, eSubtype_non_std_residue, eSubtype_num, eSubtype_org, eSubtype_otherRNA, eSubtype_preRNA, eSubtype_propeptide, eSubtype_propeptide_aa, eSubtype_prot, eSubtype_psec_str, eSubtype_pub, eSubtype_region, eSubtype_rsite, eSubtype_seq, eSubtype_site, eSubtype_site_ref, eSubtype_tmRNA, eSubtype_transit_peptide_aa, eSubtype_txinit, eSubtype_user, eSubtype_variation_ref, GetTypeFromSubtype(), i, info, kImportTable, kImportTableEnd, NcbiCout, NcbiEndl, NStr::ReplaceInPlace(), s_subtype_count, s_subtype_info, CSeqFeatData_Base::SelectionName(), sx_SubtypesTable, sx_SubtypesTableInitialized, table, toupper(), and type.
Referenced by GetTypeFromSubtype().
|
static |
|
static |
|
inline |
Definition at line 290 of file SeqFeatData.hpp.
Referenced by CBioseqEditor::OnCreateBiosourceFeat(), CFeatureTableReader_Imp::x_AddQualifierToBioSrc(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC(), and CAutogeneratedExtendedCleanup::x_ExtendedCleanupSeqFeatData().
|
inline |
Definition at line 290 of file SeqFeatData.hpp.
Definition at line 281 of file SeqFeatData.hpp.
Referenced by CFeatureTableReader_Imp::x_AddQualifierToFeature(), and CFeatureTableReader_Imp::x_SetupSeqFeat().
|
inline |
Definition at line 281 of file SeqFeatData.hpp.
|
inline |
Definition at line 270 of file SeqFeatData.hpp.
Referenced by CSeq_loc_Conversion::ConvertCdregion(), CSeq_loc_Conversion_Set::ConvertCdregion(), CEditObjectSeq_feat::CreateWindowImpl(), CFeatureTableReader_Imp::x_AddQualifierToCdregion(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), and CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC().
|
inline |
Definition at line 270 of file SeqFeatData.hpp.
|
inline |
Definition at line 291 of file SeqFeatData.hpp.
Referenced by CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), and CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC().
|
inline |
Definition at line 291 of file SeqFeatData.hpp.
|
inline |
Definition at line 277 of file SeqFeatData.hpp.
References InvalidateCache(), and CSeqFeatData_Base::SetComment().
|
inline |
Definition at line 268 of file SeqFeatData.hpp.
Referenced by CEditObjectSeq_feat::CreateWindowImpl(), CFeatureTableReader_Imp::x_AddQualifierToGene(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC(), and CAutogeneratedExtendedCleanup::x_ExtendedCleanupSeqFeatData().
|
inline |
Definition at line 268 of file SeqFeatData.hpp.
|
inline |
Definition at line 289 of file SeqFeatData.hpp.
|
inline |
Definition at line 289 of file SeqFeatData.hpp.
|
inline |
Definition at line 275 of file SeqFeatData.hpp.
Referenced by CRepeatToFeat::operator()(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC(), CAutogeneratedExtendedCleanup::x_ExtendedCleanupSeqFeatData(), and CFeatureTableReader_Imp::x_SetupSeqFeat().
|
inline |
Definition at line 275 of file SeqFeatData.hpp.
|
inline |
Definition at line 288 of file SeqFeatData.hpp.
|
inline |
Definition at line 288 of file SeqFeatData.hpp.
|
inline |
Definition at line 286 of file SeqFeatData.hpp.
Referenced by CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), and CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC().
|
inline |
Definition at line 286 of file SeqFeatData.hpp.
|
inline |
Definition at line 269 of file SeqFeatData.hpp.
Referenced by CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC(), and CAutogeneratedExtendedCleanup::x_ExtendedCleanupSeqFeatData().
|
inline |
Definition at line 269 of file SeqFeatData.hpp.
|
inline |
Definition at line 271 of file SeqFeatData.hpp.
Referenced by CFeatureTableReader_Imp::x_AddQualifierToFeature(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC(), CAutogeneratedExtendedCleanup::x_ExtendedCleanupSeqFeatData(), and CFeatureTableReader_Imp::x_SetupSeqFeat().
|
inline |
Definition at line 271 of file SeqFeatData.hpp.
Definition at line 287 of file SeqFeatData.hpp.
|
inline |
Definition at line 287 of file SeqFeatData.hpp.
|
inline |
Definition at line 273 of file SeqFeatData.hpp.
Referenced by CEditObjectSeq_feat::CreateWindowImpl(), CFeatureTableReader_Imp::x_AddQualifierToFeature(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC(), and CAutogeneratedExtendedCleanup::x_ExtendedCleanupSeqFeatData().
|
inline |
Definition at line 273 of file SeqFeatData.hpp.
Definition at line 276 of file SeqFeatData.hpp.
Referenced by CFeatureTableReader_Imp::x_AddQualifierToFeature(), and CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data().
|
inline |
Definition at line 276 of file SeqFeatData.hpp.
|
inline |
Definition at line 272 of file SeqFeatData.hpp.
Referenced by CFeatureTableReader_Imp::x_AddQualifierToRna(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC(), and CFeatureTableReader_Imp::x_SetupSeqFeat().
|
inline |
Definition at line 272 of file SeqFeatData.hpp.
|
inline |
Definition at line 283 of file SeqFeatData.hpp.
|
inline |
Definition at line 283 of file SeqFeatData.hpp.
|
inline |
Definition at line 274 of file SeqFeatData.hpp.
Referenced by CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), and CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC().
|
inline |
Definition at line 274 of file SeqFeatData.hpp.
Definition at line 282 of file SeqFeatData.hpp.
Referenced by CFeatureTableReader_Imp::x_AddQualifierToFeature(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), and CFeatureTableReader_Imp::x_SetupSeqFeat().
|
inline |
Definition at line 282 of file SeqFeatData.hpp.
|
inline |
Definition at line 285 of file SeqFeatData.hpp.
Referenced by CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC(), and CAutogeneratedExtendedCleanup::x_ExtendedCleanupSeqFeatData().
|
inline |
Definition at line 285 of file SeqFeatData.hpp.
|
inline |
Definition at line 284 of file SeqFeatData.hpp.
Referenced by CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data().
|
inline |
Definition at line 284 of file SeqFeatData.hpp.
|
inline |
Definition at line 292 of file SeqFeatData.hpp.
Referenced by CAutogeneratedCleanup::x_BasicCleanupSeqFeat_data(), and CAutogeneratedCleanup::x_BasicCleanupSeqFeat_xref_E_E_data_ETC().
|
inline |
Definition at line 292 of file SeqFeatData.hpp.
|
static |
Definition at line 4655 of file SeqFeatData.cpp.
References CGb_qual_Base::GetQual(), GetQualifierType(), and CGb_qual_Base::IsSetQual().
|
static |
Definition at line 4555 of file SeqFeatData.cpp.
References eQual_allele, eQual_citation, eQual_codon, eQual_codon_start, eQual_db_xref, eQual_EC_number, eQual_evidence, eQual_exception, eQual_experiment, eQual_function, eQual_gdb_xref, eQual_gene, eQual_gene_synonym, eQual_inference, eQual_insertion_seq, eQual_label, eQual_locus_tag, eQual_map, eQual_note, eQual_number, eQual_old_locus_tag, eQual_operon, eQual_partial, eQual_product, eQual_protein_id, eQual_pseudo, eQual_pseudogene, eQual_ribosomal_slippage, eQual_rpt_unit, eQual_standard_name, eQual_trans_splicing, eQual_transl_table, eQual_translation, eQual_transposon, eQual_usedin, eSubtype_C_region, eSubtype_cdregion, eSubtype_D_segment, eSubtype_exon, eSubtype_gap, eSubtype_gene, eSubtype_J_segment, eSubtype_mat_peptide, eSubtype_misc_feature, eSubtype_N_region, eSubtype_operon, eSubtype_propeptide, eSubtype_repeat_region, eSubtype_S_region, eSubtype_sig_peptide, eSubtype_transit_peptide, eSubtype_V_region, eSubtype_V_segment, and eSubtype_variation.
|
static |
Turn a string into its ESubtype which is NOT necessarily related to the identifier of the enum.
Referenced by BOOST_AUTO_TEST_CASE(), CMiscSeqTableColumn::CMiscSeqTableColumn(), CVarTrackFactory::CreateTracks(), CBulkEditFeatDlg::GetCommand(), CUpdateSeqPanel::GetData(), CFeature_field::GetFeatSubtype(), CMacroEditorContext::GetFeatureTypes(), GetSubtype(), CAggregateFeatureTrack::GetSubtypeList(), CFeatureTypePanel::ListPresentFeaturesFirst(), ParseFeatureBlock(), s_GetFeatureSubtypeFromString(), CFeatureFieldNamePanel::UpdateEditor(), CMacroFeatsOnSeqPanel::x_GetFeatureChoices(), CAdjustFeaturesForGaps::x_IsFeatureTypeSelected(), CAutoDefOptions::x_SetSuppressedFeatures(), CFeatureTableReader_Imp::x_SetupSeqFeat(), and XMLParseFeatureBlock().
|
static |
Turns a ESubtype into its string value which is NOT necessarily related to the identifier of the enum.
Definition at line 513 of file SeqFeatData.cpp.
References CTempString::find(), and kEmptyStr.
Referenced by CExportTableDlg::AddFeaturesToTable(), CImportFeatTable::AddSeqAnnotToSeqEntry(), BOOST_AUTO_TEST_CASE(), CConvertProtToImp::Convert(), CConvertRegionToImp::Convert(), CConvertCommentToImp::Convert(), CConvertGeneToImp::Convert(), CConvertRnaToImp::Convert(), CConvertSiteToImp::Convert(), CMacroEditorContext::GetAsnPathToFeature(), CMacroBioData_FeatIterBase::GetBestDescr(), CMacroBioData_FeatIntervalIter::GetBestDescr(), CConvertCDSToProt::GetDescription(), NMacroUtil::GetFeatSubtype(), CSequenceEditingEventHandler::GetFeatureLocation(), GetRegulatoryClass(), CBioseqEditor::MakeDefaultFeature(), NSearchFeatPanel::s_GetCustomLabel(), C5ColImportData::Serialize(), sGetFeatureGeneBiotypeWrapper(), CCrossRefFeatsDlg::TransferDataToWindow(), CSeq_featHandler::x_GetCustomLabel(), CAutoDefOptions::x_MakeSuppressedFeatures(), CMacroChoiceTypePanel::x_PopulateList(), CSequenceUpdater::x_ShouldImportFeature(), CConvertFeatureBase::x_SimpleConversion(), CSingleFeatValidator::x_ValidateBothStrands(), CGff3AnnotAssembler::xProcessFeatureDefault(), CFeatTableEdit::xPutErrorMissingLocustag(), CFeatTableEdit::xPutErrorMissingProteinId(), and CFeatTableEdit::xPutErrorMissingTranscriptId().
|
private |
Definition at line 250 of file SeqFeatData.cpp.
References CRNA_ref_Base::CanGetExt(), CSeqFeatData_Base::e_Imp, CSeqFeatData_Base::e_Prot, CSeqFeatData_Base::e_Rna, CSeqFeatData_Base::e_Site, eSubtype_bad, eSubtype_imp, eSubtype_ncRNA, eSubtype_otherRNA, eSubtype_prot, eSubtype_site, eSubtype_tmRNA, CRNA_ref_Base::eType_other, CRNA_ref_Base::GetExt(), CSeqFeatData_Base::GetImp(), CImp_feat_Base::GetKey(), CRNA_ref_Base::C_Ext::GetName(), CSeqFeatData_Base::GetProt(), CSeqFeatData_Base::GetRna(), CSeqFeatData_Base::GetSite(), CRNA_ref_Base::GetType(), CRNA_ref_Base::C_Ext::IsName(), kEmptyStr, ncbi::grid::netcache::search::fields::key, kImportTable, kImportTableEnd, m_FeatDataInfo, CSeqFeatData::SFeatDataInfo::m_Key_full, CSeqFeatData::SFeatDataInfo::m_Key_gb, SImportEntry::m_Name, CSeqFeatData::SFeatDataInfo::m_Subtype, result, util::strcmp(), and CSeqFeatData_Base::Which().
Referenced by GetKey(), and GetSubtype().
|
mutableprivate |
Definition at line 542 of file SeqFeatData.hpp.
Referenced by GetKey(), GetSubtype(), InvalidateSubtype(), and x_InitFeatDataInfo().