#include <bioseq_handle.hpp>
Inheritance diagram for CBioseq_Handle:


Proxy to access the bioseq data
Definition at line 90 of file bioseq_handle.hpp.
Public Types | |
| typedef int | TBioseqStateFlags |
| typedef CConstRef< CBioseq > | TBioseqCore |
| Bioseq core -- using partially populated CBioseq. | |
| typedef CBioseq | TObject |
| Unified interface for templates. | |
| typedef vector< CSeq_id_Handle > | TId |
| typedef CSeq_descr | TDescr |
| typedef CSeq_inst | TInst |
| typedef TInst::TRepr | TInst_Repr |
| typedef TInst::TMol | TInst_Mol |
| typedef TInst::TLength | TInst_Length |
| typedef TInst::TFuzz | TInst_Fuzz |
| typedef TInst::TTopology | TInst_Topology |
| typedef TInst::TStrand | TInst_Strand |
| typedef TInst::TSeq_data | TInst_Seq_data |
| typedef TInst::TExt | TInst_Ext |
| typedef TInst::THist | TInst_Hist |
| typedef CSeq_inst::TMol | TMol |
| enum | EBioseqStateFlags { fState_none = 0, fState_suppress_temp = 1 << 0, fState_suppress_perm = 1 << 1, fState_suppress, fState_dead = 1 << 2, fState_confidential = 1 << 3, fState_withdrawn = 1 << 4, fState_no_data = 1 << 5, fState_conflict = 1 << 6, fState_not_found = 1 << 7, fState_other_error = 1 << 8 } |
| State of bioseq handle. More... | |
| enum | EFindSegment { eFindSegment_NoLimit, eFindSegment_LimitTSE } |
| Segment search flags. More... | |
| enum | EVectorCoding { eCoding_NotSet, eCoding_Ncbi, eCoding_Iupac } |
| CSeqVector constructor flags. More... | |
| enum | EVectorStrand { eStrand_Plus, eStrand_Minus } |
| enum | EFeatureFetchPolicy { eFeatureFetchPolicy_default = 0, eFeatureFetchPolicy_only_near = 1 } |
| Feature fetch policy describes when to look for features on sequence segments. More... | |
Public Member Functions | |
| CBioseq_Handle (void) | |
| void | Reset (void) |
| Reset handle and make it not to point to any bioseq. | |
| CScope & | GetScope (void) const |
| Get scope this handle belongs to. | |
| CConstRef< CSeq_id > | GetSeqId (void) const |
| Get id which can be used to access this bioseq handle Throws an exception if none is available. | |
| CConstRef< CSeq_id > | GetInitialSeqIdOrNull (void) const |
| Get id used to obtain this bioseq handle. | |
| const CBioObjectId & | GetBioObjectId (void) const |
| Get unique object id. | |
| const CSeq_id_Handle & | GetSeq_id_Handle (void) const |
| Get handle of id used to obtain this bioseq handle. | |
| CSeq_id_Handle | GetAccessSeq_id_Handle (void) const |
| Get any CSeq_id_Handle handle that can be used to access this bioseq Use GetSeq_id_Handle() if it's non-null. | |
| TBioseqStateFlags | GetState (void) const |
| Get state of the bioseq. | |
| bool | State_SuppressedTemp (void) const |
| bool | State_SuppressedPerm (void) const |
| bool | State_Suppressed (void) const |
| bool | State_Confidential (void) const |
| bool | State_Dead (void) const |
| bool | State_Withdrawn (void) const |
| bool | State_NoData (void) const |
| bool | State_Conflict (void) const |
| bool | State_NotFound (void) const |
| bool | IsSynonym (const CSeq_id &id) const |
| Check if this id can be used to obtain this bioseq handle. | |
| bool | IsSynonym (const CSeq_id_Handle &idh) const |
| CConstRef< CSynonymsSet > | GetSynonyms (void) const |
| Get the bioseq's synonyms. | |
| CSeq_entry_Handle | GetParentEntry (void) const |
| Get parent Seq-entry handle. | |
| CBioseq_set_Handle | GetParentBioseq_set (void) const |
| Return a handle for the parent Bioseq-set, or null handle. | |
| CSeq_entry_Handle | GetSeq_entry_Handle (void) const |
| Get parent Seq-entry handle. | |
| CSeq_entry_Handle | GetTopLevelEntry (void) const |
| Get top level Seq-entry handle. | |
| CBioseq_EditHandle | GetEditHandle (void) const |
| Get 'edit' version of handle. | |
| TBioseqCore | GetBioseqCore (void) const |
| Get bioseq core structure. | |
| CConstRef< CBioseq > | GetCompleteBioseq (void) const |
| Get the complete bioseq. | |
| CConstRef< TObject > | GetCompleteObject (void) const |
| CConstRef< TObject > | GetObjectCore (void) const |
| bool | IsSetId (void) const |
| bool | CanGetId (void) const |
| const TId & | GetId (void) const |
| bool | IsSetDescr (void) const |
| bool | CanGetDescr (void) const |
| const TDescr & | GetDescr (void) const |
| bool | IsSetInst (void) const |
| bool | CanGetInst (void) const |
| const TInst & | GetInst (void) const |
| bool | IsSetInst_Repr (void) const |
| bool | CanGetInst_Repr (void) const |
| TInst_Repr | GetInst_Repr (void) const |
| bool | IsSetInst_Mol (void) const |
| bool | CanGetInst_Mol (void) const |
| TInst_Mol | GetInst_Mol (void) const |
| bool | IsSetInst_Length (void) const |
| bool | CanGetInst_Length (void) const |
| TInst_Length | GetInst_Length (void) const |
| TSeqPos | GetBioseqLength (void) const |
| bool | IsSetInst_Fuzz (void) const |
| bool | CanGetInst_Fuzz (void) const |
| const TInst_Fuzz & | GetInst_Fuzz (void) const |
| bool | IsSetInst_Topology (void) const |
| bool | CanGetInst_Topology (void) const |
| TInst_Topology | GetInst_Topology (void) const |
| bool | IsSetInst_Strand (void) const |
| bool | CanGetInst_Strand (void) const |
| TInst_Strand | GetInst_Strand (void) const |
| bool | IsSetInst_Seq_data (void) const |
| bool | CanGetInst_Seq_data (void) const |
| const TInst_Seq_data & | GetInst_Seq_data (void) const |
| bool | IsSetInst_Ext (void) const |
| bool | CanGetInst_Ext (void) const |
| const TInst_Ext & | GetInst_Ext (void) const |
| bool | IsSetInst_Hist (void) const |
| bool | CanGetInst_Hist (void) const |
| const TInst_Hist & | GetInst_Hist (void) const |
| bool | HasAnnots (void) const |
| TMol | GetSequenceType (void) const |
| bool | IsProtein (void) const |
| bool | IsNucleotide (void) const |
| CSeq_entry_Handle | GetComplexityLevel (CBioseq_set::EClass cls) const |
| Go up to a certain complexity level (or the nearest level of the same priority if the required class is not found): level class 0 not-set (0) , 3 nuc-prot (1) , -- nuc acid and coded proteins 2 segset (2) , -- segmented sequence + parts 2 conset (3) , -- constructed sequence + parts 1 parts (4) , -- parts for 2 or 3 1 gibb (5) , -- geninfo backbone 1 gi (6) , -- geninfo 5 genbank (7) , -- converted genbank 3 pir (8) , -- converted pir 4 pub-set (9) , -- all the seqs from a single publication 4 equiv (10) , -- a set of equivalent maps or seqs 3 swissprot (11) , -- converted SWISSPROT 3 pdb-entry (12) , -- a complete PDB entry 4 mut-set (13) , -- set of mutations 4 pop-set (14) , -- population study 4 phy-set (15) , -- phylogenetic study 4 eco-set (16) , -- ecological sample study 4 gen-prod-set (17) , -- genomic products, chrom+mRNa+protein 4 wgs-set (18) , -- whole genome shotgun project 0 other (255). | |
| CSeq_entry_Handle | GetExactComplexityLevel (CBioseq_set::EClass cls) const |
| Return level with exact complexity, or empty handle if not found. | |
| TMol | GetBioseqMolType (void) const |
| Get some values from core:. | |
| bool | IsNa (void) const |
| bool | IsAa (void) const |
| const CSeqMap & | GetSeqMap (void) const |
| Get sequence map. | |
| bool | ContainsSegment (const CSeq_id &id, size_t resolve_depth=kMax_Int, EFindSegment limit_flag=eFindSegment_NoLimit) const |
| Check if the seq-id describes a segment of the bioseq. | |
| bool | ContainsSegment (CSeq_id_Handle id, size_t resolve_depth=kMax_Int, EFindSegment limit_flag=eFindSegment_NoLimit) const |
| bool | ContainsSegment (const CBioseq_Handle &part, size_t resolve_depth=kMax_Int, EFindSegment limit_flag=eFindSegment_NoLimit) const |
| CSeqVector | GetSeqVector (EVectorCoding coding, ENa_strand strand=eNa_strand_plus) const |
| Get sequence: Iupacna or Iupacaa if use_iupac_coding is true. | |
| CSeqVector | GetSeqVector (ENa_strand strand=eNa_strand_plus) const |
| Get sequence. | |
| CSeqVector | GetSeqVector (EVectorCoding coding, EVectorStrand strand) const |
| Get sequence: Iupacna or Iupacaa if use_iupac_coding is true. | |
| CSeqVector | GetSeqVector (EVectorStrand strand) const |
| Get sequence. | |
| CRef< CSeq_loc > | GetRangeSeq_loc (TSeqPos start, TSeqPos stop, ENa_strand strand=eNa_strand_unknown) const |
| Return CSeq_loc referencing the given range and strand on the bioseq If start == 0, stop == 0, and strand == eNa_strand_unknown, CSeq_loc will be of type 'whole'. | |
| CRef< CSeq_loc > | MapLocation (const CSeq_loc &loc) const |
| Map a seq-loc from the bioseq's segment to the bioseq. | |
| bool | operator== (const CBioseq_Handle &h) const |
| Check if handles point to the same bioseq. | |
| bool | operator!= (const CBioseq_Handle &h) const |
| bool | operator< (const CBioseq_Handle &h) const |
| For usage in containers. | |
| DECLARE_OPERATOR_BOOL (m_Info.IsValid()) | |
| Check if handle points to a bioseq and is not removed. | |
| bool | IsRemoved (void) const |
| Check if handle points to a removed bioseq. | |
| const CTSE_Handle & | GetTSE_Handle (void) const |
| Get CTSE_Handle of containing TSE. | |
| CBioseq_EditHandle | CopyTo (const CSeq_entry_EditHandle &entry, int index=-1) const |
| CBioseq_EditHandle | CopyTo (const CBioseq_set_EditHandle &seqset, int index=-1) const |
| Copy current bioseq into seqset. | |
| CBioseq_EditHandle | CopyToSeq (const CSeq_entry_EditHandle &entry) const |
| Copy current bioseq into seq-entry and set seq-entry as bioseq. | |
| bool | AddUsedBioseq (const CBioseq_Handle &bh) const |
| Register argument bioseq as used by this bioseq, so it will be released by scope only after this bioseq is released. | |
| EFeatureFetchPolicy | GetFeatureFetchPolicy (void) const |
| const CBioseq_Info & | x_GetInfo (void) const |
Protected Types | |
| typedef CBioseq_ScopeInfo | TScopeInfo |
| typedef CScopeInfo_Ref< TScopeInfo > | TLock |
Protected Member Functions | |
| CBioseq_Handle (const CSeq_id_Handle &id, const TScopeInfo &info) | |
| CBioseq_Handle (const CSeq_id_Handle &id, const TLock &lock) | |
| CScope_Impl & | x_GetScopeImpl (void) const |
| const CBioseq_ScopeInfo & | x_GetScopeInfo (void) const |
Protected Attributes | |
| CSeq_id_Handle | m_Handle_Seq_id |
| TLock | m_Info |
Friends | |
| class | CScope_Impl |
| class | CSynonymsSet |
| class | CSeq_entry_EditHandle |
|
|
Bioseq core -- using partially populated CBioseq.
Definition at line 178 of file bioseq_handle.hpp. |
|
|
Definition at line 134 of file bioseq_handle.hpp. |
|
|
Definition at line 199 of file bioseq_handle.hpp. |
|
|
Definition at line 194 of file bioseq_handle.hpp. |
|
|
Definition at line 204 of file bioseq_handle.hpp. |
|
|
Definition at line 245 of file bioseq_handle.hpp. |
|
|
Definition at line 225 of file bioseq_handle.hpp. |
|
|
Definition at line 250 of file bioseq_handle.hpp. |
|
|
Definition at line 219 of file bioseq_handle.hpp. |
|
|
Definition at line 214 of file bioseq_handle.hpp. |
|
|
Definition at line 209 of file bioseq_handle.hpp. |
|
|
Definition at line 240 of file bioseq_handle.hpp. |
|
|
Definition at line 235 of file bioseq_handle.hpp. |
|
|
Definition at line 230 of file bioseq_handle.hpp. |
|
|
Definition at line 457 of file bioseq_handle.hpp. |
|
|
Definition at line 258 of file bioseq_handle.hpp. |
|
|
Unified interface for templates.
Definition at line 187 of file bioseq_handle.hpp. |
|
|
Definition at line 456 of file bioseq_handle.hpp. |
|
|
State of bioseq handle.
Definition at line 120 of file bioseq_handle.hpp. |
|
|
Feature fetch policy describes when to look for features on sequence segments.
Definition at line 445 of file bioseq_handle.hpp. |
|
|
Segment search flags.
Definition at line 303 of file bioseq_handle.hpp. |
|
|
CSeqVector constructor flags.
Definition at line 332 of file bioseq_handle.hpp. |
|
|
Definition at line 337 of file bioseq_handle.hpp. |
|
||||||||||||
|
Definition at line 72 of file bioseq_handle.cpp. |
|
||||||||||||
|
Definition at line 80 of file bioseq_handle.cpp. |
|
|
Register argument bioseq as used by this bioseq, so it will be released by scope only after this bioseq is released.
Definition at line 1003 of file bioseq_handle.cpp. References CTSE_Handle::AddUsedTSE(), and GetTSE_Handle(). |
|
|
Definition at line 180 of file bioseq_handle.cpp. References CBioseq_Base_Info::CanGetDescr(), and x_GetInfo(). Referenced by CCleanup_imp::x_MergeDuplicatePubs(). |
|
|
Definition at line 162 of file bioseq_handle.cpp. References CBioseq_Info::CanGetId(), and x_GetInfo(). Referenced by CCleanup_imp::x_ExtendSingleGeneOnmRNA(). |
|
|
Definition at line 198 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst(), and x_GetInfo(). Referenced by CAutoDef::GetOneDefLine(). |
|
|
Definition at line 354 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst_Ext(), and x_GetInfo(). Referenced by s_AddPartToSegmentedBioseq(). |
|
|
Definition at line 281 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst_Fuzz(), and x_GetInfo(). |
|
|
Definition at line 372 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst_Hist(), and x_GetInfo(). |
|
|
Definition at line 252 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst_Length(), and x_GetInfo(). |
|
|
Definition at line 234 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst_Mol(), and x_GetInfo(). Referenced by CSeqTextDataSource::IsmRNASequence(), and CSGSegmentsSeqIDJob::x_Execute(). |
|
|
Definition at line 216 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst_Repr(), and x_GetInfo(). Referenced by CCleanup_imp::x_ChangeCitSub(). |
|
|
Definition at line 335 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst_Seq_data(), and x_GetInfo(). |
|
|
Definition at line 317 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst_Strand(), and x_GetInfo(). |
|
|
Definition at line 299 of file bioseq_handle.cpp. References CBioseq_Info::CanGetInst_Topology(), and x_GetInfo(). |
|
||||||||||||||||
|
Definition at line 428 of file bioseq_handle.cpp. References CSeqMap::BeginResolved(), eFindSegment_LimitTSE, CSeqMap::fFindRef, CSeqMap_CI::GetRefSeqid(), GetScope(), GetSeqMap(), GetSynonyms(), GetTopLevelEntry(), SSeqMapSelector::SetFlags(), SSeqMapSelector::SetLimitTSE(), and SSeqMapSelector::SetResolveCount(). |
|
||||||||||||||||
|
||||||||||||||||
|
Check if the seq-id describes a segment of the bioseq.
Definition at line 418 of file bioseq_handle.cpp. References CSeq_id_Handle::GetHandle(). |
|
||||||||||||
|
Copy current bioseq into seqset.
Definition at line 633 of file bioseq_handle.cpp. References CBioseq_set_EditHandle::CopyBioseq(). |
|
||||||||||||
|
Definition at line 625 of file bioseq_handle.cpp. References CSeq_entry_EditHandle::CopyBioseq(). |
|
|
Copy current bioseq into seq-entry and set seq-entry as bioseq.
Definition at line 641 of file bioseq_handle.cpp. References CSeq_entry_EditHandle::CopySeq(). |
|
|
Check if handle points to a bioseq and is not removed.
|
|
|
Get any CSeq_id_Handle handle that can be used to access this bioseq Use GetSeq_id_Handle() if it's non-null.
Definition at line 927 of file bioseq_handle.cpp. References _ASSERT, CScope::GetBioseqHandleFromTSE(), GetId(), GetScope(), GetSeq_id_Handle(), GetTSE_Handle(), id, and ITERATE. Referenced by GetRangeSeq_loc(), GetSeqId(), and CAnnot_Collector::x_Initialize(). |
|
|
Get unique object id.
Definition at line 130 of file bioseq_handle.cpp. References CTSE_Info_Object::GetBioObjectId(), and x_GetInfo(). Referenced by CEditsSaver::Detach(). |
|
|
|
|
Get some values from core:.
Definition at line 394 of file bioseq_handle.cpp. References GetSequenceType(). Referenced by GetProteinWeights(). |
|
|
|
Go up to a certain complexity level (or the nearest level of the same priority if the required class is not found): level class 0 not-set (0) , 3 nuc-prot (1) , -- nuc acid and coded proteins 2 segset (2) , -- segmented sequence + parts 2 conset (3) , -- constructed sequence + parts 1 parts (4) , -- parts for 2 or 3 1 gibb (5) , -- geninfo backbone 1 gi (6) , -- geninfo 5 genbank (7) , -- converted genbank 3 pir (8) , -- converted pir 4 pub-set (9) , -- all the seqs from a single publication 4 equiv (10) , -- a set of equivalent maps or seqs 3 swissprot (11) , -- converted SWISSPROT 3 pdb-entry (12) , -- a complete PDB entry 4 mut-set (13) , -- set of mutations 4 pop-set (14) , -- population study 4 phy-set (15) , -- phylogenetic study 4 eco-set (16) , -- ecological sample study 4 gen-prod-set (17) , -- genomic products, chrom+mRNa+protein 4 wgs-set (18) , -- whole genome shotgun project 0 other (255).
Definition at line 575 of file bioseq_handle.cpp. References _ASSERT, CBioseq_set_Base::eClass_other, CSeq_entry_Handle::GetParentEntry(), GetParentEntry(), CSeq_entry_Handle::GetSet(), CSeq_entry_Handle::IsSeq(), CSeq_entry_Handle::IsSet(), and CBioseq_set_Handle::sx_GetComplexityTable(). Referenced by GetExactComplexityLevel(). |
|
|
Definition at line 186 of file bioseq_handle.cpp. References CBioseq_Base_Info::GetDescr(), and x_GetInfo(). |
|
|
|
Return level with exact complexity, or empty handle if not found.
Definition at line 605 of file bioseq_handle.cpp. References GetComplexityLevel(), CSeq_entry_Handle::GetSet(), CSeq_entry_Handle::IsSet(), and CSeq_entry_Handle::Reset(). Referenced by CValidError_bioseq::CdError(), GetParentForPart(), s_GetParent(), s_HasSegments(), CBioseqContext::x_HasParts(), CBioseqContext::x_IsInGPS(), CBioseqContext::x_IsInNucProt(), and CPromote::x_PromoteRna(). |
|
|
Definition at line 1163 of file bioseq_handle.cpp. References x_GetInfo(). Referenced by CAnnot_Collector::x_Initialize(). |
|
|
|
Get id used to obtain this bioseq handle.
Definition at line 120 of file bioseq_handle.cpp. References GetSeq_id_Handle(), and CSeq_id_Handle::GetSeqIdOrNull(). |
|
|
|
Definition at line 360 of file bioseq_handle.cpp. References CBioseq_Info::GetInst_Ext(), and x_GetInfo(). Referenced by CMasterContext::CMasterContext(), GetDeltaSeqSummary(), CMasterContext::GetPartNumber(), s_AddPartToSegmentedBioseq(), CBioseqContext::x_IsDeltaLitOnly(), and CMasterContext::x_SetNumParts(). |
|
|
Definition at line 287 of file bioseq_handle.cpp. References CBioseq_Info::GetInst_Fuzz(), and x_GetInfo(). |
|
|
Definition at line 378 of file bioseq_handle.cpp. References CBioseq_Info::GetInst_Hist(), and x_GetInfo(). Referenced by GetAllSwitchPoints(), and CPrimaryItem::x_GetStrForPrimary(). |
|
|
|
|
Definition at line 222 of file bioseq_handle.cpp. References CBioseq_Info::GetInst_Repr(), and x_GetInfo(). Referenced by GetDeltaSeqSummary(), IsDeltaOrFarSeg(), s_AddPartToSegmentedBioseq(), s_IsSegmented(), s_SeqMapForHandle(), CValidError_bioseq::ValidateSeqFeatContext(), CCleanup_imp::x_ChangeCitSub(), CFlatGatherer::x_DoMultipleSections(), and CBioseqContext::x_GetRepr(). |
|
|
Definition at line 342 of file bioseq_handle.cpp. References CBioseq_Info::GetInst_Seq_data(), and x_GetInfo(). |
|
|
Definition at line 323 of file bioseq_handle.cpp. References CBioseq_Info::GetInst_Strand(), and x_GetInfo(). Referenced by CLocusItem::x_SetStrand(). |
|
|
Definition at line 305 of file bioseq_handle.cpp. References CBioseq_Info::GetInst_Topology(), and x_GetInfo(). Referenced by CSeqSearch::Search(), CValidError_imp::ValidateSeqLoc(), CLocusItem::x_SetTopology(), and CValidError_bioseq::x_ValidateTitle(). |
|
|
Return a handle for the parent Bioseq-set, or null handle.
Definition at line 559 of file bioseq_handle.cpp. References CBioseq_Base_Info::GetParentSeq_entry_Info(), GetTSE_Handle(), CTSE_Info_Object::HasParent_Info(), and x_GetInfo(). Referenced by CSeq_descr_CI::x_Step(). |
|
|
Get parent Seq-entry handle.
Reimplemented in CBioseq_EditHandle. Definition at line 542 of file bioseq_handle.cpp. References GetTSE_Handle(), and x_GetInfo(). Referenced by CRemoveBioseqChecker::Check(), CSeq_annot_CI::CSeq_annot_CI(), CAddBioseqChecker::Do(), CRemoveBioseqChecker::Do(), CFlatFileGenerator::Generate(), GetAssociatedBioSource(), GetComplexityLevel(), GetGenProdSetParent(), CAutoDef::GetMasterLocation(), CSeq_descr_CI::GetSeq_entry_Handle(), GetSeq_entry_Handle(), CFlatFileGenerator::GetSeqFeatText(), CAutoDef::IsSegment(), MakeFullLengthLocation(), CSampleEditSaver::UpdateSeq(), CCleanup_imp::x_ExtendedCleanupMolInfoDescriptors(), CBioseqContext::x_IsPart(), CCleanup_imp::x_RemovePseudoProducts(), and CFlatFeatureRetrieveJob::x_Run(). |
|
||||||||||||||||
|
Return CSeq_loc referencing the given range and strand on the bioseq If start == 0, stop == 0, and strand == eNa_strand_unknown, CSeq_loc will be of type 'whole'.
Definition at line 976 of file bioseq_handle.cpp. References eNa_strand_unknown, GetAccessSeq_id_Handle(), GetBioseqLength(), CSeq_id_Handle::GetSeqId(), and id. Referenced by s_MakeNewMasterSeq(), and CAnalysisFileLoader::x_CreateSeqGraph(). |
|
|
Get parent Seq-entry handle.
Definition at line 553 of file bioseq_handle.cpp. References GetParentEntry(). Referenced by CCleanup_imp::RemoveEmptyFeaturesDescriptorsAndAnnots(), s_StandaloneProt(), CValidError_bioseq::ValidateBioseq(), CCleanup_imp::x_ConvertOrgFeatToSource(), CCleanupJob::x_CreateProjectItems(), CCleanup_imp::x_MergeAdjacentAnnots(), CCleanup_imp::x_MoveGeneQuals(), CCleanup_imp::x_RecurseForSeqAnnots(), CCleanup_imp::x_RemoveEmptyFeatureAnnots(), CValidError_bioseq::x_ValidateBarcode(), and CValidError_bioseq::x_ValidateMultiplePubs(). |
|
|
Get id which can be used to access this bioseq handle Throws an exception if none is available.
Definition at line 125 of file bioseq_handle.cpp. References GetAccessSeq_id_Handle(), and CSeq_id_Handle::GetSeqId(). Referenced by BOOST_AUTO_TEST_CASE(), CSeq_loc_Mapper::CSeq_loc_Mapper(), CFastaSeqHdrItem::GetAssosiatedObject(), s_AddPartToSegmentedBioseq(), s_CreateKmerCounts(), s_PercentBioseqMatch(), s_TitleFromProtein(), SeqLocToBioseq(), CPromote::x_AddProtFeature(), CGFFFormatter::x_GetGeneID(), CAsn2FlatApp::x_GetLocation(), CAsn2FastaApp::x_GetLocation(), CBioseqContext::x_SetLocation(), and CPromote::x_SetSeqFeatProduct(). |
|
|
Get sequence map.
Definition at line 412 of file bioseq_handle.cpp. References CBioseq_Info::GetSeqMap(), and x_GetInfo(). Referenced by ContainsSegment(), CSeqMap_CI::CSeqMap_CI(), GetAllSwitchPoints(), GetBioseqLength(), CBioseq_EditHandle::SetSeqMap(), CFastaOstream::WriteSequence(), CAnnot_Collector::x_Initialize(), and CMasterContext::x_SetBaseName(). |
|
|
Get sequence.
Definition at line 506 of file bioseq_handle.cpp. References eCoding_Ncbi, eNa_strand_minus, eNa_strand_plus, and eStrand_Minus. |
|
||||||||||||
|
Get sequence: Iupacna or Iupacaa if use_iupac_coding is true.
Definition at line 497 of file bioseq_handle.cpp. References eNa_strand_minus, eNa_strand_plus, and eStrand_Minus. |
|
|
Get sequence.
Definition at line 491 of file bioseq_handle.cpp. References eCoding_Ncbi. |
|
||||||||||||
|
|
Get state of the bioseq. May be used with an empty bioseq handle to check why the bioseq retrieval failed. Definition at line 95 of file bioseq_handle.cpp. References CBioseq_ScopeInfo::GetBlobState(), m_Info, and x_GetScopeInfo(). Referenced by State_Confidential(), State_Conflict(), State_Dead(), State_NoData(), State_NotFound(), State_Suppressed(), State_SuppressedPerm(), State_SuppressedTemp(), State_Withdrawn(), and CBuildDatabase::x_AddOneRemoteSequence(). |
|
|
Get the bioseq's synonyms.
Definition at line 514 of file bioseq_handle.cpp. References GetScope(), and CScope::GetSynonyms(). Referenced by ContainsSegment(), CSeq_loc_Mapper::CSeq_loc_Mapper(), and IsSynonym(). |
|
|
Get top level Seq-entry handle.
Definition at line 536 of file bioseq_handle.cpp. References GetTSE_Handle(). Referenced by ContainsSegment(), Convert_Seq_id_Bioseq_set(), Convert_Seq_id_Seq_entry(), GetSeqEntryHandle(), IsDeltaOrFarSeg(), CSplitCacheApp::ProcessBlob(), CConversionApp::Read(), CSampleLdsApplication::Run(), CFlatGatherer::x_CollectSourceFeatures(), CDBSourceItem::x_GatherInfo(), and CDeflineGenerator::x_TitleFromNR(). |
|
|
Definition at line 384 of file bioseq_handle.cpp. References CBioseq_Base_Info::HasAnnots(), and x_GetInfo(). |
|
|
Definition at line 406 of file bioseq_handle.cpp. References IsProtein(). Referenced by SeqLocToBioseq(), CValidError_imp::ValidateBioSourceForSeq(), CValidError_feat::ValidateImpGbquals(), and CValidError_bioseq::ValidateModifDescriptors(). |
|
|
Definition at line 400 of file bioseq_handle.cpp. References IsNucleotide(). Referenced by s_SeqAlignSetToXMLHsps(), CValidError_feat::ValidateImpGbquals(), CValidError_feat::ValidateNonImpFeat(), and CAlnVecRow::x_GetDescrTooltip(). |
|
|
|
Definition at line 156 of file bioseq_handle.cpp. References CBioseq_Info::IsSetId(), and x_GetInfo(). Referenced by CResetIds_EditCommand::Do(), and CCleanup_imp::x_FixPIDDbtag(). |
|
|
Definition at line 192 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst(), and x_GetInfo(). Referenced by GetDeltaSeqSummary(), MemetoFunctions< CBioseq_EditHandle, CSeq_inst >::IsSet(), s_IsSegmented(), s_NsAreGaps(), x_FindLatestSequence(), CBioseqContext::x_Init(), CValidError_bioseq::x_IsRangeGap(), and CValidError_bioseq::x_ValidateAbuttingRNA(). |
|
|
Definition at line 348 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst_Ext(), and x_GetInfo(). Referenced by GetDeltaSeqSummary(), s_NsAreGaps(), CContigItem::x_GatherInfo(), and CBioseqContext::x_IsDeltaLitOnly(). |
|
|
Definition at line 275 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst_Fuzz(), and x_GetInfo(). |
|
|
Definition at line 366 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst_Hist(), and x_GetInfo(). Referenced by CFlatGatherer::x_HistoryComments(). |
|
|
Definition at line 246 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst_Length(), and x_GetInfo(). Referenced by GetBioseqLength(), and CValidError_bioseq::ValidateSeqFeatContext(). |
|
|
Definition at line 228 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst_Mol(), and x_GetInfo(). Referenced by CLocusItem::x_SetStrand(). |
|
|
Definition at line 210 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst_Repr(), and x_GetInfo(). Referenced by GetDeltaSeqSummary(), IsDeltaOrFarSeg(), s_IsSegmented(), CFlatGatherer::x_DoMultipleSections(), and CBioseqContext::x_GetRepr(). |
|
|
Definition at line 329 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst_Seq_data(), and x_GetInfo(). Referenced by CFastaOstream::WriteSequence(). |
|
|
Definition at line 311 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst_Strand(), and x_GetInfo(). Referenced by CLocusItem::x_SetStrand(). |
|
|
Definition at line 293 of file bioseq_handle.cpp. References CBioseq_Info::IsSetInst_Topology(), and x_GetInfo(). |
|
|
Definition at line 529 of file bioseq_handle.cpp. References GetSynonyms(). |
|
|
Check if this id can be used to obtain this bioseq handle.
Definition at line 523 of file bioseq_handle.cpp. References CSeq_id_Handle::GetHandle(). Referenced by CFlatSeqLoc::x_AddID(). |
|
|
Map a seq-loc from the bioseq's segment to the bioseq.
Definition at line 617 of file bioseq_handle.cpp. References CSeq_loc_Mapper::eSeqMap_Up, and CSeq_loc_Mapper_Base::Map(). |
|
|
Reset handle and make it not to point to any bioseq.
Definition at line 88 of file bioseq_handle.cpp. References m_Handle_Seq_id, m_Info, CSeq_id_Handle::Reset(), and CScopeInfo_Ref< Info >::Reset(). Referenced by CSelectFeatureDlg::OnButtonLoadFile(), CBioseq_CI::x_Settle(), and CSeq_descr_CI::x_Step(). |
|
|
|
Reimplemented in CBioseq_EditHandle. Definition at line 108 of file bioseq_handle.cpp. References m_Info. Referenced by GetState(), CScope_Impl::GetSynonyms(), CScope_Impl::GetTSESetWithAnnots(), and CBioseq_EditHandle::x_GetScopeInfo(). |
|
|
Reimplemented in CBioseq_EditHandle. Definition at line 452 of file bioseq_handle.hpp. |
|
|
Definition at line 454 of file bioseq_handle.hpp. Referenced by CBioseq_EditHandle::GetParentEntry(). |
|
|
Definition at line 453 of file bioseq_handle.hpp. |
|
|
Definition at line 465 of file bioseq_handle.hpp. Referenced by CScope_Impl::GetBioseqHandle(), GetSeq_id_Handle(), Reset(), and CScope_Impl::x_UpdateHandleSeq_id(). |
|
|
Definition at line 466 of file bioseq_handle.hpp. Referenced by CScope_Impl::GetBioseqHandle(), GetState(), GetTSE_Handle(), IsRemoved(), operator!=(), operator<(), operator==(), Reset(), CScope_Impl::x_GetBioseqHandle(), x_GetInfo(), x_GetScopeInfo(), and CScope_Impl::x_SelectSeq(). |
1.4.6
Modified on Wed Dec 09 08:18:53 2009 by modify_doxy.py rev. 173732