NCBI C++ ToolKit
|
Search Toolkit Book for CGffFeatureContext
#include <objtools/writers/feature_context.hpp>
Public Member Functions | |
CGffFeatureContext () | |
CGffFeatureContext (const CFeat_CI &feat_iter, CBioseq_Handle bsh=CBioseq_Handle(), CSeq_annot_Handle sah=CSeq_annot_Handle()) | |
CGffFeatureContext (const CGffFeatureContext &other) | |
feature::CFeatTree & | FeatTree () |
CBioseq_Handle | BioseqHandle () const |
CSeq_annot_Handle | AnnotHandle () const |
CMappedFeat | FindBestGeneParent (const CMappedFeat &mf) |
bool | IsSequenceGenomicRecord () const |
bool | HasSequenceBioSource () const |
bool | ShouldInheritPseudo () const |
void | AssignShouldInheritPseudo (bool shouldInheritPseudo) |
Protected Member Functions | |
void | xAssignSequenceHasBioSource () |
void | xAssignSequenceIsGenomicRecord () |
Protected Attributes | |
feature::CFeatTree | m_ft |
CMappedFeat | m_mfLastIn |
CMappedFeat | m_mfLastOut |
CBioseq_Handle | m_bsh |
CSeq_annot_Handle | m_sah |
bool | m_bSequenceHasBioSource |
bool | m_bSequenceIsGenomicRecord |
bool | mShouldInheritPseudo |
Private Member Functions | |
CGffFeatureContext & | operator= (const CGffFeatureContext &) |
Definition at line 44 of file feature_context.hpp.
|
inline |
Definition at line 48 of file feature_context.hpp.
|
inline |
Definition at line 51 of file feature_context.hpp.
References xAssignSequenceHasBioSource(), and xAssignSequenceIsGenomicRecord().
|
inline |
Definition at line 66 of file feature_context.hpp.
References xAssignSequenceHasBioSource(), and xAssignSequenceIsGenomicRecord().
|
inline |
Definition at line 81 of file feature_context.hpp.
References m_sah.
|
inline |
Definition at line 88 of file feature_context.hpp.
References mShouldInheritPseudo.
|
inline |
Definition at line 80 of file feature_context.hpp.
References m_bsh.
|
inline |
Definition at line 79 of file feature_context.hpp.
References m_ft.
Referenced by CGtfRecord::FeatTree(), CGff2Writer::HasAccaptableTranscriptParent(), CGff2Writer::xGenerateMissingTranscript(), CGtfWriter::xGenericGeneId(), and CGtfWriter::xWriteRecordsCds().
CMappedFeat CGffFeatureContext::FindBestGeneParent | ( | const CMappedFeat & | mf | ) |
Definition at line 770 of file write_util.cpp.
References CSeqFeatData::eSubtype_mobile_element, CSeqFeatData::eSubtype_mRNA, GetBestGeneForFeat(), GetBestGeneForMrna(), CSeq_feat_Handle::GetFeatSubtype(), m_ft, m_mfLastIn, and m_mfLastOut.
|
inline |
Definition at line 85 of file feature_context.hpp.
References m_bSequenceHasBioSource.
|
inline |
Definition at line 84 of file feature_context.hpp.
References m_bSequenceIsGenomicRecord.
|
private |
|
inline |
Definition at line 87 of file feature_context.hpp.
References mShouldInheritPseudo.
|
protected |
Definition at line 729 of file write_util.cpp.
References CSeq_descr_Base::CanGet(), CSeq_descr_Base::Get(), CBioseq_Handle::GetDescr(), CBioseq_set_Handle::GetDescr(), CBioseq_Handle::GetParentBioseq_set(), CBioseq_Handle::IsSetDescr(), CBioseq_set_Handle::IsSetDescr(), CSeqdesc_Base::IsSource(), m_bSequenceHasBioSource, and m_bsh.
Referenced by CGffFeatureContext().
|
protected |
Definition at line 694 of file write_util.cpp.
References CSeq_descr_Base::CanGet(), CMolInfo_Base::eBiomol_cRNA, CMolInfo_Base::eBiomol_genomic, CSeq_descr_Base::Get(), CMolInfo_Base::GetBiomol(), CBioseq_Handle::GetDescr(), CSeqdesc_Base::GetMolinfo(), CSeqdesc_Base::IsMolinfo(), CMolInfo_Base::IsSetBiomol(), CBioseq_Handle::IsSetDescr(), m_bSequenceIsGenomicRecord, and m_bsh.
Referenced by CGffFeatureContext().
|
protected |
Definition at line 97 of file feature_context.hpp.
Referenced by HasSequenceBioSource(), and xAssignSequenceHasBioSource().
|
protected |
Definition at line 98 of file feature_context.hpp.
Referenced by IsSequenceGenomicRecord(), and xAssignSequenceIsGenomicRecord().
|
protected |
Definition at line 95 of file feature_context.hpp.
Referenced by BioseqHandle(), xAssignSequenceHasBioSource(), and xAssignSequenceIsGenomicRecord().
|
protected |
Definition at line 93 of file feature_context.hpp.
Referenced by FeatTree(), and FindBestGeneParent().
|
protected |
Definition at line 94 of file feature_context.hpp.
Referenced by FindBestGeneParent().
|
protected |
Definition at line 94 of file feature_context.hpp.
Referenced by FindBestGeneParent().
|
protected |
Definition at line 96 of file feature_context.hpp.
Referenced by AnnotHandle().
|
protected |
Definition at line 99 of file feature_context.hpp.
Referenced by AssignShouldInheritPseudo(), and ShouldInheritPseudo().