A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/feature_8cpp.html below:

NCBI C++ ToolKit: src/objmgr/util/feature.cpp File Reference

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.

enum   EStrandMatchRule { eStrandMatch_all , eStrandMatch_at_least_one , eStrandMatch_any }   typedef pair< Int8, CMappedFeatTMappedFeatScore   typedef vector< TMappedFeatScoreTMappedFeatScores   bool  sFeatureGetChildrenOfSubtypeFaster (CMappedFeat, CSeqFeatData::ESubtype, vector< CMappedFeat > &, feature::CFeatTree &)   bool  sFeatureGetChildrenOfSubtype (CMappedFeat, CSeqFeatData::ESubtype, vector< CMappedFeat > &)   bool  sGetFeatureGeneBiotypeWrapper (feature::CFeatTree &, CMappedFeat, string &, bool)   CMappedFeat  GetParentFeature (const CMappedFeat &feat)   static EStrandMatchRule  s_GetStrandMatchRule (const STypeLink &link, const CFeatTree::CFeatInfo &info, const CFeatTree *tree)   static bool  s_IsNotSubrange (const CRange< TSeqPos > &r1, const CRange< TSeqPos > &r2)   static void  s_CollectBestOverlaps (CFeatTree::TFeatArray &features, TBestArray &bests, const STypeLink &link, TRangeArray &pp, CFeatTree *tree, TCanonicalIdsMap &ids_map)   static bool  s_AllowedParentByOverlap (CSeqFeatData::ESubtype child, CSeqFeatData::ESubtype parent)   CMappedFeat  GetBestGeneForMrna (const CMappedFeat &mrna_feat, CFeatTree *feat_tree, const SAnnotSelector *base_sel, CFeatTree::EBestGeneType lookup_type)   CMappedFeat  GetBestGeneForCds (const CMappedFeat &cds_feat, CFeatTree *feat_tree, const SAnnotSelector *base_sel, CFeatTree::EBestGeneType lookup_type)   CMappedFeat  GetBestMrnaForCds (const CMappedFeat &cds_feat, CFeatTree *feat_tree, const SAnnotSelector *base_sel)   CMappedFeat  GetBestCdsForMrna (const CMappedFeat &mrna_feat, CFeatTree *feat_tree, const SAnnotSelector *base_sel)   void  GetMrnasForGene (const CMappedFeat &gene_feat, list< CMappedFeat > &mrna_feats, CFeatTree *feat_tree, const SAnnotSelector *base_sel)   void  GetCdssForGene (const CMappedFeat &gene_feat, list< CMappedFeat > &cds_feats, CFeatTree *feat_tree, const SAnnotSelector *base_sel)   CMappedFeat  GetBestGeneForFeat (const CMappedFeat &feat, CFeatTree *feat_tree, const SAnnotSelector *base_sel, CFeatTree::EBestGeneType lookup_type)   CMappedFeat  GetBestParentForFeat (const CMappedFeat &feat, CSeqFeatData::ESubtype parent_type, CFeatTree *feat_tree, const SAnnotSelector *base_sel)   static void  GetOverlappingFeatures (CScope &scope, const CSeq_loc &loc, CSeqFeatData::E_Choice, CSeqFeatData::ESubtype feat_subtype, sequence::EOverlapType overlap_type, TMappedFeatScores &feats, const SAnnotSelector *base_sel)   static CMappedFeat  GetBestOverlappingFeat (CScope &scope, const CSeq_loc &loc, CSeqFeatData::ESubtype feat_subtype, sequence::EOverlapType overlap_type, TBestFeatOpts opts, const SAnnotSelector *base_sel)   CMappedFeat  GetBestOverlappingFeat (const CMappedFeat &feat, CSeqFeatData::ESubtype need_subtype, sequence::EOverlapType overlap_type, CFeatTree *feat_tree, const SAnnotSelector *base_sel)   CRef< CSeq_loc_MapperCreateSeqLocMapperFromFeat (const CSeq_feat &feat, CSeq_loc_Mapper::EFeatMapDirection dir, CScope *scope)   Create CSeq_loc_Mapper from a feature, check for special cases like exceptions in CDS features. More...
  void  ClearFeatureIds (const CSeq_annot_EditHandle &annot)   void  ClearFeatureIds (const CSeq_entry_EditHandle &entry)   static void  s_SetFeatureId (CFeatTree &ft, const CMappedFeat &feat, int &last_id, const CMappedFeat &parent)   static void  s_SetChildrenFeatureIds (CFeatTree &ft, const CMappedFeat &feat, int &feat_id)   void  ReassignFeatureIds (const CSeq_entry_EditHandle &entry)   void  ReassignFeatureIds (const CSeq_annot_EditHandle &annot)   static CRef< CSeq_locs_MakePointForLocationStop (const CSeq_loc &loc)   ELocationInFrame  IsLocationInFrame (const CSeq_feat_Handle &cds, const CSeq_loc &loc)   Determines whether location loc is in frame with coding region cds. More...
  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. More...
  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. More...
  bool  CopyFeaturePartials (CSeq_feat &dst, const CSeq_feat &src)   CopyFeaturePartials A function to copy the start and end partialness from one feature to another. More...
  bool  AdjustProteinMolInfoToMatchCDS (CMolInfo &molinfo, const CSeq_feat &cds)   AdjustProteinMolInfoToMatchCDS A function to change an existing MolInfo to match a coding region. More...
  bool  AdjustForCDSPartials (const CSeq_feat &cds, CScope &scope)   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. More...
  bool  AdjustForCDSPartials (const CSeq_feat &cds, CSeq_entry_Handle seh)   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. More...
  bool  RetranslateCDS (const CSeq_feat &cds, CScope &scope)   RetranslateCDS A function to replace the protein Bioseq pointed to by cds.product with the current translation of the coding region cds. More...
  void  AddFeatureToBioseq (const CBioseq &seq, const CSeq_feat &f, CScope &scope)   AddFeatureToBioseq A function to add a feature to a Bioseq - will create a new feature table Seq-annot if necessary. More...
  void  AddProteinFeature (const CBioseq &seq, const string &protein_name, const CSeq_feat &cds, CScope &scope)   AddProteinFeature A function to create a protein feature with the specified protein name. More...
  bool  GetFeatureGeneBiotypeFaster (feature::CFeatTree &ft, CMappedFeat mf, string &biotype)   bool  GetFeatureGeneBiotype (feature::CFeatTree &ft, CMappedFeat mf, string &biotype)  

RetroSearch 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