Returns a label for a CSeq_feat.
Label may be based on just the type of feature, just the content of the feature, or both. If scope is 0, then the label will not include information from feature products.
enum FFeatLabelFlags {Returns a best parent feature for a CMappedFeat.
CSeq_feat_Handle is convertible to a CMappedFeat so it can be used too.
enum ELocationInFrame {The algorithm is the following: 1.
Feature types are organized in a tree of possible parent-child relationship: 1.1. operon, gap cannot have a parent, 1.2. gene can have operon as a parent, 1.3. mRNA, VDJ_segment, and C_region can have gene as a parent, 1.4. cdregion can have mRNA, VDJ_segment, or C_region as a parent, 1.5. prot can have cdregion as a parent (by its product location), 1.6. mat_peptide, sig_peptide can have prot as a parent, 1.x. all other feature types can have gene as a parent. 2. If parent of a nearest feature type is not found then the next type in the tree is checked, except prot which will have no parent if no cdregion is found. 3. For each parent type candidate the search is done in several ways: 3.1. first we look for a parent by Seq-feat.xref field, 3.2. then by Gene-ref if current parent type is gene, 3.3. then parent candidates are searched by the best intersection of their locations (product in case of prot -> cdregion link), 3.4. if no candidates are found next parent type is checked.
CFeatTree::CFeatTree (void) Construct empty tree. More...binary OR of FFeatLabelFlags
Definition at line 78 of file feature.hpp.
◆ TFullId ◆ TIdMap ◆ TInfoArray ◆ TInfoMap ◆ EBestGeneFeatIdModeMode of processing feature ids.
Enumerator eBestGeneFeatId_ignore eBestGeneFeatId_alwaysDefinition at line 212 of file feature.hpp.
◆ EBestGeneType Enumerator eBestGene_TreeOnly eBestGene_AllowOverlapped eBestGene_OverlappedOnlyDefinition at line 330 of file feature.hpp.
◆ EFeatIdModeMode of processing feature ids.
Enumerator eFeatId_ignore eFeatId_by_type eFeatId_alwaysDefinition at line 201 of file feature.hpp.
◆ EGeneCheckModeMode for taking into account best gene eGeneCheck_match will try to match a parent feature only if they both match to the same gene.
Enumerator eGeneCheck_ignore eGeneCheck_matchDefinition at line 224 of file feature.hpp.
◆ EIsLinkedToRoot Enumerator eIsLinkedToRoot_unknown eIsLinkedToRoot_linked eIsLinkedToRoot_linkingDefinition at line 373 of file feature.hpp.
◆ ELabelTypeFor compatibility with legacy code.
Enumerator eType eContent eBothDefinition at line 85 of file feature.hpp.
◆ ELocationInFrame Enumerator eLocationInFrame_InFrame eLocationInFrame_BadStart eLocationInFrame_BadStop eLocationInFrame_BadStartAndStop eLocationInFrame_NotInDefinition at line 531 of file feature.hpp.
◆ ESNPStrandModeMode of processing SNP strands.
Enumerator eSNPStrand_same eSNPStrand_bothDefinition at line 241 of file feature.hpp.
◆ FFeatLabelFlags Enumerator fFGL_TypeAlways include the feature's type.
fFGL_ContentInclude its content if there is any.
fFGL_Both fFGL_NoCommentsLeave out comments, even as fallbacks.
fFGL_NoQualifiersLeave out qualifiers.
Definition at line 71 of file feature.hpp.
◆ AddCdsForGene() ◆ AddCdsForMrna() ◆ AddFeature() ◆ AddFeatures() void CFeatTree::AddFeatures ( CFeat_CI it ) ◆ AddFeaturesFor() [1/3] ◆ AddFeaturesFor() [2/3] ◆ AddFeaturesFor() [3/3]Add all features from bottom_type to top_type for a feature.
Definition at line 3171 of file feature.cpp.
References CFeatTree::AddFeatures(), CSeq_annot_Base::C_Data::e_not_set, CSeqFeatData::eSubtype_bad, STypeLink::GetMultiParentTypes(), SAnnotSelector::IncludeFeatSubtype(), STypeLink::m_ParentType, SAnnotSelector::SetAdaptiveDepth(), SAnnotSelector::SetAnnotType(), SAnnotSelector::SetFeatSubtype(), SAnnotSelector::SetOverlapTotalRange(), and SAnnotSelector::SetResolveAll().
Referenced by CFeatTree::AddCdsForGene(), CFeatTree::AddCdsForMrna(), CFeatTree::AddFeaturesFor(), CFeatTree::AddGenesForCds(), CFeatTree::AddGenesForFeat(), CFeatTree::AddGenesForMrna(), CFeatTree::AddMrnasForCds(), and CFeatTree::AddMrnasForGene().
◆ AddFeatureToBioseq() ◆ AddGenesForCds() ◆ AddGenesForFeat() ◆ AddGenesForMrna() ◆ AddMrnasForCds() ◆ AddMrnasForGene() ◆ AddProteinFeature() ◆ AdjustFeaturePartialFlagForLocation() bool AdjustFeaturePartialFlagForLocation ( CSeq_feat & new_feat )AdjustFeaturePartialFlagForLocation A function to ensure that Seq-feat.partial is set if either end of the feature is partial, and clear if neither end of the feature is partial.
Definition at line 3983 of file feature.cpp.
References eExtreme_Biological, CSeq_feat_Base::GetLocation(), CSeq_feat_Base::GetPartial(), CSeq_loc::IsPartialStart(), CSeq_loc::IsPartialStop(), CSeq_feat_Base::IsSetPartial(), CSeq_feat_Base::ResetPartial(), and CSeq_feat_Base::SetPartial().
Referenced by CResyncPanel::AddCommand(), AdjustProteinFeaturePartialsToMatchCDS(), CLocationEditPolicy::ApplyPolicyToFeature(), BOOST_AUTO_TEST_CASE(), CopyFeaturePartials(), CSequenceEditingEventHandler::ResynchronizePartials(), and CCleanup::SetCDSPartialsByFrameAndTranslation().
◆ AdjustForCDSPartials() [1/2]AdjustForCDSPartials A function to make all of the necessary related changes to a Seq-entry after the partialness of a coding region has been changed.
Definition at line 4062 of file feature.cpp.
References AdjustProteinMolInfoToMatchCDS(), CSerialObject::Assign(), CopyFeaturePartials(), CSeqFeatData::eSubtype_prot, f, CScope::GetBioseqHandle(), CBioseq_Handle::GetEditHandle(), CSeq_entry_Handle::GetEditHandle(), CSeq_annot_Handle::GetParentEntry(), CSeq_feat_Base::GetProduct(), CSeq_feat_Base::IsSetProduct(), NON_CONST_ITERATE, CSeq_feat_EditHandle::Replace(), and CBioseq_EditHandle::SetDescr().
Referenced by AdjustForCDSPartials(), and RetranslateCDS().
◆ AdjustForCDSPartials() [2/2]AdjustForCDSPartials A function to make all of the necessary related changes to a Seq-entry after the partialness of a coding region has been changed.
Definition at line 4115 of file feature.cpp.
Referenced by ApplyPolicyToFeature(), BOOST_AUTO_TEST_CASE(), and CCleanup::WGSCleanup().
◆ AdjustProteinMolInfoToMatchCDS() ◆ CFeatInfo() CFeatTree::CFeatInfo::CFeatInfo ( void )Definition at line 3146 of file feature.cpp.
◆ CFeatTree() [1/7] ◆ CFeatTree() [2/7] ◆ CFeatTree() [3/7] ◆ CFeatTree() [4/7] ◆ CFeatTree() [5/7] ◆ CFeatTree() [6/7] ◆ CFeatTree() [7/7] CFeatTree::CFeatTree ( void ) ◆ ClearFeatureIds() [1/2] ◆ ClearFeatureIds() [2/2] ◆ CopyFeaturePartials()CopyFeaturePartials A function to copy the start and end partialness from one feature to another.
Definition at line 4006 of file feature.cpp.
References AdjustFeaturePartialFlagForLocation(), eExtreme_Biological, CSeq_feat_Base::GetLocation(), CSeq_loc::IsPartialStart(), CSeq_loc::IsPartialStop(), and CSeq_feat_Base::SetLocation().
Referenced by AddProteinFeature(), AdjustForCDSPartials(), CCleanup::SetGenePartialByLongestContainedFeature(), CCleanup::WGSCleanup(), CFeatTableEdit::xGenerate_mRNA_Product(), and CFeatureTableReader::xTranslateProtein().
◆ CreateSeqLocMapperFromFeat()Create CSeq_loc_Mapper from a feature, check for special cases like exceptions in CDS features.
Return null on error.
Definition at line 3698 of file feature.cpp.
References eExtreme_Biological, CSeq_feat_Base::GetExcept(), CSeq_feat_Base::GetExcept_text(), CSeq_feat_Base::GetLocation(), CSeq_loc::IsPartialStart(), CSeq_feat_Base::IsSetExcept(), CSeq_feat_Base::IsSetExcept_text(), CSeq_feat_Base::IsSetProduct(), CSeq_loc::IsTruncatedStart(), and CRef< C, Locker >::Reset().
◆ GetBestCdsForMrna()Definition at line 3360 of file feature.cpp.
References CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_mRNA, CFeatTree::GetChildren(), CSeq_feat_Handle::GetFeatSubtype(), ITERATE, and NCBI_THROW.
Referenced by GetBestOverlappingFeat(), GetRelatedFeatureApplyObjects(), GetRelatedFeatures(), CDemoApp::Run(), variation_ref::CVariationUtil::SetVariantProperties(), CAlignedFeatureGraph::x_GatherCluster(), CGuiObjectInfoSeq_feat::x_GetProductSequence(), and CFeatTableEdit::xFeatureAddProteinIdMrna().
◆ GetBestGene() ◆ GetBestGeneFeatIdMode() ◆ GetBestGeneForCds()Definition at line 3321 of file feature.cpp.
References CSeqFeatData::eSubtype_cdregion, CFeatTree::GetBestGene(), CSeq_feat_Handle::GetFeatSubtype(), and NCBI_THROW.
Referenced by CCreateProteinId::apply(), CCreateLocusTagGene::apply(), CConvertBadCdsAndRnaToMiscFeat::apply(), GetBestOverlappingFeat(), CFixForTransSplicing::GetCommand(), CFeatTableEdit::InferPartials(), MakemRNAforCDS(), TAsyncToken::ParentGene(), CExtendCDSToStop::ResetGenes(), s_GetBestGeneForFeat(), CLinkUtils::x_AddDbxrefFeatureLinks(), CDeflineGenerator::x_GetGeneRefViaCDS(), CGffIdGenerator::xGetIdForCds(), and CFeatTableEdit::xGetLinkedFeature().
◆ GetBestGeneForFeat()Definition at line 3443 of file feature.cpp.
References CFeatTree::GetBestGene(), and NCBI_THROW.
Referenced by CGffFeatureContext::FindBestGeneParent(), CFeatureIndex::GetBestGene(), GetBestOverlappingFeat(), CGeneXrefsFromFeats::GetCommand(), CDemoApp::Run(), sGetClosestGeneRef(), CGeneFeatTreeProcess::TestFeatureGeneTree(), CFeatTableEdit::xAdjustExistingParentGene(), CGtfWriter::xAssignFeatureAttributeGeneId(), CGffIdGenerator::xExtractGeneLocusTagOrLocus(), CFeatTableEdit::xGenerateMissingMrnaForCds(), CFeatTableEdit::xGetCurrentLocusTagPrefix(), CGffIdGenerator::xGetIdForRna(), CFeatTableEdit::xMakeGeneForFeature(), CFeatTableEdit::xNextProteinId(), and CFeatTableEdit::xNextTranscriptId().
◆ GetBestGeneForMrna()Definition at line 3301 of file feature.cpp.
References CSeqFeatData::eSubtype_mRNA, CFeatTree::GetBestGene(), CSeq_feat_Handle::GetFeatSubtype(), and NCBI_THROW.
Referenced by CGffFeatureContext::FindBestGeneParent(), GetBestOverlappingFeat(), CDemoApp::Run(), s_GetBestGeneForFeat(), CLinkUtils::x_AddDbxrefFeatureLinks(), CFlatGatherer::x_GatherFeatures(), CFlatGatherer::x_GatherFeaturesIdx(), and CGffIdGenerator::xGetIdForRna().
◆ GetBestMrnaForCds()Definition at line 3341 of file feature.cpp.
References CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_mRNA, CSeq_feat_Handle::GetFeatSubtype(), CFeatTree::GetParent(), and NCBI_THROW.
Referenced by CSplitCDSwithTooManyXs::AdjustSingleCDS(), CExtendCDSToStop::ExtendmRNA(), GetBestOverlappingFeat(), CSeqUtils::GetMrnaForCds(), GetProtAndRnaForCDS(), GetRelatedFeatureApplyObjects(), GetRelatedFeatures(), CFeatTableEdit::InferPartials(), TAsyncToken::ParentMrna(), CFeatTableEdit::xAddTranscriptAndProteinIdsToCdsAndParentMrna(), CGff3Writer::xAssignFeatureAttributeParentMrna(), CFeatTableEdit::xFeatureAddProteinIdCds(), CFeatTableEdit::xFeatureAddTranscriptIdCds(), CFeatTableEdit::xGenerateLocusIdsRegenerate(), CFeatTableEdit::xGetLinkedFeature(), and CExonNumberAssigner::xInitialize().
◆ GetBestOverlappingFeat()Definition at line 3653 of file feature.cpp.
References CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_gene, CSeqFeatData::eSubtype_mRNA, CSeqFeatData::eSubtype_operon, GetBestCdsForMrna(), GetBestGeneForCds(), GetBestGeneForFeat(), GetBestGeneForMrna(), GetBestMrnaForCds(), GetBestOverlappingFeat(), GetBestParentForFeat(), CSeq_feat_Handle::GetFeatSubtype(), CMappedFeat::GetLocation(), and CSeq_feat_Handle::GetScope().
Referenced by CSequenceEditingEventHandler::CDSGeneRangeErrorRestore(), CSequenceEditingEventHandler::CDSGeneRangeErrorSuppress(), CConvertImpToProt::Convert(), CGeneFinder::GetFeatViaSubsetThenExtremesIfPossible(), CGeneFinder::GetFeatViaSubsetThenExtremesIfPossible_Helper_extremes(), CGeneFinder::GetFeatViaSubsetThenExtremesIfPossible_Helper_subset(), GetGeneForFeature(), GetmRNAforCDS(), GetProductForCDS(), CmRNACDSLinker::LinkByOverlap(), CDemoApp::Run(), s_GetBestGeneForFeat(), s_GetCDSformRNA(), s_GetmRNAForCDS(), s_GetProductFlagFromCDSProductNames(), s_GetProteinName(), s_TitleFromSegment(), s_VerifyTree(), CMiscFeatValidator::Validate(), CValidError_bioseq::ValidateBadGeneOverlap(), CValidError_bioseq::ValidateSeqDescContext(), CSpliceProblems::ValidateSpliceExon(), CSpliceProblems::ValidateSpliceMrna(), CGeneFeatFromOtherFeatDlg::x_AddGeneQuals(), x_GetDivisionProc(), CDeflineGenerator::x_GetLongestProtein(), x_GetSegSeqInfoViaCDS(), x_GetSourceFeatViaCDS(), CValidError_bioseq::x_IsSameAsCDS(), CConvertFeatureBase::x_MoveFeatureToProtein(), CCdregionValidator::x_ValidateBadMRNAOverlap(), CCdregionValidator::x_ValidateCDSPeptides(), CRNAValidator::x_ValidateTrnaOverlap(), and CFeatTableEdit::xGenerateMissingMrnaForCds().
◆ GetBestParentForFeat() ◆ GetCdssForGene() ◆ GetChildren() ◆ GetChildrenGene() CFeatInfo* CFeatTree::CFeatInfo::GetChildrenGene ( void ) inline ◆ GetChildrenTo() ◆ GetFeatIdMode() ◆ GetFeatIdsCount() size_t CFeatIdRemapper::GetFeatIdsCount ( void ) const ◆ GetFeatureGeneBiotype() ◆ GetFeatureGeneBiotypeFaster() ◆ GetGeneCheckMode() ◆ GetIgnoreMissingGeneXref() bool CFeatTree::GetIgnoreMissingGeneXref ( void ) const inline ◆ GetLabel() [1/2] ◆ GetLabel() [2/2] ◆ GetMappedFeat() ◆ GetMrnasForGene() ◆ GetParent() [1/3] ◆ GetParent() [2/3] ◆ GetParent() [3/3] ◆ GetParentFeature() ◆ GetRootFeatures() vector<CMappedFeat> CFeatTree::GetRootFeatures ( void ) inline ◆ GetRootFeaturesTo() void CFeatTree::GetRootFeaturesTo ( vector< CMappedFeat > & children ) inline ◆ GetSNPStrandMode() ◆ GetSubtype() ◆ GetTSE() ◆ GivesGeneToChildren() bool CFeatTree::CFeatInfo::GivesGeneToChildren ( void ) const inline ◆ IsGene() bool CFeatTree::CFeatInfo::IsGene ( void ) const inline ◆ IsLocationInFrame()Determines whether location loc is in frame with coding region cds.
Definition at line 3818 of file feature.cpp.
References Compare(), eContains, eExtreme_Biological, CCdregion_Base::eFrame_not_set, CCdregion_Base::eFrame_one, CCdregion_Base::eFrame_three, CCdregion_Base::eFrame_two, eLocationInFrame_BadStart, eLocationInFrame_BadStartAndStop, eLocationInFrame_BadStop, eLocationInFrame_InFrame, eLocationInFrame_NotIn, eOffset_FromStart, eSame, fCompareOverlapping, CSeqFeatData_Base::GetCdregion(), CSeq_feat_Handle::GetData(), CCdregion_Base::GetFrame(), GetLength(), CSeq_feat_Handle::GetLocation(), CSeq_feat_Handle::GetScope(), CSeqFeatData_Base::IsCdregion(), CSeq_loc::IsPartialStart(), CSeq_loc::IsPartialStop(), CSeq_feat_Handle::IsSetData(), LocationOffset(), s_MakePointForLocationStop(), and tmp.
Referenced by BOOST_AUTO_TEST_CASE(), CCleanup::GetProteinLocationFromNucleotideLocation(), s_GetCdsByLocation(), and CPeptideValidator::x_ValidatePeptideOnCodonBoundary().
◆ IsSetGene() bool CFeatTree::CFeatInfo::IsSetGene ( void ) const inline ◆ IsSetParent() bool CFeatTree::CFeatInfo::IsSetParent ( void ) const inline ◆ Less()Implements IFeatComparator.
Definition at line 891 of file feature.cpp.
References NStr::Compare(), NStr::CompareNocase(), fFGL_Both, CSeq_feat_Base::GetComment(), CSeq_feat_Base::GetData(), CSeqFeatData_Base::GetGene(), CObject_id_Base::GetId(), CSeq_feat_Base::GetId(), GetLabel(), CFeat_id_Base::GetLocal(), CGene_ref_Base::GetLocus_tag(), CObject_id_Base::GetStr(), CSeqFeatData_Base::IsCdregion(), CSeqFeatData_Base::IsGene(), CObject_id_Base::IsId(), CFeat_id_Base::IsLocal(), CSeq_feat_Base::IsSetComment(), CSeq_feat_Base::IsSetData(), CSeq_feat_Base::IsSetId(), CGene_ref_Base::IsSetLocus_tag(), CObject_id_Base::IsStr(), CObject_id_Base::Which(), and CFeat_id_Base::Which().
◆ MapSeq_feat() [1/4] ◆ MapSeq_feat() [2/4]Definition at line 973 of file feature.cpp.
References depth, CSeq_feat_Handle::GetAnnot(), CSeq_feat_Handle::GetFeatSubtype(), CSeq_feat_Base::GetLocation(), CSeq_feat_Handle::GetOriginalSeq_feat(), NCBI_THROW, SAnnotSelector::SetExactDepth(), SAnnotSelector::SetLimitSeqAnnot(), SAnnotSelector::SetResolveAll(), SAnnotSelector::SetResolveDepth(), and SAnnotSelector::SetSourceLoc().
Referenced by MapSeq_feat().
◆ MapSeq_feat() [3/4] ◆ MapSeq_feat() [4/4] ◆ operator=()Definition at line 1977 of file feature.cpp.
References CFeatTree::AddFeature(), map_checker< Container >::clear(), ITERATE, CFeatTree::m_AssignedGenes, CFeatTree::m_AssignedParents, CFeatTree::m_BestGeneFeatIdMode, CFeatTree::m_FeatIdMode, CFeatTree::m_GeneCheckMode, CFeatTree::m_IgnoreMissingGeneXref, CFeatTree::m_Index, CFeatTree::m_InfoArray, CFeatTree::m_InfoMap, CFeatTree::m_RootInfo, and CFeatTree::m_SNPStrandMode.
◆ PromoteCDSToNucProtSet() bool PromoteCDSToNucProtSet ( objects::CSeq_feat_Handle & orig_feat )Promotes coding region from Seq-annot on nucleotide sequence to Seq-annot on nuc-prot-set if necessary and appropriate.
Definition at line 3914 of file feature.cpp.
References CSeq_entry_EditHandle::AttachAnnot(), CBioseq_set_Base::eClass_nuc_prot, CSeq_annot_CI::eSearch_entry, ftable, CSeq_feat_EditHandle::GetAnnot(), CScope::GetBioseqHandle(), CBioseq_set_Handle::GetClass(), CSeq_annot_Base::GetData(), CSeq_annot_Handle::GetEditHandle(), CSeq_entry_Handle::GetEditHandle(), CSeq_annot_Base::C_Data::GetFtable(), CSeq_entry_Handle::GetParentBioseq_set(), CBioseq_set_Handle::GetParentEntry(), CSeq_annot_Handle::GetParentEntry(), CSeq_annot_EditHandle::GetParentEntry(), CBioseq_Handle::GetScope(), CSeq_annot_Handle::GetSeq_annotCore(), CSeq_entry_Handle::GetSet(), CSeq_entry_Handle::IsSet(), CBioseq_set_Handle::IsSetClass(), CSeq_annot_EditHandle::Remove(), CSeq_annot_Base::SetData(), and CSeq_annot_EditHandle::TakeFeat().
Referenced by BOOST_AUTO_TEST_CASE(), CCmdChangeSeq_feat::Execute(), and CNewCleanup_imp::x_MoveCDSFromNucAnnotToSetAnnot().
◆ ReassignFeatureIds() [1/2] ◆ ReassignFeatureIds() [2/2] ◆ RemapId() [1/3] ◆ RemapId() [2/3] ◆ RemapId() [3/3] ◆ RemapIds() [1/2] ◆ RemapIds() [2/2] ◆ Reset() void CFeatIdRemapper::Reset ( void ) ◆ RetranslateCDS()RetranslateCDS A function to replace the protein Bioseq pointed to by cds.product with the current translation of the coding region cds.
Definition at line 4121 of file feature.cpp.
References AdjustForCDSPartials(), CSerialObject::Assign(), CSeq_feat_Base::CanGetLocation(), CSeq_interval_Base::CanGetTo(), CSeqFeatData::eSubtype_prot, f, CScope::GetBioseqHandle(), CSeq_feat_Base::GetData(), CBioseq_Handle::GetEditHandle(), CSeq_entry_Handle::GetEditHandle(), CBioseq_Base::GetInst(), CSeq_loc_Base::GetInt(), CBioseq::GetLength(), CSeq_feat_Base::GetLocation(), CSeq_annot_Handle::GetParentEntry(), CSeq_feat_Base::GetProduct(), CBioseq_Handle::GetSeq_entry_Handle(), CSeqFeatData_Base::IsCdregion(), CSeq_loc_Base::IsInt(), CBioseq_Handle::IsProtein(), CSeq_feat_Base::IsSetData(), CBioseq_Base::IsSetInst(), CSeq_feat_Base::IsSetProduct(), CSeq_feat_EditHandle::Replace(), CBioseq_EditHandle::SetInst(), CSeq_feat_Base::SetLocation(), and CSeqTranslator::TranslateToProtein().
Referenced by ApplyPolicyToFeature(), ExtendPartialFeatureEnds(), CCleanup::WGSCleanup(), CCleanupApp::x_BatchExtendCDS(), and CCleanupApp::x_FixCDS().
◆ SetBestGeneFeatIdMode() ◆ SetFeatIdMode() ◆ SetGeneCheckMode() ◆ SetIgnoreMissingGeneXref() void CFeatTree::SetIgnoreMissingGeneXref ( bool ignore =true
) ◆ SetSNPStrandMode() ◆ x_AssignGenes() void CFeatTree::x_AssignGenes ( void ) protected
Definition at line 2862 of file feature.cpp.
References arr, CFeatTree::eBestGeneFeatId_always, CSeqFeatData::eSubtype_gene, CFeatTree::CFeatInfo::GetChildrenGene(), CFeatTree::CFeatInfo::GivesGeneToChildren(), info, CFeatTree::m_AssignedGenes, CFeatTree::m_BestGeneFeatIdMode, CFeatTree::m_InfoArray, swap(), CFeatTree::x_AssignGenesByOverlap(), CFeatTree::x_LookupParentByRef(), CFeatTree::x_SetGene(), and CFeatTree::x_SetGeneRecursive().
Referenced by CFeatTree::GetBestGene().
◆ x_AssignGenesByOverlap() void CFeatTree::x_AssignGenesByOverlap ( TFeatArray & features ) protectedDefinition at line 2818 of file feature.cpp.
References _ASSERT, cnt, CSeqFeatData::eSubtype_gene, CFeatTreeIndex::GetIndex(), i, info, CFeatTreeIndex::m_CanonicalIds, CFeatTree::m_Index, CFeatTree::m_InfoArray, s_CollectBestOverlaps(), and CFeatTree::x_SetGene().
Referenced by CFeatTree::x_AssignGenes().
◆ x_AssignParentByRef()Definition at line 2174 of file feature.cpp.
References _ASSERT, CFeatTree::eBestGeneFeatId_ignore, CFeatTree::eFeatId_always, CFeatTree::eFeatId_by_type, CFeatTree::eFeatId_ignore, CSeqFeatData::eSubtype_any, CSeqFeatData::eSubtype_gene, CFeatTree::GetIgnoreMissingGeneXref(), info, CFeatTree::m_BestGeneFeatIdMode, CFeatTree::m_FeatIdMode, STypeLink::m_ParentType, CFeatTree::x_LookupParentByRef(), CFeatTree::x_SetGene(), and CFeatTree::x_SetParent().
Referenced by CFeatTree::x_AssignParents().
◆ x_AssignParents() void CFeatTree::x_AssignParents ( void ) protectedDefinition at line 2931 of file feature.cpp.
References CFeatTree::eFeatId_always, CFeatTree::eFeatId_ignore, CSeqFeatData::eSubtype_max, info, ITERATE, CFeatTree::m_AssignedParents, CFeatTree::m_FeatIdMode, CFeatTree::m_InfoArray, CFeatTree::m_InfoMap, ct::sort(), type, CFeatTree::x_AssignParentByRef(), CFeatTree::x_AssignParentsByOverlap(), CFeatTree::x_SetNoParent(), and CFeatTree::x_VerifyLinkedToRoot().
Referenced by CFeatTree::GetChildrenTo(), CFeatTree::x_GetChildren(), and CFeatTree::x_GetParent().
◆ x_AssignParentsByOverlap()Definition at line 2731 of file feature.cpp.
References _ASSERT, cnt, CFeatTree::eGeneCheck_match, CSeqFeatData::eSubtype_bad, CSeqFeatData::eSubtype_gene, CFeatTree::GetGeneCheckMode(), CFeatTreeIndex::GetIndex(), STypeLink::GetMultiParentTypes(), CFeatTree::CFeatInfo::GetSubtype(), i, info, ITERATE, STypeLink::m_ByProduct, CFeatTreeIndex::m_CanonicalIds, CFeatTree::m_Index, CFeatTree::m_InfoArray, STypeLink::m_ParentType, s_AllowedParentByOverlap(), s_CollectBestOverlaps(), swap(), CFeatTree::x_SetNoParent(), and CFeatTree::x_SetParent().
Referenced by CFeatTree::x_AssignParents().
◆ x_FindInfo() ◆ x_GetChildren() ◆ x_GetInfo() [1/2] ◆ x_GetInfo() [2/2] ◆ x_GetParent() ◆ x_Init() void CFeatTree::x_Init ( void ) protectedDefinition at line 2000 of file feature.cpp.
References CFeatTree::eBestGeneFeatId_always, CFeatTree::eFeatId_by_type, CFeatTree::eGeneCheck_match, CFeatTree::eSNPStrand_both, CFeatTree::m_AssignedGenes, CFeatTree::m_AssignedParents, CFeatTree::m_BestGeneFeatIdMode, CFeatTree::m_FeatIdMode, CFeatTree::m_GeneCheckMode, CFeatTree::m_IgnoreMissingGeneXref, and CFeatTree::m_SNPStrandMode.
Referenced by CFeatTree::CFeatTree().
◆ x_LookupParentByRef()Definition at line 2106 of file feature.cpp.
References data, CSeqFeatData::eSubtype_any, CSeqFeatData::eSubtype_gene, CSeqFeatXref_Base::GetData(), CTSE_Handle::GetFeaturesWithId(), CTSE_Handle::GetGenesByRef(), CSeqFeatXref_Base::GetId(), CFeatTree::CFeatInfo::GetSubtype(), info, CSeqFeatXref_Base::IsSetData(), CSeqFeatXref_Base::IsSetId(), ITERATE, and CFeatTree::x_FindInfo().
Referenced by CFeatTree::x_AssignGenes(), and CFeatTree::x_AssignParentByRef().
◆ x_SetGene() ◆ x_SetGeneRecursive() ◆ x_SetNoParent() void CFeatTree::x_SetNoParent ( CFeatInfo & info ) protected ◆ x_SetParent() ◆ x_VerifyLinkedToRoot() void CFeatTree::x_VerifyLinkedToRoot ( CFeatInfo & info ) protected ◆ ~CFeatInfo() CFeatTree::CFeatInfo::~CFeatInfo ( void )Definition at line 3160 of file feature.cpp.
◆ ~CFeatTree() CFeatTree::~CFeatTree ( void ) ◆ m_AddIndex size_t CFeatTree::CFeatInfo::m_AddIndex ◆ m_AssignedGenes size_t CFeatTree::m_AssignedGenes protected ◆ m_AssignedParents size_t CFeatTree::m_AssignedParents protected ◆ m_BestGeneFeatIdMode ◆ m_CanMatchByQual ◆ m_Children ◆ m_Feat ◆ m_FeatIdMode ◆ m_Gene ◆ m_GeneCheckMode ◆ m_IdMap TIdMap CFeatIdRemapper::m_IdMap private ◆ m_IgnoreMissingGeneXref bool CFeatTree::m_IgnoreMissingGeneXref protected ◆ m_Index ◆ m_InfoArray ◆ m_InfoMap ◆ m_IsLinkedToRoot ◆ m_IsSetChildren bool CFeatTree::CFeatInfo::m_IsSetChildren ◆ m_IsSetGene bool CFeatTree::CFeatInfo::m_IsSetGene ◆ m_IsSetParent bool CFeatTree::CFeatInfo::m_IsSetParent ◆ m_MasterRange ◆ m_MultiId ◆ m_Parent ◆ m_RootInfo ◆ m_SNPStrandModeRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4