1 #ifndef OBJMGR_UTIL___AUTODEF__HPP
2 #define OBJMGR_UTIL___AUTODEF__HPP
71 using TSources = vector<CConstRef<objects::CBioSource>>;
72 void AddDescriptors(
const TSources& sources);
77 unsigned int GetNumAvailableModifiers();
79 string GetOneFeatureClauseList(
CBioseq_Handle bh,
unsigned int genome_val);
91 void SetSpecifyNuclearProduct (
bool specify_nuclear_product);
92 void SetAltSpliceFlag (
bool alt_splice_flag);
93 void SetSuppressLocusTags(
bool suppress_locus_tags);
95 void SetGeneClusterOppStrand(
bool gene_opp_strand);
96 void SetSuppressFeatureAltSplice (
bool suppress_alt_splice);
97 void SuppressMobileElementAndInsertionSequenceSubfeatures(
bool suppress);
98 void SuppressMiscFeatSubfeatures(
bool suppress);
99 void SetKeepExons(
bool keep);
100 void SetKeepIntrons(
bool keep);
101 void SetKeepRegulatoryFeatures(
bool keep);
102 void SetKeepLTRs(
bool keep);
103 void SetKeep3UTRs(
bool keep);
104 void SetKeep5UTRs(
bool keep);
105 void SetKeepuORFs(
bool keep);
106 void SetKeepOptionalMobileElements(
bool keep);
107 void SetKeepPrecursorRNA(
bool keep);
108 void SetKeepRepeatRegion(
bool keep);
109 void SetKeepMiscRecomb(
bool keep);
110 void SetUseNcRNAComment (
bool use_comment);
111 void SetUseFakePromoters (
bool use_fake);
112 void SetCustomFeatureClause(
const string& custom_feature_clause);
114 void SuppressFeature(
const objects::CFeatListItem& feat);
115 void SuppressFeature(objects::CSeqFeatData::ESubtype subtype);
142 void x_SortModifierListByRank
145 void x_GetModifierIndexList
149 string x_GetNonFeatureListEnding();
152 string x_GetFeatureClauseProductEnding(
const string& feature_clauses,
158 bool x_IsOrgModRequired(
unsigned int mod_type);
159 bool x_IsSubSrcRequired(
unsigned int mod_type);
166 bool x_IsSingleMiscFeat(
CFeat_CI feat_ci);
171 string x_GetOneNonFeatureClause(
CBioseq_Handle bh,
unsigned int genome_val);
void SetNuclearCopyFlag(CBioSource::EGenome val)
void SetSuppressMiscFeatureSubfeatures(bool val=true)
void SetUseNcRNAComment(bool val=true)
void SetKeepPrecursorRNA(bool val=true)
void SetKeepLTRs(bool val=true)
void SetSuppressLocusTags(bool val=true)
void SetKeepIntrons(bool val=true)
void SetSpecifyNuclearProduct(bool val)
void SetGeneClusterOppStrand(bool val=true)
void SetKeepMiscRecomb(bool val=true)
void SetKeepRepeatRegion(bool val=true)
void SetMiscFeatRule(TMiscFeatRule rule)
void SetProductFlag(CBioSource::EGenome val)
void SetSuppressMobileElementSubfeatures(bool val=true)
void SetFeatureListType(EFeatureListType list_type)
void SetKeep3UTRs(bool val=true)
void SetKeep5UTRs(bool val=true)
void SetUseFakePromoters(bool val=true)
void SetKeepExons(bool val=true)
void SetKeepMobileElements(bool val=true)
void SetKeepRegulatoryFeatures(bool val=true)
void SetSuppressFeatureAltSplice(bool val=true)
void SetCustomFeatureClause(const string &val)
void SetKeepuORFs(bool val=true)
void SetAltSpliceFlag(bool val=true)
vector< CAutoDefAvailableModifier > TAvailableModifierVector
void SetKeepIntrons(bool keep)
void SetUseFakePromoters(bool use_fake)
void SuppressMiscFeatSubfeatures(bool suppress)
vector< CConstRef< objects::CBioSource > > TSources
void SetKeepLTRs(bool keep)
void SetSuppressAllele(bool suppress_allele)
void SetSpecifyNuclearProduct(bool specify_nuclear_product)
void SetKeep5UTRs(bool keep)
void SetKeepExons(bool keep)
void SetSuppressLocusTags(bool suppress_locus_tags)
void SetKeepOptionalMobileElements(bool keep)
CAutoDefModifierCombo m_OrigModCombo
void SetKeepRegulatoryFeatures(bool keep)
void SetKeepMiscRecomb(bool keep)
void SetProductFlag(CBioSource::EGenome product_flag)
void SetCustomFeatureClause(const string &custom_feature_clause)
void SetKeepRepeatRegion(bool keep)
void SetSuppressFeatureAltSplice(bool suppress_alt_splice)
CRef< CUser_object > GetOptionsObject() const
void SetGeneClusterOppStrand(bool gene_opp_strand)
void SetKeep3UTRs(bool keep)
void SetNuclearCopyFlag(CBioSource::EGenome product_flag)
CRef< feature::CFeatTree > m_Feat_Tree
void AddSources(CBioseq_Handle bh)
void SetFeatureListType(CAutoDefOptions::EFeatureListType feature_list_type)
CAutoDefOptions m_Options
void SetKeepuORFs(bool keep)
vector< CSeq_entry_Handle > TSeqEntryHandleVector
void SetMiscFeatRule(CAutoDefOptions::EMiscFeatRule misc_feat_rule)
void SetUseNcRNAComment(bool use_comment)
void SetAltSpliceFlag(bool alt_splice_flag)
void SuppressMobileElementAndInsertionSequenceSubfeatures(bool suppress)
set< CAutoDefAvailableModifier > TAvailableModifierSet
vector< unsigned int > TModifierIndexVector
void SetKeepPrecursorRNA(bool keep)
vector< CRef< CAutoDefModifierCombo > > TModifierComboVector
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_XOBJEDIT_EXPORT
EGenome
biological context
range(_Ty, _Ty) -> range< _Ty >