annot_types_ci.cpp
来自「ncbi源码」· C++ 代码 · 共 679 行 · 第 1/2 页
CPP
679 行
* CScope is allowed to be destroyed before other objects using this scope are* deleted (feature iterators, bioseq handles etc).* Optimized lookup for matching Seq-ids in CSeq_id_Mapper.* Added 'adaptive' option to objmgr_demo application.** Revision 1.91 2003/09/16 14:21:47 grichenk* Added feature indexing and searching by subtype.** Revision 1.90 2003/09/12 17:43:15 dicuccio* Replace _ASSERT() with handled check in x_Search() (again...)** Revision 1.89 2003/09/12 16:57:52 dicuccio* Revert previous change** Revision 1.88 2003/09/12 16:55:31 dicuccio* Temporarily disable assertion in CAnnotTypes_CI::x_Search()** Revision 1.87 2003/09/12 15:50:10 grichenk* Updated adaptive-depth triggering** Revision 1.86 2003/09/11 17:45:07 grichenk* Added adaptive-depth option to annot-iterators.** Revision 1.85 2003/09/05 17:29:40 grichenk* Structurized Object Manager exceptions** Revision 1.84 2003/09/03 19:59:01 grichenk* Initialize m_MappedIndex to 0** Revision 1.83 2003/08/27 14:29:52 vasilche* Reduce object allocations in feature iterator.** Revision 1.82 2003/08/22 14:58:57 grichenk* Added NoMapping flag (to be used by CAnnot_CI for faster fetching).* Added GetScope().** Revision 1.81 2003/08/15 19:19:16 vasilche* Fixed memory leak in string packing hooks.* Fixed processing of 'partial' flag of features.* Allow table packing of non-point SNP.* Allow table packing of SNP with long alleles.** Revision 1.80 2003/08/14 20:05:19 vasilche* Simple SNP features are stored as table internally.* They are recreated when needed using CFeat_CI.** Revision 1.79 2003/08/04 17:03:01 grichenk* Added constructors to iterate all annotations from a* seq-entry or seq-annot.** Revision 1.78 2003/07/29 15:55:16 vasilche* Catch exceptions when sorting features.** Revision 1.77 2003/07/18 19:32:30 vasilche* Workaround for GCC 3.0.4 bug.** Revision 1.76 2003/07/17 20:07:55 vasilche* Reduced memory usage by feature indexes.* SNP data is loaded separately through PUBSEQ_OS.* String compression for SNP data.** Revision 1.75 2003/07/08 15:09:22 vasilche* Annotations iterator erroneously was resolving one level of segments* deeper than requested.** Revision 1.74 2003/07/01 18:00:13 vasilche* Fixed unsigned/signed comparison.** Revision 1.73 2003/06/25 20:56:30 grichenk* Added max number of annotations to annot-selector, updated demo.** Revision 1.72 2003/06/24 14:25:18 vasilche* Removed obsolete CTSE_Guard class.* Used separate mutexes for bioseq and annot maps.** Revision 1.71 2003/06/19 18:23:45 vasilche* Added several CXxx_ScopeInfo classes for CScope related information.* CBioseq_Handle now uses reference to CBioseq_ScopeInfo.* Some fine tuning of locking in CScope.** Revision 1.70 2003/06/17 20:34:04 grichenk* Added flag to ignore sorting** Revision 1.69 2003/06/13 17:22:54 grichenk* Protected against multi-ID seq-locs** Revision 1.68 2003/06/02 16:06:37 dicuccio* Rearranged src/objects/ subtree. This includes the following shifts:* - src/objects/asn2asn --> arc/app/asn2asn* - src/objects/testmedline --> src/objects/ncbimime/test* - src/objects/objmgr --> src/objmgr* - src/objects/util --> src/objmgr/util* - src/objects/alnmgr --> src/objtools/alnmgr* - src/objects/flat --> src/objtools/flat* - src/objects/validator --> src/objtools/validator* - src/objects/cddalignview --> src/objtools/cddalignview* In addition, libseq now includes six of the objects/seq... libs, and libmmdb* replaces the three libmmdb? libs.** Revision 1.67 2003/05/12 19:18:29 vasilche* Fixed locking of object manager classes in multi-threaded application.** Revision 1.66 2003/04/29 19:51:13 vasilche* Fixed interaction of Data Loader garbage collector and TSE locking mechanism.* Made some typedefs more consistent.** Revision 1.65 2003/04/28 15:00:46 vasilche* Workaround for ICC bug with dynamic_cast<>.** Revision 1.64 2003/04/24 16:12:38 vasilche* Object manager internal structures are splitted more straightforward.* Removed excessive header dependencies.** Revision 1.63 2003/03/31 21:48:29 grichenk* Added possibility to select feature subtype through SAnnotSelector.** Revision 1.62 2003/03/27 19:40:11 vasilche* Implemented sorting in CGraph_CI.* Added Rewind() method to feature/graph/align iterators.** Revision 1.61 2003/03/26 21:00:19 grichenk* Added seq-id -> tse with annotation cache to CScope** Revision 1.60 2003/03/26 17:11:19 vasilche* Added reverse feature traversal.** Revision 1.59 2003/03/21 19:22:51 grichenk* Redesigned TSE locking, replaced CTSE_Lock with CRef<CTSE_Info>.** Revision 1.58 2003/03/20 20:36:06 vasilche* Fixed mapping of mix Seq-loc.** Revision 1.57 2003/03/18 14:52:59 grichenk* Removed obsolete methods, replaced seq-id with seq-id handle* where possible. Added argument to limit annotations update to* a single seq-entry.** Revision 1.56 2003/03/14 19:10:41 grichenk* + SAnnotSelector::EIdResolving; fixed operator=() for several classes** Revision 1.55 2003/03/13 21:49:58 vasilche* Fixed mapping of Mix location.** Revision 1.54 2003/03/11 20:42:53 grichenk* Skip unresolvable IDs and synonym** Revision 1.53 2003/03/11 15:51:06 kuznets* iterate -> ITERATE** Revision 1.52 2003/03/10 16:55:17 vasilche* Cleaned SAnnotSelector structure.* Added shortcut when features are limited to one TSE.** Revision 1.51 2003/03/05 20:56:43 vasilche* SAnnotSelector now holds all parameters of annotation iterators.** Revision 1.50 2003/03/03 20:32:24 vasilche* Use cached synonyms.** Revision 1.49 2003/02/28 19:27:19 vasilche* Cleaned Seq_loc conversion class.** Revision 1.48 2003/02/27 20:56:51 vasilche* Use one method for lookup on main sequence and segments.** Revision 1.47 2003/02/27 16:29:27 vasilche* Fixed lost features from first segment.** Revision 1.46 2003/02/27 14:35:32 vasilche* Splitted PopulateTSESet() by logically independent parts.** Revision 1.45 2003/02/26 17:54:14 vasilche* Added cached total range of mapped location.** Revision 1.44 2003/02/25 20:10:40 grichenk* Reverted to single total-range index for annotations** Revision 1.43 2003/02/24 21:35:22 vasilche* Reduce checks in CAnnotObject_Ref comparison.* Fixed compilation errors on MS Windows.* Removed obsolete file src/objects/objmgr/annot_object.hpp.** Revision 1.42 2003/02/24 18:57:22 vasilche* Make feature gathering in one linear pass using CSeqMap iterator.* Do not use feture index by sub locations.* Sort features at the end of gathering in one vector.* Extracted some internal structures and classes in separate header.* Delay creation of mapped features.** Revision 1.41 2003/02/13 14:34:34 grichenk* Renamed CAnnotObject -> CAnnotObject_Info* + CSeq_annot_Info and CAnnotObject_Ref* Moved some members of CAnnotObject to CSeq_annot_Info* and CAnnotObject_Ref.* Added feat/align/graph to CAnnotObject_Info map* to CDataSource.** Revision 1.40 2003/02/12 19:17:31 vasilche* Fixed GetInt() when CSeq_loc is Whole.** Revision 1.39 2003/02/10 15:53:24 grichenk* Sort features by mapped location** Revision 1.38 2003/02/06 22:31:02 vasilche* Use CSeq_feat::Compare().** Revision 1.37 2003/02/05 17:59:16 dicuccio* Moved formerly private headers into include/objects/objmgr/impl** Revision 1.36 2003/02/04 21:44:11 grichenk* Convert seq-loc instead of seq-annot to the master coordinates** Revision 1.35 2003/01/29 22:03:46 grichenk* Use single static CSeq_id_Mapper instead of per-OM model.** Revision 1.34 2003/01/29 17:45:02 vasilche* Annotaions index is split by annotation/feature type.** Revision 1.33 2003/01/22 20:11:54 vasilche* Merged functionality of CSeqMapResolved_CI to CSeqMap_CI.* CSeqMap_CI now supports resolution and iteration over sequence range.* Added several caches to CScope.* Optimized CSeqVector().* Added serveral variants of CBioseqHandle::GetSeqVector().* Tried to optimize annotations iterator (not much success).* Rewritten CHandleRange and CHandleRangeMap classes to avoid sorting of list.** Revision 1.32 2002/12/26 20:55:17 dicuccio* Moved seq_id_mapper.hpp, tse_info.hpp, and bioseq_info.hpp -> include/ tree** Revision 1.31 2002/12/26 16:39:23 vasilche* Object manager class CSeqMap rewritten.** Revision 1.30 2002/12/24 15:42:45 grichenk* CBioseqHandle argument to annotation iterators made const** Revision 1.29 2002/12/19 20:15:28 grichenk* Fixed code formatting** Revision 1.28 2002/12/06 15:36:00 grichenk* Added overlap type for annot-iterators** Revision 1.27 2002/12/05 19:28:32 grichenk* Prohibited postfix operator ++()** Revision 1.26 2002/11/04 21:29:11 grichenk* Fixed usage of const CRef<> and CRef<> constructor** Revision 1.25 2002/10/08 18:57:30 grichenk* Added feature sorting to the iterator class.** Revision 1.24 2002/07/08 20:51:01 grichenk* Moved log to the end of file* Replaced static mutex (in CScope, CDataSource) with the mutex* pool. Redesigned CDataSource data locking.** Revision 1.23 2002/05/31 17:53:00 grichenk* Optimized for better performance (CTSE_Info uses atomic counter,* delayed annotations indexing, no location convertions in* CAnnot_Types_CI if no references resolution is required etc.)** Revision 1.22 2002/05/24 14:58:55 grichenk* Fixed Empty() for unsigned intervals* SerialAssign<>() -> CSerialObject::Assign()* Improved performance for eResolve_None case** Revision 1.21 2002/05/09 14:17:22 grichenk* Added unresolved references checking** Revision 1.20 2002/05/06 03:28:46 vakatov* OM/OM1 renaming** Revision 1.19 2002/05/03 21:28:08 ucko* Introduce T(Signed)SeqPos.** Revision 1.18 2002/05/02 20:43:15 grichenk* Improved strand processing, throw -> THROW1_TRACE** Revision 1.17 2002/04/30 14:30:44 grichenk* Added eResolve_TSE flag in CAnnot_Types_CI, made it default** Revision 1.16 2002/04/23 15:18:33 grichenk* Fixed: missing features on segments and packed-int convertions** Revision 1.15 2002/04/22 20:06:17 grichenk* Minor changes in private interface** Revision 1.14 2002/04/17 21:11:59 grichenk* Fixed annotations loading* Set "partial" flag in features if necessary* Implemented most seq-loc types in reference resolving methods* Fixed searching for annotations within a signle TSE** Revision 1.13 2002/04/12 19:32:20 grichenk* Removed temp. patch for SerialAssign<>()** Revision 1.12 2002/04/11 12:07:29 grichenk* Redesigned CAnnotTypes_CI to resolve segmented sequences correctly.** Revision 1.11 2002/04/05 21:26:19 grichenk* Enabled iteration over annotations defined on segments of a* delta-sequence.** Revision 1.10 2002/03/07 21:25:33 grichenk* +GetSeq_annot() in annotation iterators** Revision 1.9 2002/03/05 16:08:14 grichenk* Moved TSE-restriction to new constructors** Revision 1.8 2002/03/04 15:07:48 grichenk* Added "bioseq" argument to CAnnotTypes_CI constructor to iterate* annotations from a single TSE.** Revision 1.7 2002/02/21 19:27:05 grichenk* Rearranged includes. Added scope history. Added searching for the* best seq-id match in data sources and scopes. Updated tests.** Revision 1.6 2002/02/15 20:35:38 gouriano* changed implementation of HandleRangeMap** Revision 1.5 2002/02/07 21:27:35 grichenk* Redesigned CDataSource indexing: seq-id handle -> TSE -> seq/annot** Revision 1.4 2002/01/23 21:59:31 grichenk* Redesigned seq-id handles and mapper** Revision 1.3 2002/01/18 15:51:18 gouriano* *** empty log message ***** Revision 1.2 2002/01/16 16:25:57 gouriano* restructured objmgr** Revision 1.1 2002/01/11 19:06:17 gouriano* restructured objmgr*** ===========================================================================*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?