33 #ifndef __process_gene_overlap__hpp__
34 #define __process_gene_overlap__hpp__
62 m_out = args[
"o"] ? &(args[
"o"].AsOutputFile()) : &cout;
101 for (
CFeat_CI feat_it(bsh, sel); feat_it; ++feat_it) {
201 m_out = args[
"o"] ? &(args[
"o"].AsOutputFile()) : &cout;
240 for (
CFeat_CI feat_it(bsh, sel); feat_it; ++feat_it) {
245 for (
CFeat_CI feat_it(bsh, sel); feat_it; ++feat_it) {
virtual void SeqEntryInitialize(CRef< CSeq_entry > &se)
void ProcessInitialize(const CArgs &args)
void TestFeatureGeneTree(const CMappedFeat mf)
feature::CFeatTree m_featTree
string SeqLocString(const CSeq_loc &loc)
string SeqLocString(const CSeq_loc &loc)
virtual void SeqEntryInitialize(CRef< CSeq_entry > &se)
void TestFeatureGeneOverlap(const CSeq_feat &f)
void ProcessInitialize(const CArgs &args)
void ProcessInitialize(const CArgs &args)
virtual void SeqEntryInitialize(CRef< CSeq_entry > &se)
CRef< CSeq_entry > m_entry
unsigned int m_objectcount
ESubtype GetSubtype(void) const
namespace ncbi::objects::
#define ERR_POST(message)
Error posting with file, line number information but without error codes.
void Error(CExceptionArgs_Base &args)
virtual const char * what(void) const noexcept
Standard report (includes full backlog).
void GetLabel(string *label) const
Appends a label suitable for display (e.g., error messages) label must point to an existing string ob...
CMappedFeat GetBestGeneForFeat(const CMappedFeat &feat, CFeatTree *feat_tree=0, const SAnnotSelector *base_sel=0, CFeatTree::EBestGeneType lookup_type=CFeatTree::eBestGene_TreeOnly)
CConstRef< CSeq_feat > GetOverlappingGene(const CSeq_loc &loc, CScope &scope, ETransSplicing eTransSplicing=eTransSplicing_Auto)
CBioseq_Handle GetBioseqHandle(const CSeq_id &id)
Get bioseq handle by seq-id.
const CTSE_Handle & GetTSE_Handle(void) const
Get CTSE_Handle of containing TSE.
const CSeqFeatData & GetData(void) const
const CSeq_feat & GetOriginalFeature(void) const
Get original feature with unmapped location/product.
SAnnotSelector & SetResolveDepth(int depth)
SetResolveDepth sets the limit of subsegment resolution in searching annotations.
SAnnotSelector & SetLimitTSE(const CTSE_Handle &limit)
Limit annotations to those from the TSE only.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
bool IsSetLocus_tag(void) const
systematic gene name (e.g., MI0001, ORF0069) Check if a value has been assigned to Locus_tag data mem...
bool IsSetLocus(void) const
Official gene symbol Check if a value has been assigned to Locus data member.
const TLocus_tag & GetLocus_tag(void) const
Get the Locus_tag member data.
const TLocus & GetLocus(void) const
Get the Locus member data.
const TData & GetData(void) const
Get the Data member data.
const TGene & GetGene(void) const
Get the variant data.
const TInst & GetInst(void) const
Get the Inst member data.
bool IsSetMol(void) const
Check if a value has been assigned to Mol data member.
bool IsSetInst(void) const
the sequence data Check if a value has been assigned to Inst data member.
TMol GetMol(void) const
Get the Mol member data.
EMol
molecule class in living organism
double f(double x_, const double &y_)
#define VISIT_ALL_BIOSEQS_WITHIN_SEQENTRY(Itr, Var)
VISIT_ALL_BIOSEQS_WITHIN_SEQENTRY.
static const char * str(char *buf, int n)