65 else if (src_combo->HasSubSource(params.
m_ModifierList[
n].GetSubSourceType())) {
76 macro::CMacroFunction_AutodefId::s_ConfigureAutodefOptionsForID(params.
m_ModifierList, seh);
82 unsigned int found_modifier = 0;
93 return found_modifier;
172 macro::CMacroFunction_Autodef::s_AutodefBioseqsNoTitle(entry, autodef, mod_combo,
cmd);
176 macro::CMacroFunction_Autodef::s_AutodefSetsNoTitle(entry, autodef,
cmd);
192 cmd->AddCommand(*delcmd);
196 macro::CMacroFunction_Autodef::s_AddAutodefOptions(autodef, target,
cmd);
207 sequence::CDeflineGenerator
gen;
209 string defline =
gen.GenerateDefline(*b_iter,
210 sequence::CDeflineGenerator::fIgnoreExisting |
211 sequence::CDeflineGenerator::fAllProteinNames);
218 cmd->AddCommand(*ecmd);
CRef< CCmdComposite > InstantiateProteinTitles(CSeq_entry_Handle entry)
CAutoDefModifierCombo * ConfigureAutodefForSeqEntry(CAutoDef &autodef, CSeq_entry_Handle entry, SAutodefParams *params)
unsigned int ConfigureParamsForPrefixCombo(SAutodefParams ¶ms, CSeq_entry_Handle seh)
void ConfigureAutodefParamsForID(SAutodefParams ¶ms, CSeq_entry_Handle seh)
CRef< CCmdComposite > AutodefSeqEntryNoTitle(CSeq_entry_Handle entry, SAutodefParams *params, bool docsum_only)
void ConfigureAutodefParamsForBestCombo(SAutodefParams ¶ms, CSeq_entry_Handle seh)
void SetExcludeCfOrgs(bool exclude)
void SetHIVCloneIsolateRule(CAutoDefOptions::EHIVCloneIsolateRule rule_num)
void SetKeepAfterSemicolon(bool keep)
void SetExcludeNrOrgs(bool exclude)
void AddOrgMod(COrgMod::ESubtype st, bool even_if_not_uniquifying=false)
void AddSubsource(CSubSource::ESubtype st, bool even_if_not_uniquifying=false)
void SetMaxModifiers(int max_mods)
void SetUseModifierLabels(bool use)
void SetExcludeSpOrgs(bool exclude)
void SetExcludeAffOrgs(bool exclude)
void SetKeepParen(bool keep)
void SetKeepCountryText(bool keep)
void SetKeepIntrons(bool keep)
void SetUseFakePromoters(bool use_fake)
void SuppressMiscFeatSubfeatures(bool suppress)
void SetKeepLTRs(bool keep)
void SetSpecifyNuclearProduct(bool specify_nuclear_product)
void SetKeep5UTRs(bool keep)
void SetKeepExons(bool keep)
void SetSuppressLocusTags(bool suppress_locus_tags)
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)
void AddSources(CSeq_entry_Handle se)
void SetGeneClusterOppStrand(bool gene_opp_strand)
void SetKeep3UTRs(bool keep)
void SetNuclearCopyFlag(CBioSource::EGenome product_flag)
void SetOptions(const CAutoDefModifierCombo &mod_combo)
void SetFeatureListType(CAutoDefOptions::EFeatureListType feature_list_type)
CRef< CAutoDefModifierCombo > FindBestModifierCombo()
void SetMiscFeatRule(CAutoDefOptions::EMiscFeatRule misc_feat_rule)
void SetUseNcRNAComment(bool use_comment)
void SuppressFeature(const objects::CFeatListItem &feat)
void SetAltSpliceFlag(bool alt_splice_flag)
void SuppressMobileElementAndInsertionSequenceSubfeatures(bool suppress)
CAutoDefModifierCombo * GetEmptyCombo()
bool m_SuppressMiscFeatSubfeatures
set< objects::CFeatListItem > m_SuppressedFeatures
bool m_SuppressMobileElementSubfeatures
unsigned int m_MiscFeatRule
objects::CAutoDefSourceDescription::TAvailableModifierVector m_ModifierList
bool m_LeaveParenthetical
bool m_KeepRegulatoryFeatures
bool m_KeepAfterSemicolon
bool m_SuppressFeatureAltSplice
unsigned int m_ProductFlag
unsigned int m_NuclearCopyFlag
unsigned int m_FeatureListType
bool m_IncludeCountryText
string m_CustomFeatureClause
bool m_SpecifyNuclearProduct
bool m_GeneClusterOppStrand
API (CDeflineGenerator) for computing sequences' titles ("definitions").
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
CSeq_entry_Handle GetSeq_entry_Handle(void) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)
Check if a string is blank (has no text).
EGenome
biological context
TTitle & SetTitle(void)
Select the variant.
@ e_Title
a title for this sequence
Functions used in the DO/DONE section affecting the top seq-entry.