NCBI C++ ToolKit
|
Friends | |
class | SAnnotSelector::CAnnot_Collector |
class | CMappedGraph::CGraph_CI |
class | CMappedGraph::CAnnot_CI |
class | CMappedGraph::CAnnot_Collector |
class | CMappedFeat::CFeat_CI |
class | CMappedFeat::CAnnot_CI |
class | CMappedFeat::CAnnot_Collector |
class | CSeq_descr_CI::CSeqdesc_CI |
class | CSeq_entry_CI::CBioseq_set_Handle |
class | CSeq_entry_I::CBioseq_set_Handle |
class | CSeqMap_CI_SegmentInfo::CSeqMap_CI |
class | CSeqMap_CI_SegmentInfo::CSeqMap |
class | SSeqMapSelector::CSeqMap |
class | SSeqMapSelector::CSeqMap_CI |
class | CSeqMap_CI::CSeqMap |
class | CSeqMap_CI::CSeqMap_I |
class | CSeqVector_CI::CSeqVector |
Definition at line 61 of file seq_vector_ci.hpp.
typedef EFlags CSeq_entry_CI::ERecursionMode |
backward compatibility synonym
Definition at line 87 of file seq_entry_ci.hpp.
typedef std::random_access_iterator_tag CSeqVectorTypes::iterator_category |
Definition at line 62 of file seq_vector_ci.hpp.
typedef const TResidue* CSeqVectorTypes::pointer |
Definition at line 63 of file seq_vector_ci.hpp.
typedef const TResidue& CSeqVectorTypes::reference |
Definition at line 64 of file seq_vector_ci.hpp.
typedef TSeqPos CSeqVectorTypes::size_type |
Definition at line 60 of file seq_vector_ci.hpp.
Definition at line 349 of file annot_selector.hpp.
typedef vector<SAnnotTypeSelector> SAnnotSelector::TAdaptiveTriggers |
Definition at line 333 of file annot_selector.hpp.
|
private |
Definition at line 127 of file seq_annot_ci.hpp.
|
private |
Definition at line 126 of file seq_annot_ci.hpp.
typedef vector<CAnnotName> SAnnotSelector::TAnnotsNames |
Object manager recognizes several fields of Seq-annot as annot name.
The fields are: 1. Seq-annot.id.other.accession with optional version. 2. Seq-annot.desc.name This annot name applies to all contained annotations, and it's possible to filter annotations by their name. By default, or after ResetAnnotsNames() is called, no filter is set. You can set add annot names to the filter, so only annotations with added names are visilble. Otherwise, or you can exclude annot names, so that matching annot names are excluded from search. Relevant methods are: ResetAnnotsNames() ResetUnnamedAnnots() ResetNamedAnnots() AddUnnamedAnnots() AddNamedAnnots() ExcludeUnnamedAnnots() ExcludeNamedAnnots() SetAllNamedAnnots()
Definition at line 609 of file annot_selector.hpp.
|
protected |
Definition at line 841 of file annot_selector.hpp.
typedef Uint8 SAnnotSelector::TBitFilter |
Set bit filter for annotations that support it (SNP) If filter is set then collect only annotations that have masked (filter_mask) bits equal to the filter_bits.
Definition at line 790 of file annot_selector.hpp.
|
private |
Definition at line 274 of file seq_vector_ci.hpp.
|
private |
Definition at line 273 of file seq_vector_ci.hpp.
Definition at line 58 of file seq_vector_ci.hpp.
typedef vector<CSeqdesc::E_Choice> CSeqdesc_CI::TDescChoices |
Definition at line 67 of file seqdesc_ci.hpp.
|
private |
Definition at line 126 of file seqdesc_ci.hpp.
|
private |
Definition at line 127 of file seqdesc_ci.hpp.
|
private |
Definition at line 124 of file seqdesc_ci.hpp.
|
private |
Definition at line 136 of file bioseq_ci.hpp.
|
private |
Definition at line 128 of file seq_annot_ci.hpp.
typedef CObject_id CFeat_CI::TFeatureId |
Search features with specified id.
Definition at line 142 of file feat_ci.hpp.
typedef int CFeat_CI::TFeatureIdInt |
Definition at line 143 of file feat_ci.hpp.
typedef string CFeat_CI::TFeatureIdStr |
Definition at line 144 of file feat_ci.hpp.
typedef int CSeq_entry_CI::TFlags |
bitwise OR of "EFlags"
Definition at line 82 of file seq_entry_ci.hpp.
Definition at line 114 of file seq_map_ci.hpp.
Definition at line 254 of file seq_map_ci.hpp.
Definition at line 197 of file graph_ci.hpp.
|
private |
Definition at line 138 of file annot_ci.hpp.
typedef unsigned SAnnotSelector::TMaxSearchSegments |
Definition at line 462 of file annot_selector.hpp.
typedef float SAnnotSelector::TMaxSearchTime |
Definition at line 492 of file annot_selector.hpp.
typedef size_t SAnnotSelector::TMaxSize |
Definition at line 448 of file annot_selector.hpp.
typedef map<string, int> SAnnotSelector::TNamedAnnotAccessions |
Definition at line 610 of file annot_selector.hpp.
Definition at line 196 of file graph_ci.hpp.
typedef CRange<TSeqPos> SSeqMapSelector::TRange |
Definition at line 134 of file seq_map_ci.hpp.
typedef unsigned char CSeqVectorTypes::TResidue |
Definition at line 57 of file seq_vector_ci.hpp.
|
private |
Definition at line 337 of file seq_map_ci.hpp.
|
private |
Definition at line 199 of file feat_ci.hpp.
|
private |
Definition at line 137 of file annot_ci.hpp.
Definition at line 828 of file annot_selector.hpp.
|
private |
Definition at line 384 of file seq_map_ci.hpp.
|
protected |
Definition at line 842 of file annot_selector.hpp.
typedef TResidue CSeqVectorTypes::value_type |
Definition at line 59 of file seq_vector_ci.hpp.
Enumerator | |
---|---|
kAdaptive_None | |
fAdaptive_Default | |
kAdaptive_Default | |
fAdaptive_ByTriggers | |
fAdaptive_BySubtypes | |
fAdaptive_ByPolicy | |
fAdaptive_BySeqClass | |
fAdaptive_ByNamedAcc | |
kAdaptive_All | |
kAdaptive_DefaultBits |
Definition at line 334 of file annot_selector.hpp.
Class of bioseqs to iterate.
Enumerator | |
---|---|
eLevel_All | Any bioseq. |
eLevel_Mains | Main bioseq only. |
eLevel_Parts | Parts only. |
eLevel_IgnoreClass | Search for bioseqs in any bioseq-set regardless of types and classes. |
Definition at line 72 of file bioseq_ci.hpp.
Enumerator | |
---|---|
eCaseConversion_none | |
eCaseConversion_upper | |
eCaseConversion_lower |
Definition at line 66 of file seq_vector_ci.hpp.
Enumerator | |
---|---|
eSearch_entry | |
eSearch_recursive |
Definition at line 75 of file seq_annot_ci.hpp.
Flags that affect iteration.
Flags that are irrelevant are ignored. For example, passing fIncludeGivenEntry into the constructor that takes a CBioseq_set_Handle is ignored because there is no "given entry" because only a CBioseq_set_Handle has been given.
Enumerator | |
---|---|
fRecursive | Iterate recursively. |
fIncludeGivenEntry | Include the top (given) entry. |
eNonRecursive | Deprecated.
|
eRecursive | Deprecated.
|
Definition at line 74 of file seq_entry_ci.hpp.
|
protected |
Enumerator | |
---|---|
eLimit_None | |
eLimit_TSE_Info | |
eLimit_Seq_entry_Info | |
eLimit_Seq_annot_Info |
Definition at line 851 of file annot_selector.hpp.
Enumerator | |
---|---|
eMaxSearchSegmentsThrow | |
eMaxSearchSegmentsLog | |
eMaxSearchSegmentsSilent |
Definition at line 477 of file annot_selector.hpp.
Flag to indicate location overlapping method.
Enumerator | |
---|---|
eOverlap_Intervals | default - overlapping of individual intervals |
eOverlap_TotalRange | overlapping of total ranges only |
Definition at line 92 of file annot_selector.hpp.
Flag to indicate references resolution method.
Enumerator | |
---|---|
eResolve_None | Do not search annotations on segments. |
eResolve_TSE | default - search only on segments in the same TSE |
eResolve_All | Search annotations for all referenced sequences. |
Definition at line 97 of file annot_selector.hpp.
Flag to indicate sorting method.
Enumerator | |
---|---|
eSortOrder_None | do not sort annotations for faster retrieval |
eSortOrder_Normal | default - increasing start, decreasing length |
eSortOrder_Reverse | decresing end, decreasing length |
Definition at line 103 of file annot_selector.hpp.
Flag to indicate handling of unresolved seq-ids.
Enumerator | |
---|---|
eIgnoreUnresolved | Ignore unresolved ids (default) |
eSearchUnresolved | Search annotations for unresolvable IDs. |
eFailUnresolved | Throw exception for unresolved ids. |
Definition at line 109 of file annot_selector.hpp.
SAnnotSelector & SAnnotSelector::AddNamedAnnots | ( | const CAnnotName & | name | ) |
Add named annot to set of annots names to look for.
Definition at line 476 of file annot_selector.cpp.
References SAnnotSelector::HasWildcardInAnnotsNames(), SAnnotSelector::m_ExcludeAnnotsNames, SAnnotSelector::m_HasWildcardInAnnotsNames, and SAnnotSelector::m_IncludeAnnotsNames.
Referenced by SAnnotSelector::AddNamedAnnots(), SAnnotSelector::AddUnnamedAnnots(), CGraphUtils::CalcGraphLevels(), CGBObjectLoader::Execute(), NSearchFeatPanel::GatherFeatures(), CSeqUtils::GetAnnotSelector(), NSnpBins::GetBinSelector(), CDataLoader::GetCDDAnnots(), NSnpAnnot::GetFeat_CI(), NSnpAnnot::GetGraph_CI(), CNAUtils::GetNATrackInfo(), NSnp::IsSnpKnown(), CDemoApp::Run(), CTestBMApp::Run(), s_GetAnnotSelector(), s_GetRnaMappingLocs(), SAnnotSelector::SetDataSource(), CSnpJob::x_FetchFtable(), CBinsJob::x_FetchGraphs(), CSnpJob::x_FetchGraphs(), CMacroBioData::x_GetAnnotSelector(), CGuiObjectInfoSeq_feat::x_GetProductSequence(), CLDBlockJob::x_Load(), CSGAnnotJob::x_LoadCoverageGraph(), CFeatureGenerator::x_SetAnnotName(), and CFeatureGraph::x_StartJob().
SAnnotSelector & SAnnotSelector::AddNamedAnnots | ( | const char * | name | ) |
Definition at line 487 of file annot_selector.cpp.
References SAnnotSelector::AddNamedAnnots().
SAnnotSelector & SAnnotSelector::AddUnnamedAnnots | ( | void | ) |
Add unnamed annots to set of annots names to look for.
Definition at line 493 of file annot_selector.cpp.
References SAnnotSelector::AddNamedAnnots().
Referenced by NSearchFeatPanel::GatherFeatures(), CSGAlignmentJob::GetAlignType(), CSeqUtils::GetAnnotSelector(), NSnpAnnot::GetFeat_CI(), CDemoApp::Run(), SAnnotSelector::SetDataSource(), CSnpJob::x_FetchFtable(), CSnpJob::x_FetchGraphs(), CSGAlnQualityScore::x_RetrieveQualityMap(), and CFeatureGenerator::x_SetAnnotName().
void SSeqMapSelector::AddUsedTSE | ( | const CTSE_Handle & | tse | ) | const |
Definition at line 94 of file seq_map_ci.cpp.
References SSeqMapSelector::m_UsedTSEs.
Referenced by CSeqMap::CanResolveRange(), and CSeqMap_CI::x_Push().
Definition at line 983 of file annot_selector.cpp.
References CSeq_annot::AddZoomLevel(), CException::GetMsg(), and NCBI_THROW_FMT.
Definition at line 179 of file align_ci.hpp.
Definition at line 171 of file feat_ci.hpp.
Definition at line 337 of file graph_ci.hpp.
|
inline |
Definition at line 151 of file seq_table_ci.hpp.
Definition at line 208 of file align_ci.hpp.
Definition at line 224 of file align_ci.hpp.
|
explicit |
Create an iterator that enumerates CSeq_align objects related to the given bioseq.
Definition at line 47 of file align_ci.cpp.
CAlign_CI::CAlign_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_align objects related to the given bioseq.
Definition at line 78 of file align_ci.cpp.
CAlign_CI::CAlign_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
ENa_strand | strand, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_align objects related to the given bioseq.
Definition at line 90 of file align_ci.cpp.
CAlign_CI::CAlign_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
ENa_strand | strand = eNa_strand_unknown |
||
) |
Create an iterator that enumerates CSeq_align objects related to the given bioseq.
Definition at line 56 of file align_ci.cpp.
CAlign_CI::CAlign_CI | ( | const CBioseq_Handle & | bioseq, |
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_align objects related to the given bioseq.
Definition at line 67 of file align_ci.cpp.
|
explicit |
Create an iterator that enumerates CSeq_align objects from the annotation regardless of their location.
Definition at line 118 of file align_ci.cpp.
CAlign_CI::CAlign_CI | ( | const CSeq_annot_Handle & | annot, |
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_align objects from the annotation regardless of their location based on selection.
Definition at line 124 of file align_ci.cpp.
|
explicit |
Create an iterator that enumerates CSeq_align objects from the seq-entry regardless of their location.
Definition at line 151 of file align_ci.cpp.
CAlign_CI::CAlign_CI | ( | const CSeq_entry_Handle & | entry, |
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_align objects from the seq-entry regardless of their location based on selection.
Definition at line 157 of file align_ci.cpp.
CAlign_CI::CAlign_CI | ( | const CSeq_loc & | loc, |
const CSeq_annot_Handle & | annot | ||
) |
Iterate all alignments from the seq-annot that annotate the location.
Definition at line 131 of file align_ci.cpp.
CAlign_CI::CAlign_CI | ( | const CSeq_loc & | loc, |
const CSeq_annot_Handle & | annot, | ||
const SAnnotSelector & | sel | ||
) |
Iterate all alignments from the seq-annot that annotate the location.
Definition at line 140 of file align_ci.cpp.
Create an iterator that enumerates CSeq_align objects related to the given seq-loc.
Definition at line 103 of file align_ci.cpp.
CAlign_CI::CAlign_CI | ( | CScope & | scope, |
const CSeq_loc & | loc, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_align objects related to the given seq-loc.
Definition at line 110 of file align_ci.cpp.
|
inline |
Create an empty iterator.
Definition at line 218 of file align_ci.hpp.
Check if the sequence can be obtained for the interval [start, stop)
Definition at line 206 of file seq_vector_ci.cpp.
References CSeqMap::CanResolveRange(), CSeqMap::fDefaultFlags, CHeapScope::GetScopeOrNull(), kMax_UInt, CSeqVector_CI::m_ScannedEnd, CSeqVector_CI::m_ScannedStart, CSeqVector_CI::m_Scope, CSeqVector_CI::m_SeqMap, CSeqVector_CI::m_Strand, CSeqVector_CI::m_TSE, CSeqVector_CI::m_UsedTSEs, max(), min(), SSeqMapSelector::SetLinkUsedTSE(), SSeqMapSelector::SetRange(), and SSeqMapSelector::SetStrand().
Referenced by CSeqVector::CanGetRange(), CSeqVector_CI::GetSeqData(), CSeqVector_CI::x_CheckBackward(), and CSeqVector_CI::x_CheckForward().
Copy constructor.
Definition at line 49 of file annot_ci.cpp.
|
explicit |
Create an iterator that enumerates all CSeq_annot objects collected by another iterator CFeat_CI, CGraph_CI, or CAlign_CI.
Definition at line 123 of file annot_ci.cpp.
References CAnnot_CI::x_Initialize().
|
explicit |
Create an iterator that enumerates CSeq_annot objects related to the given bioseq.
Definition at line 81 of file annot_ci.cpp.
References CSeq_annot_Base::C_Data::e_not_set, eNa_strand_unknown, SAnnotSelector::eSortOrder_None, and CAnnot_CI::x_Initialize().
CAnnot_CI::CAnnot_CI | ( | const CBioseq_Handle & | bioseq, |
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_annot objects related to the given bioseq.
Definition at line 95 of file annot_ci.cpp.
References CSeq_annot_Base::C_Data::e_not_set, eNa_strand_unknown, SAnnotSelector::eSortOrder_None, and CAnnot_CI::x_Initialize().
CAnnot_CI::CAnnot_CI | ( | const CSeq_entry_Handle & | entry, |
const SAnnotSelector & | sel | ||
) |
Iterate all Seq-annot objects from the seq-entry regardless of their location, using SAnnotSelector for filtering.
Definition at line 110 of file annot_ci.cpp.
References CSeq_annot_Base::C_Data::e_not_set, SAnnotSelector::eSortOrder_None, and CAnnot_CI::x_Initialize().
Create an iterator that enumerates CSeq_annot objects related to the given seq-loc based on selection.
Definition at line 56 of file annot_ci.cpp.
References CSeq_annot_Base::C_Data::e_not_set, SAnnotSelector::eSortOrder_None, and CAnnot_CI::x_Initialize().
CAnnot_CI::CAnnot_CI | ( | CScope & | scope, |
const CSeq_loc & | loc, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_annot objects related to the given seq-loc based on selection.
Definition at line 68 of file annot_ci.cpp.
References CSeq_annot_Base::C_Data::e_not_set, SAnnotSelector::eSortOrder_None, and CAnnot_CI::x_Initialize().
CAnnot_CI::CAnnot_CI | ( | void | ) |
Create an empty iterator.
Definition at line 44 of file annot_ci.cpp.
|
inline |
Definition at line 201 of file seq_map_ci.hpp.
References SSeqMapSelector::GetResolveCount().
Referenced by CSeqMap_CI::Next(), SSeqMapSelector::PopResolve(), SSeqMapSelector::PushResolve(), CSeqMap_CI::x_CanResolve(), CSeqMap_CI::x_Next(), and CSeqMap_CI::x_Push().
CBioseq_CI::CBioseq_CI | ( | const CBioseq_CI & | bioseq_ci | ) |
Definition at line 223 of file bioseq_ci.cpp.
|
explicit |
Definition at line 246 of file bioseq_ci.cpp.
References CBioseq_set_Handle::GetParentEntry(), and CBioseq_CI::x_Initialize().
|
explicit |
Create an iterator that enumerates bioseqs from the entry taken from the scope.
Use optional filter to iterate over selected bioseq types only. Filter value eMol_na may be used to include both dna and rna bioseqs.
Definition at line 234 of file bioseq_ci.cpp.
References CBioseq_CI::x_Initialize().
CBioseq_CI::CBioseq_CI | ( | CScope & | scope, |
const CSeq_entry & | entry, | ||
CSeq_inst::EMol | filter = CSeq_inst::eMol_not_set , |
||
EBioseqLevelFlag | level = eLevel_All |
||
) |
Create an iterator that enumerates bioseqs from the entry taken from the given scope.
Use optional filter to iterate over selected bioseq types only. Filter value eMol_na may be used to include both dna and rna bioseqs.
Definition at line 258 of file bioseq_ci.cpp.
References CScope::GetSeq_entryHandle(), and CBioseq_CI::x_Initialize().
CBioseq_CI::CBioseq_CI | ( | void | ) |
Definition at line 215 of file bioseq_ci.cpp.
|
explicit |
Search features on the whole bioseq.
Definition at line 84 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
const SAnnotSelector & | sel | ||
) |
Search features on part of the bioseq.
Definition at line 118 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
ENa_strand | strand, | ||
const SAnnotSelector & | sel | ||
) |
Search features on part of the bioseq.
Definition at line 131 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
ENa_strand | strand = eNa_strand_unknown |
||
) |
Search features on part of the bioseq.
Definition at line 106 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | const CBioseq_Handle & | bioseq, |
const SAnnotSelector & | sel | ||
) |
Search features on the whole bioseq.
Definition at line 94 of file feat_ci.cpp.
References CFeat_CI::Update().
Definition at line 191 of file feat_ci.hpp.
Definition at line 62 of file feat_ci.cpp.
References CFeat_CI::Update().
|
explicit |
Iterate all features from the seq-annot regardless of their location.
Definition at line 167 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | const CSeq_annot_Handle & | annot, |
const SAnnotSelector & | sel | ||
) |
Iterate all features from the seq-annot regardless of their location.
Definition at line 175 of file feat_ci.cpp.
References CFeat_CI::Update().
|
explicit |
Iterate all features from the seq-entry regardless of their location.
Definition at line 207 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | const CSeq_entry_Handle & | entry, |
const SAnnotSelector & | sel | ||
) |
Iterate all features from the seq-entry regardless of their location.
Definition at line 215 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | const CSeq_loc & | loc, |
const CSeq_annot_Handle & | annot | ||
) |
Iterate all features from the seq-annot that annotate the location.
Definition at line 185 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | const CSeq_loc & | loc, |
const CSeq_annot_Handle & | annot, | ||
const SAnnotSelector & | sel | ||
) |
Iterate all features from the seq-annot that annotate the location.
Definition at line 195 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | const CTSE_Handle & | tse, |
const SAnnotSelector & | sel, | ||
const TFeatureId & | id | ||
) |
Definition at line 225 of file feat_ci.cpp.
References CFeat_CI::x_AddFeaturesWithId().
CFeat_CI::CFeat_CI | ( | const CTSE_Handle & | tse, |
const SAnnotSelector & | sel, | ||
const TFeatureIdInt & | int_id | ||
) |
Definition at line 234 of file feat_ci.cpp.
References CObject_id_Base::SetId(), and CFeat_CI::x_AddFeaturesWithId().
CFeat_CI::CFeat_CI | ( | const CTSE_Handle & | tse, |
const SAnnotSelector & | sel, | ||
const TFeatureIdStr & | str_id | ||
) |
Definition at line 245 of file feat_ci.cpp.
References CObject_id_Base::SetStr(), and CFeat_CI::x_AddFeaturesWithId().
Search features related to the location.
Definition at line 145 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | CScope & | scope, |
const CSeq_loc & | loc, | ||
const SAnnotSelector & | sel | ||
) |
Search features related to the location.
Definition at line 155 of file feat_ci.cpp.
References CFeat_CI::Update().
CFeat_CI::CFeat_CI | ( | void | ) |
Definition at line 57 of file feat_ci.cpp.
Referenced by CFeat_CI::end().
|
explicit |
Create an iterator that enumerates CSeq_graph objects related to the given bioseq.
Definition at line 235 of file graph_ci.cpp.
References CGraph_CI::x_Update().
CGraph_CI::CGraph_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_graph objects related to the given bioseq.
Definition at line 269 of file graph_ci.cpp.
References CGraph_CI::x_Update().
CGraph_CI::CGraph_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
ENa_strand | strand, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_graph objects related to the given bioseq.
Definition at line 282 of file graph_ci.cpp.
References CGraph_CI::x_Update().
CGraph_CI::CGraph_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
ENa_strand | strand = eNa_strand_unknown |
||
) |
Create an iterator that enumerates CSeq_graph objects related to the given bioseq.
Definition at line 245 of file graph_ci.cpp.
References CGraph_CI::x_Update().
CGraph_CI::CGraph_CI | ( | const CBioseq_Handle & | bioseq, |
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_graph objects related to the given bioseq.
Definition at line 257 of file graph_ci.cpp.
References CGraph_CI::x_Update().
Definition at line 358 of file graph_ci.hpp.
Definition at line 374 of file graph_ci.hpp.
References CGraph_CI::x_Update().
|
explicit |
Iterate all graphs from the seq-annot regardless of their location.
Definition at line 296 of file graph_ci.cpp.
References CGraph_CI::x_Update().
CGraph_CI::CGraph_CI | ( | const CSeq_annot_Handle & | annot, |
const SAnnotSelector & | sel | ||
) |
Iterate all graphs from the seq-annot regardless of their location.
Definition at line 303 of file graph_ci.cpp.
References CGraph_CI::x_Update().
|
explicit |
Iterate all graphs from the seq-entry regardless of their location.
Definition at line 333 of file graph_ci.cpp.
References CGraph_CI::x_Update().
CGraph_CI::CGraph_CI | ( | const CSeq_entry_Handle & | entry, |
const SAnnotSelector & | sel | ||
) |
Iterate all graphs from the seq-entry regardless of their location.
Definition at line 340 of file graph_ci.cpp.
References CGraph_CI::x_Update().
CGraph_CI::CGraph_CI | ( | const CSeq_loc & | loc, |
const CSeq_annot_Handle & | annot | ||
) |
Iterate all graphs from the seq-annot that annotate the location.
Definition at line 311 of file graph_ci.cpp.
References CGraph_CI::x_Update().
CGraph_CI::CGraph_CI | ( | const CSeq_loc & | loc, |
const CSeq_annot_Handle & | annot, | ||
const SAnnotSelector & | sel | ||
) |
Iterate all graphs from the seq-annot that annotate the location.
Definition at line 321 of file graph_ci.cpp.
References CGraph_CI::x_Update().
Create an iterator that enumerates CSeq_graph objects related to the given seq-loc.
Definition at line 220 of file graph_ci.cpp.
References CGraph_CI::x_Update().
CGraph_CI::CGraph_CI | ( | CScope & | scope, |
const CSeq_loc & | loc, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_graph objects related to the given seq-loc.
Definition at line 227 of file graph_ci.cpp.
References CGraph_CI::x_Update().
|
inline |
Create an empty iterator.
Definition at line 368 of file graph_ci.hpp.
Referenced by CGraph_CI::end().
|
inline |
Check annot type (ignore subtypes).
Definition at line 166 of file annot_selector.hpp.
References SAnnotTypeSelector::GetAnnotType(), and type.
Referenced by CAnnotTypes_CI::CAnnotTypes_CI().
|
protected |
Definition at line 932 of file annot_selector.cpp.
References SAnnotSelector::eLimit_None, SAnnotSelector::m_LimitObject, and SAnnotSelector::m_LimitObjectType.
Referenced by CAnnot_Collector::x_Initialize0().
CMappedFeat::CMappedFeat | ( | const CMappedFeat & | feat | ) |
Definition at line 54 of file mapped_feat.cpp.
CMappedFeat::CMappedFeat | ( | const CSeq_feat_Handle & | feat | ) |
Definition at line 47 of file mapped_feat.cpp.
References CMappedFeat::m_MappingInfoObj, and CMappedFeat::m_MappingInfoPtr.
CMappedFeat::CMappedFeat | ( | void | ) |
Definition at line 41 of file mapped_feat.cpp.
References CMappedFeat::m_MappingInfoObj, and CMappedFeat::m_MappingInfoPtr.
|
inline |
empty CMappedGraph
Definition at line 64 of file graph_ci.hpp.
Combine accession string and zoom level into a string with separator.
If the argument string already contains zoom level verify it's the same as the zoom_level argument. Zoom level value of -1 can be used to add wildcard @*.
Definition at line 972 of file annot_selector.cpp.
References CSeq_annot::CombineWithZoomLevel(), CException::GetMsg(), and NCBI_THROW_FMT.
Referenced by CGraphUtils::CalcGraphLevels(), NSnpAnnot::GetGraph_CI(), CGBDataLoader_Native::GetNamedAnnotAccessions(), CSnpJob::x_FetchGraphs(), CID2SNPProcessor_Impl::x_LoadBlob(), CSGAnnotJob::x_LoadCoverageGraph(), CID2SNPProcessor_Impl::x_ProcessReplyGetBlobId(), and CId2ReaderBase::x_UpdateLoadedSet().
|
explicit |
Create an iterator that enumerates CSeq_aannot objects related to the given bioseq up to the TSE.
Definition at line 91 of file seq_annot_ci.cpp.
References CSeq_annot_CI::eSearch_entry, CBioseq_Handle::GetParentEntry(), and CSeq_annot_CI::x_Initialize().
|
explicit |
Create an iterator that enumerates CSeq_annot objects related to the given seq-set.
Definition at line 98 of file seq_annot_ci.cpp.
References flags, CBioseq_set_Handle::GetParentEntry(), and CSeq_annot_CI::x_Initialize().
CSeq_annot_CI::CSeq_annot_CI | ( | const CSeq_annot_CI & | iter | ) |
Definition at line 56 of file seq_annot_ci.cpp.
|
explicit |
Create an iterator that enumerates CSeq_annot objects related to the given seq-entry.
Definition at line 84 of file seq_annot_ci.cpp.
References flags, and CSeq_annot_CI::x_Initialize().
CSeq_annot_CI::CSeq_annot_CI | ( | CScope & | scope, |
const CSeq_entry & | entry, | ||
EFlags | flags = eSearch_recursive |
||
) |
Create an iterator that enumerates CSeq_annot objects related to the given seq-entry from different scope.
Definition at line 76 of file seq_annot_ci.cpp.
References flags, CScope::GetSeq_entryHandle(), and CSeq_annot_CI::x_Initialize().
CSeq_annot_CI::CSeq_annot_CI | ( | void | ) |
Create an empty iterator.
Definition at line 45 of file seq_annot_ci.cpp.
|
explicit |
Create an iterator that enumerates CSeq_descr objects from a bioseq with limit number of seq-entries to "search_depth" (0 = unlimited).
Definition at line 52 of file seq_descr_ci.cpp.
References CSeq_descr_CI::x_Settle().
|
explicit |
Create an iterator that enumerates CSeq_descr objects from a bioseq with limit number of seq-entries to "search_depth" (0 = unlimited).
Definition at line 62 of file seq_descr_ci.cpp.
References CSeq_descr_CI::x_Settle().
CSeq_descr_CI::CSeq_descr_CI | ( | const CSeq_descr_CI & | iter | ) |
Definition at line 89 of file seq_descr_ci.cpp.
References _ASSERT, CBioseq_Base_Info::IsSetDescr(), and CSeq_descr_CI::m_CurrentBase.
|
explicit |
Create an iterator that enumerates CSeq_descr objects from a seq-entry, limit number of seq-entries to "search_depth" (0 = unlimited).
Definition at line 72 of file seq_descr_ci.cpp.
References _ASSERT, CSeq_entry_Handle::GetSeq(), CSeq_entry_Handle::GetSet(), CSeq_entry_Handle::IsSeq(), CBioseq_Base_Info::IsSetDescr(), CSeq_descr_CI::m_CurrentBase, CSeq_descr_CI::m_CurrentSeq, CSeq_descr_CI::m_CurrentSet, CBioseq_Handle::x_GetInfo(), CBioseq_set_Handle::x_GetInfo(), and CSeq_descr_CI::x_Settle().
CSeq_descr_CI::CSeq_descr_CI | ( | void | ) |
Create an empty iterator.
Definition at line 46 of file seq_descr_ci.cpp.
|
explicit |
Create an iterator that enumerates Seq-entries inside the given Bioseq-set.
Definition at line 71 of file seq_entry_ci.cpp.
References CSeq_entry_CI::x_Initialize().
CSeq_entry_CI::CSeq_entry_CI | ( | const CSeq_entry_CI & | iter | ) |
Definition at line 81 of file seq_entry_ci.cpp.
|
explicit |
Create an iterator that enumerates Seq-entries inside the given Seq-entry.
Definition at line 52 of file seq_entry_ci.cpp.
|
inline |
Create an empty iterator.
Definition at line 223 of file seq_entry_ci.hpp.
Referenced by CSeq_entry_CI::operator=(), and CSeq_entry_CI::x_Next().
CSeq_entry_I::CSeq_entry_I | ( | const CBioseq_set_EditHandle & | set, |
TFlags | flags = 0 , |
||
CSeq_entry::E_Choice | type_filter = CSeq_entry::e_not_set |
||
) |
Create an iterator that enumerates seq-entries related to the given seq-set.
Definition at line 239 of file seq_entry_ci.cpp.
CSeq_entry_I::CSeq_entry_I | ( | const CSeq_entry_EditHandle & | entry, |
TFlags | flags = 0 , |
||
CSeq_entry::E_Choice | type_filter = CSeq_entry::e_not_set |
||
) |
Create an iterator that enumerates seq-entries related to the given seq-entry.
Definition at line 231 of file seq_entry_ci.cpp.
CSeq_entry_I::CSeq_entry_I | ( | const CSeq_entry_I & | iter | ) |
Definition at line 247 of file seq_entry_ci.cpp.
|
inline |
Create an empty iterator.
Definition at line 278 of file seq_entry_ci.hpp.
|
explicit |
Create an iterator that enumerates CSeq_table objects related to the given bioseq.
Definition at line 57 of file seq_table_ci.cpp.
CSeq_table_CI::CSeq_table_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_table objects related to the given bioseq.
Definition at line 88 of file seq_table_ci.cpp.
CSeq_table_CI::CSeq_table_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
ENa_strand | strand, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_table objects related to the given bioseq.
Definition at line 100 of file seq_table_ci.cpp.
CSeq_table_CI::CSeq_table_CI | ( | const CBioseq_Handle & | bioseq, |
const CRange< TSeqPos > & | range, | ||
ENa_strand | strand = eNa_strand_unknown |
||
) |
Create an iterator that enumerates CSeq_table objects related to the given bioseq.
Definition at line 66 of file seq_table_ci.cpp.
CSeq_table_CI::CSeq_table_CI | ( | const CBioseq_Handle & | bioseq, |
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_table objects related to the given bioseq.
Definition at line 77 of file seq_table_ci.cpp.
|
explicit |
Iterate all Seq-tables from the seq-annot regardless of their location.
Definition at line 113 of file seq_table_ci.cpp.
CSeq_table_CI::CSeq_table_CI | ( | const CSeq_annot_Handle & | annot, |
const SAnnotSelector & | sel | ||
) |
Iterate all Seq-tables from the seq-annot regardless of their location.
Definition at line 119 of file seq_table_ci.cpp.
|
explicit |
Iterate all Seq-tables from the seq-entry regardless of their location.
Definition at line 126 of file seq_table_ci.cpp.
CSeq_table_CI::CSeq_table_CI | ( | const CSeq_entry_Handle & | entry, |
const SAnnotSelector & | sel | ||
) |
Iterate all Seq-tables from the seq-entry regardless of their location.
Definition at line 132 of file seq_table_ci.cpp.
|
inlineprivate |
Definition at line 176 of file seq_table_ci.hpp.
|
inline |
Definition at line 192 of file seq_table_ci.hpp.
Create an iterator that enumerates CSeq_table objects related to the given seq-loc.
Definition at line 44 of file seq_table_ci.cpp.
CSeq_table_CI::CSeq_table_CI | ( | CScope & | scope, |
const CSeq_loc & | loc, | ||
const SAnnotSelector & | sel | ||
) |
Create an iterator that enumerates CSeq_table objects related to the given seq-loc.
Definition at line 50 of file seq_table_ci.cpp.
|
inline |
Create an empty iterator.
Definition at line 186 of file seq_table_ci.hpp.
CSeqdesc_CI::CSeqdesc_CI | ( | const CBioseq_Handle & | handle, |
const TDescChoices & | choices, | ||
size_t | search_depth = 0 |
||
) |
Create an iterator that enumerates CSeqdesc objects from a bioseq with limit number of seq-entries to "search_depth" (0 = unlimited) for set of types.
|
explicit |
Create an iterator that enumerates CSeqdesc objects from a bioseq with limit number of seq-entries to "search_depth" (0 = unlimited) for specific type.
Definition at line 121 of file seqdesc_ci.cpp.
References _ASSERT, CSeqdesc_CI::x_CheckRef(), CSeqdesc_CI::x_SetChoice(), CSeqdesc_CI::x_SetEntry(), and CSeqdesc_CI::x_Valid().
|
explicit |
Definition at line 110 of file seqdesc_ci.cpp.
References _ASSERT, CSeqdesc_CI::x_SetChoice(), CSeqdesc_CI::x_SetEntry(), and CSeqdesc_CI::x_Valid().
CSeqdesc_CI::CSeqdesc_CI | ( | const CSeq_entry_Handle & | entry, |
const TDescChoices & | choices, | ||
size_t | search_depth = 0 |
||
) |
Create an iterator that enumerates CSeqdesc objects from a seq-entry, limit number of seq-entries to "search_depth" (0 = unlimited) for set of types.
|
explicit |
Create an iterator that enumerates CSeqdesc objects from a seq-entry, limit number of seq-entries to "search_depth" (0 = unlimited) for specific type.
Definition at line 134 of file seqdesc_ci.cpp.
References _ASSERT, CSeqdesc_CI::x_SetChoice(), CSeqdesc_CI::x_SetEntry(), and CSeqdesc_CI::x_Valid().
CSeqdesc_CI::CSeqdesc_CI | ( | const CSeqdesc_CI & | iter | ) |
Definition at line 172 of file seqdesc_ci.cpp.
References _ASSERT, and CSeqdesc_CI::x_Valid().
CSeqdesc_CI::CSeqdesc_CI | ( | void | ) |
Definition at line 102 of file seqdesc_ci.cpp.
References _ASSERT, and CSeqdesc_CI::x_Valid().
CSeqMap_CI::CSeqMap_CI | ( | const CBioseq_Handle & | bioseq, |
const SSeqMapSelector & | selector, | ||
const CRange< TSeqPos > & | range | ||
) |
Definition at line 189 of file seq_map_ci.cpp.
References ConstRef(), CBioseq_Handle::GetSeqMap(), CBioseq_Handle::GetTSE_Handle(), compile_time_bits::range(), SSeqMapSelector::SetLinkUsedTSE(), and CSeqMap_CI::x_Select().
CSeqMap_CI::CSeqMap_CI | ( | const CBioseq_Handle & | bioseq, |
const SSeqMapSelector & | selector, | ||
TSeqPos | pos = 0 |
||
) |
Definition at line 175 of file seq_map_ci.cpp.
References ConstRef(), CBioseq_Handle::GetSeqMap(), CBioseq_Handle::GetTSE_Handle(), SSeqMapSelector::SetLinkUsedTSE(), and CSeqMap_CI::x_Select().
CSeqMap_CI::CSeqMap_CI | ( | const CConstRef< CSeqMap > & | seqmap, |
CScope * | scope, | ||
const SSeqMapSelector & | selector, | ||
const CRange< TSeqPos > & | range | ||
) |
Definition at line 162 of file seq_map_ci.cpp.
References compile_time_bits::range(), and CSeqMap_CI::x_Select().
CSeqMap_CI::CSeqMap_CI | ( | const CConstRef< CSeqMap > & | seqmap, |
CScope * | scope, | ||
const SSeqMapSelector & | selector, | ||
TSeqPos | pos = 0 |
||
) |
Definition at line 149 of file seq_map_ci.cpp.
References CSeqMap_CI::x_Select().
|
private |
Definition at line 203 of file seq_map_ci.cpp.
References info, kInvalidSeqPos, SSeqMapSelector::m_Length, CSeqMap::CSegment::m_Position, SSeqMapSelector::m_Position, CSeqMap_CI::m_Selector, NCBI_THROW, and CSeqMap_CI::x_GetSegmentInfo().
CSeqMap_CI::CSeqMap_CI | ( | void | ) |
Definition at line 140 of file seq_map_ci.cpp.
References kInvalidSeqPos, CSeqMap_CI::m_Selector, and SSeqMapSelector::SetPosition().
|
inline |
Definition at line 501 of file seq_map_ci.hpp.
CSeqMap_I::CSeqMap_I | ( | const CBioseq_EditHandle & | bioseq, |
const SSeqMapSelector & | selector, | ||
const CRange< TSeqPos > & | range | ||
) |
Definition at line 766 of file seq_map_ci.cpp.
CSeqMap_I::CSeqMap_I | ( | const CBioseq_EditHandle & | bioseq, |
const SSeqMapSelector & | selector, | ||
TSeqPos | pos = 0 |
||
) |
Definition at line 754 of file seq_map_ci.cpp.
CSeqMap_I::CSeqMap_I | ( | CRef< CSeqMap > & | seqmap, |
CScope * | scope, | ||
const SSeqMapSelector & | selector, | ||
const CRange< TSeqPos > & | range | ||
) |
Definition at line 791 of file seq_map_ci.cpp.
CSeqMap_I::CSeqMap_I | ( | CRef< CSeqMap > & | seqmap, |
CScope * | scope, | ||
const SSeqMapSelector & | selector, | ||
TSeqPos | pos = 0 |
||
) |
Definition at line 778 of file seq_map_ci.cpp.
CSeqMap_I::CSeqMap_I | ( | void | ) |
Definition at line 749 of file seq_map_ci.cpp.
CSeqVector_CI::CSeqVector_CI | ( | const CSeqVector & | seq_vector, |
ENa_strand | strand, | ||
TSeqPos | pos = 0 , |
||
ECaseConversion | case_cvt = eCaseConversion_none |
||
) |
Definition at line 153 of file seq_vector_ci.cpp.
References CSeqVector_CI::x_SetPos().
CSeqVector_CI::CSeqVector_CI | ( | const CSeqVector & | seq_vector, |
TSeqPos | pos, | ||
ECaseConversion | case_cvt | ||
) |
Definition at line 130 of file seq_vector_ci.cpp.
References CSeqVector_CI::x_SetPos().
|
explicit |
Definition at line 108 of file seq_vector_ci.cpp.
References CSeqVector_CI::x_SetPos().
CSeqVector_CI::CSeqVector_CI | ( | const CSeqVector_CI & | sv_it | ) |
Definition at line 89 of file seq_vector_ci.cpp.
CSeqVector_CI::CSeqVector_CI | ( | void | ) |
Definition at line 67 of file seq_vector_ci.cpp.
|
inline |
Definition at line 150 of file seq_vector_ci.hpp.
CGraph_CI::DECLARE_OPERATOR_BOOL | ( | IsValid() | ) |
CSeqMap_CI::DECLARE_OPERATOR_BOOL | ( | IsValid() | ) |
CSeq_table_CI::DECLARE_OPERATOR_BOOL | ( | IsValid() | ) |
CSeqVector_CI::DECLARE_OPERATOR_BOOL | ( | IsValid() | ) |
CSeq_annot_CI::DECLARE_OPERATOR_BOOL | ( | m_CurrentAnnot | ) |
Check if iterator points to an object.
CBioseq_CI::DECLARE_OPERATOR_BOOL | ( | m_CurrentBioseq | ) |
Check if iterator points to an object.
CSeq_descr_CI::DECLARE_OPERATOR_BOOL_REF | ( | m_CurrentBase | ) |
Check if iterator points to an object.
|
inline |
Check if iterator is empty.
Definition at line 187 of file annot_ci.hpp.
References set< Key, Compare >::empty(), and CAnnot_CI::m_SeqAnnotSet.
|
inline |
Definition at line 183 of file align_ci.hpp.
|
inline |
Definition at line 175 of file feat_ci.hpp.
References CAnnotTypes_CI::at_end, and CFeat_CI::CFeat_CI().
|
inline |
Definition at line 341 of file graph_ci.hpp.
References CAnnotTypes_CI::at_end, and CGraph_CI::CGraph_CI().
|
inline |
Definition at line 155 of file seq_table_ci.hpp.
SAnnotSelector & SAnnotSelector::ExcludeAnnotType | ( | TAnnotType | type | ) |
Exclude annotation type from the search.
Definition at line 765 of file annot_selector.cpp.
References CSeq_annot_Base::C_Data::e_not_set, SAnnotTypeSelector::GetAnnotType(), CAnnotType_Index::GetAnnotTypeRange(), i, SAnnotSelector::IncludedAnnotType(), SAnnotSelector::m_AnnotTypesBitset, compile_time_bits::range(), and SAnnotSelector::x_InitializeAnnotTypesSet().
Referenced by NSearchFeatPanel::GatherFeatures().
bool SAnnotSelector::ExcludedAnnotName | ( | const CAnnotName & | name | ) | const |
Definition at line 414 of file annot_selector.cpp.
References SAnnotSelector::IncludedAnnotName().
Referenced by CAnnot_Collector::x_SearchAll(), and CAnnot_Collector::x_SearchTSE2().
bool SAnnotSelector::ExcludedTSE | ( | const CSeq_entry_Handle & | tse | ) | const |
Definition at line 713 of file annot_selector.cpp.
References SAnnotSelector::ExcludedTSE(), and CSeq_entry_Handle::GetTSE_Handle().
bool SAnnotSelector::ExcludedTSE | ( | const CTSE_Handle & | tse | ) | const |
Definition at line 706 of file annot_selector.cpp.
References SAnnotSelector::m_ExcludedTSE.
Referenced by SAnnotSelector::ExcludedTSE(), and SAnnotSelector::ExcludeTSE().
SAnnotSelector & SAnnotSelector::ExcludeFeatSubtype | ( | TFeatSubtype | subtype | ) |
Exclude feature subtype from the search.
Definition at line 828 of file annot_selector.cpp.
References CSeq_annot_Base::C_Data::e_Ftable, CSeq_annot_Base::C_Data::e_not_set, SAnnotSelector::ForceAnnotType(), SAnnotTypeSelector::GetAnnotType(), CAnnotType_Index::GetSubtypeIndex(), SAnnotSelector::IncludedFeatSubtype(), SAnnotSelector::m_AnnotTypesBitset, and SAnnotSelector::x_InitializeAnnotTypesSet().
Referenced by CFeatTableEdit::GenerateLocusIds(), CFeatTableEdit::GenerateLocusTags(), CDemoApp::Run(), s_SetSelection(), CFeatureGenerator::SImplementation::x_CopyAdditionalFeatures(), CBioseqIndex::x_DefaultSelector(), CFeatTableEdit::xGenerateLocusIdsRegenerate(), and CFeatTableEdit::xGenerateLocusIdsUseExisting().
SAnnotSelector & SAnnotSelector::ExcludeFeatType | ( | TFeatType | type | ) |
Exclude feature type from the search.
Definition at line 798 of file annot_selector.cpp.
References CSeq_annot_Base::C_Data::e_Ftable, CSeq_annot_Base::C_Data::e_not_set, SAnnotSelector::ForceAnnotType(), SAnnotTypeSelector::GetAnnotType(), CAnnotType_Index::GetFeatTypeRange(), i, SAnnotSelector::IncludedFeatType(), SAnnotSelector::m_AnnotTypesBitset, compile_time_bits::range(), and SAnnotSelector::x_InitializeAnnotTypesSet().
Referenced by CDemoApp::Run(), s_SetSelection(), and CBioseqIndex::x_DefaultSelector().
SAnnotSelector & SAnnotSelector::ExcludeNamedAnnotAccession | ( | const string & | acc | ) |
Definition at line 571 of file annot_selector.cpp.
References SAnnotSelector::m_NamedAnnotAccessions.
Referenced by CBioseqIndex::x_DefaultSelector(), CAnnot_Collector::x_FoundAllNamedAnnotAccessions(), and CScope_Impl::x_UpdateProcessedNAs().
SAnnotSelector & SAnnotSelector::ExcludeNamedAnnots | ( | const CAnnotName & | name | ) |
Add named annot to set of annots names to exclude.
Definition at line 499 of file annot_selector.cpp.
References SAnnotSelector::HasWildcardInAnnotsNames(), SAnnotSelector::m_ExcludeAnnotsNames, SAnnotSelector::m_HasWildcardInAnnotsNames, and SAnnotSelector::m_IncludeAnnotsNames.
Referenced by CGraphTrackFactory::CreateTracks(), CSeqTableGraphTrackFactory::CreateTracks(), SAnnotSelector::ExcludeNamedAnnots(), SAnnotSelector::ExcludeUnnamedAnnots(), ExtractExtraIds(), CSeqUtils::GetAnnotSelector(), GetBestCdsForMrna(), GetBestMrnaForCds(), CSeqUtils::GetCdsMappingInfoFromRna(), CSeqUtils::GetMrnaForCds(), CAsn2FastaApp::HandleSeqEntry(), CId1FetchApp::LookUpGI(), CFeatCompareJob_Align::Run(), CDemoApp::Run(), CFeatTreeSampleApp::Run(), s_GetRnaMappingLocs(), s_SetSelection(), CBioseqIndex::x_DefaultSelector(), x_GetAnnotSelector(), and CFeatureGraph::x_StartJob().
SAnnotSelector & SAnnotSelector::ExcludeNamedAnnots | ( | const char * | name | ) |
Definition at line 510 of file annot_selector.cpp.
References SAnnotSelector::ExcludeNamedAnnots().
SAnnotSelector & SAnnotSelector::ExcludeTSE | ( | const CSeq_entry_Handle & | tse | ) |
Definition at line 692 of file annot_selector.cpp.
References SAnnotSelector::ExcludeTSE(), and CSeq_entry_Handle::GetTSE_Handle().
SAnnotSelector & SAnnotSelector::ExcludeTSE | ( | const CTSE_Handle & | tse | ) |
Definition at line 682 of file annot_selector.cpp.
References SAnnotSelector::ExcludedTSE(), and SAnnotSelector::m_ExcludedTSE.
Referenced by SAnnotSelector::ExcludeTSE(), CFlatGatherer::x_GatherFeatures(), and CFlatGatherer::x_GatherFeaturesIdx().
SAnnotSelector & SAnnotSelector::ExcludeUnnamedAnnots | ( | void | ) |
Add unnamed annots to set of annots names to exclude.
Definition at line 516 of file annot_selector.cpp.
References SAnnotSelector::ExcludeNamedAnnots().
Referenced by CGraphUtils::CalcGraphLevels(), CSeqUtils::GetAnnotSelector(), CSeqUtils::GetMrnaForCds(), NSnp::IsSnpKnown(), SAnnotSelector::SetAllNamedAnnots(), and CFeatureGenerator::x_SetAnnotName().
Extract optional zoom level suffix from named annotation string.
returns true if zoom level explicitly defined in the full_name argument. The accession string without zoom level will be written by acc_ptr pointer if it's not null. Zoom level will be written by zoom_level_ptr pointer if it's not null. Absent zoom level will be represented by value 0. Wildcard zoom level will be represented by value -1.
Definition at line 965 of file annot_selector.cpp.
References CSeq_annot::ExtractZoomLevel().
Referenced by CGraphUtils::CalcGraphLevels(), NSnpAnnot::GetGraph_CI(), CGBDataLoader_Native::GetNamedAnnotAccessions(), SAnnotSelector::HasIncludedOnlyNamedAnnotAccessions(), SAnnotSelector::IncludedAnnotName(), SAnnotSelector::IncludeNamedAnnotAccession(), CProcessor_AnnotInfo::LoadBlob(), s_CreateNAChunk(), CHistogramGlyph::SetAnnotName(), CSnpJob::x_FetchGraphs(), CAnnot_Collector::x_FoundAllNamedAnnotAccessions(), and CId2ReaderBase::x_UpdateLoadedSet().
|
inline |
Definition at line 799 of file seq_map_ci.hpp.
References CSeqMap_CI::m_FeaturePolicyWasApplied.
Referenced by CAnnot_Collector::x_SearchMapped().
SAnnotSelector & SAnnotSelector::ForceAnnotType | ( | TAnnotType | type | ) |
Set annot type, include all subtypes.
Definition at line 840 of file annot_selector.cpp.
References CSeq_annot_Base::C_Data::e_Ftable, CSeq_annot_Base::C_Data::e_not_set, CAnnotType_Index::GetAnnotTypeRange(), i, SAnnotSelector::m_AnnotTypesBitset, compile_time_bits::range(), and SAnnotSelector::SetAnnotType().
Referenced by CAnnotTypes_CI::CAnnotTypes_CI(), SAnnotSelector::ExcludeFeatSubtype(), SAnnotSelector::ExcludeFeatType(), SAnnotSelector::IncludeFeatSubtype(), and SAnnotSelector::IncludeFeatType().
|
inline |
Definition at line 165 of file graph_ci.hpp.
References CSeq_graph_Base::GetA(), and CMappedGraph::GetOriginalGraph().
Referenced by NSnpAnnot::EstimateSNPCount(), CSGAnnotJob::x_AddGraphToMap(), and CSnpJob::x_FetchGraphs().
|
inline |
GetAdaptiveDepth() returns current value of 'adaptive depth' flag.
Definition at line 354 of file annot_selector.hpp.
References SAnnotSelector::m_AdaptiveDepthFlags.
|
inline |
GetAdaptiveDepthFlags() returns current set of adaptive depth heuristics flags.
Definition at line 402 of file annot_selector.hpp.
References SAnnotSelector::m_AdaptiveDepthFlags.
Referenced by CDemoApp::Run(), CAnnot_Collector::x_CheckAdaptive(), CAnnot_Collector::x_CollectSegments(), CAnnot_Collector::x_Initialize(), CAnnot_Collector::x_Initialize0(), CAnnot_Collector::x_SearchSegments(), and CAnnot_Collector::x_SearchTSE2().
CSeq_annot_Handle CMappedGraph::GetAnnot | ( | void | ) | const |
Get containing annot handle.
Definition at line 99 of file graph_ci.cpp.
References CAnnotObject_Ref::GetSeq_annot_Handle(), and CMappedGraph::m_GraphRef.
Referenced by CGraphGlyph::CGraphGlyph(), CMappedGraph::GetSeq_graph_Handle(), CMappedGraph::operator<(), CMappedGraph::operator==(), CSGAnnotJob::x_AddGraphObject(), CSGAnnotJob::x_GetGraphName(), and CSGAnnotJob::x_PercentileButNotMax().
|
inline |
Definition at line 174 of file graph_ci.hpp.
References CSeq_graph_Base::GetB(), and CMappedGraph::GetOriginalGraph().
Referenced by NSnpAnnot::EstimateSNPCount(), CSGAnnotJob::x_AddGraphToMap(), and CSnpJob::x_FetchGraphs().
|
inline |
Get pointer to current position+size.
Throw exception if current pos + size is not in the buffer.
Definition at line 543 of file seq_vector_ci.hpp.
References CSeqVector_CI::m_Cache, CSeqVector_CI::m_CacheEnd, ncbi::grid::netcache::search::fields::size, and CSeqVector_CI::x_ThrowOutOfRange().
|
inline |
Get pointer to current char in the buffer.
Definition at line 536 of file seq_vector_ci.hpp.
References CSeqVector_CI::m_Cache.
Referenced by CFastaOstream::x_WriteSequence().
|
inline |
Get number of chars from current position to the current buffer end.
Definition at line 529 of file seq_vector_ci.hpp.
References CSeqVector_CI::m_Cache, and CSeqVector_CI::m_CacheEnd.
Referenced by GetProteinWeight(), s_CalcDistanceUntilNextSignificantGapOrEnd(), and CFastaOstream::x_WriteSequence().
|
inline |
Definition at line 310 of file seq_vector_ci.hpp.
References CSeqVector_CI::m_Coding.
Referenced by CSeqVector_CI::operator=().
Definition at line 121 of file graph_ci.hpp.
References CSeq_graph_Base::GetComment(), and CMappedGraph::GetOriginalGraph().
Referenced by CSGAnnotJob::x_PercentileButNotMax().
|
inline |
Definition at line 156 of file graph_ci.hpp.
References CSeq_graph_Base::GetComp(), and CMappedGraph::GetOriginalGraph().
Referenced by NSnpAnnot::EstimateSNPCount(), CSGAnnotJob::x_AddGraphToMap(), and CSnpJob::x_FetchGraphs().
|
inline |
Definition at line 479 of file seq_vector_ci.hpp.
References CSeqVector_CI::m_Seg.
Referenced by CSGSegmentSmearJob::x_LoadGaps(), CSequenceTrack::x_RenderGaps(), and CFastaOstream::x_WriteSequence().
will allow only regular data segments (whole, plus strand)
Definition at line 267 of file seq_map_ci.cpp.
References CSeqMap_CI::GetRefData(), CSeqMap_CI::GetRefMinusStrand(), CSeqMap_CI::GetRefPosition(), and NCBI_THROW.
Referenced by CDiscrepancyVisitorImpl< _Name >::Autofix(), GetGapType(), GetLinkage(), CSeqMap_I::GetSequence(), s_NewGapItem(), and WriteLinkageEvidence().
|
static |
Get default set of adaptive depth flags.
Definition at line 639 of file annot_selector.cpp.
References SAnnotSelector::fAdaptive_ByNamedAcc, SAnnotSelector::fAdaptive_Default, flags, SAnnotSelector::kAdaptive_DefaultBits, NCBI_PARAM_TYPE, and s_DefaultAdaptiveDepthFlags.
Referenced by SAnnotSelector::SetAdaptiveDepth(), and SAnnotSelector::SetAdaptiveDepthFlags().
int CSeq_entry_CI::GetDepth | ( | void | ) | const |
Returns the current depth, which may vary depending on flags.
If fIncludeGivenEntry is set, it returns the current depth relative to the initially given seq-entry (or initially given bioseq-set), where the given has depth "0", its direct children have depth "1", and so on. If fIncludeGivenEntry is NOT set, then the returned values are 1 less. That is, "0" for direct descendents of the given, "1" for the direct descendents of those, etc.
Definition at line 205 of file seq_entry_ci.cpp.
References _ASSERT, CSeq_entry_CI::fIncludeGivenEntry, CSeq_entry_CI::m_Flags, CSeq_entry_CI::m_Parent, and CSeq_entry_CI::m_SubIt.
|
inline |
return the depth of current segment
Definition at line 602 of file seq_map_ci.hpp.
References CSeqMap_CI::m_Stack.
Referenced by CSeq_loc_Mapper::x_InitializeSeqMapDown(), CSeq_loc_Mapper::x_InitializeSeqMapSingleLevel(), and CSeq_loc_Mapper::x_InitializeSeqMapUp().
|
inline |
return end position of current segment in sequence (exclusive)
Definition at line 679 of file seq_map_ci.hpp.
References SSeqMapSelector::m_Length, SSeqMapSelector::m_Position, and CSeqMap_CI::m_Selector.
Referenced by CGapAnalysis::AddBioseqGaps(), CValidError_bioseq::GapByGapInst(), CSeqVector_CI::GetGapSizeForward(), CAdvancedAlignCleanup::GetProsplignCompartments(), CResolveRequest::Process(), CDemoApp::Run(), CTestSingleAln_All::RunTest(), s_NewGapItem(), UpdateSeqLength(), CAnnot_Collector::x_CollectMapped(), CFlatGatherer::x_CollectSourceDescriptors(), CComponentSearchJob::x_DoSearch(), CSeqVector_CI::x_FillCache(), CBioseqGaps_CI::x_FindNextGapOnBioseq(), CFlatGatherer::x_GatherFeaturesOnRangeIdx(), CFlatGatherer::x_GatherFeaturesOnWholeLocation(), CSeqVector::x_GetPacked2naSeqData(), CSeqVector::x_GetPacked4naSeqData(), CSeqVector::x_GetPacked8SeqData(), CSeqVector_CI::x_IncSeg(), CSeqVector_CI::x_InitSeg(), CSeqMap_CI::x_Prev(), CSequenceTrack::x_RenderGaps(), CSplign::x_RunOnCompartment(), CAnnot_Collector::x_SearchMapped(), CSequenceAmbigTrimmer::x_SegmentGetEndInclusive(), CSeqVector_CI::x_SetPos(), CVectorTrimPanel::x_SetSeqData(), CSequenceAmbigTrimmer::x_SliceBioseq(), CSeqVector_CI::x_UpdateCacheDown(), CSeqVector_CI::x_UpdateCacheUp(), and CSeqVector_CI::x_UpdateSeg().
|
inline |
GetExactDepth() returns current value of 'exact depth' flag.
Definition at line 443 of file annot_selector.hpp.
References SAnnotSelector::m_ExactDepth.
Referenced by CAnnot_Collector::x_CollectSegments(), CAnnot_Collector::x_Initialize(), CAnnot_Collector::x_Initialize0(), CAnnot_Collector::x_SearchSegments(), and CAnnot_Collector::x_SearchTSE2().
|
inline |
Definition at line 648 of file annot_selector.hpp.
References SAnnotSelector::m_ExcludeAnnotsNames.
|
inline |
Definition at line 823 of file annot_selector.hpp.
References SAnnotSelector::m_ExcludeIfGeneIsSuppressed.
Referenced by CAnnot_Collector::x_SearchRange().
|
inline |
Definition at line 254 of file annot_selector.hpp.
References CRef< C, Locker >::GetNCPointerOrNull(), and SAnnotSelector::m_FeatComparator.
|
inline |
Return true if the features should be searched using their product rather than location.
Definition at line 185 of file annot_selector.hpp.
References SAnnotSelector::m_FeatProduct.
Referenced by CIdRangeMap::CIdRangeMap(), and CFeat_CI::x_AddFeaturesWithId().
|
inline |
Definition at line 811 of file annot_selector.hpp.
References SAnnotSelector::m_FilterBits.
Referenced by CSeqTableInfo::MatchBitFilter().
|
inline |
Definition at line 807 of file annot_selector.hpp.
References SAnnotSelector::m_FilterMask.
Referenced by CSeqTableInfo::MatchBitFilter().
|
inline |
Definition at line 785 of file seq_map_ci.hpp.
References SSeqMapSelector::m_Flags, and CSeqMap_CI::m_Selector.
Referenced by CSeqMap_CI::x_Found(), CSeqMap_CI::x_GetBioseq(), and CSeqMap_CI::x_Push().
|
inline |
returns character representation of gap in sequence
Definition at line 622 of file seq_vector_ci.hpp.
References CSeqVector_CI::m_CaseConversion, CSeqVector_CI::m_Coding, and CSeqVectorTypes::sx_GetGapChar().
Referenced by CSeqVector_CI::x_FillCache().
CConstRef< CSeq_literal > CSeqVector_CI::GetGapSeq_literal | ( | void | ) | const |
returns gap Seq-data object ref returns null if it's not a gap or an unspecified gap
Definition at line 340 of file seq_vector_ci.cpp.
References CSeqMap_CI::GetRefGapLiteral(), CSeqVector_CI::IsInGap(), and CSeqVector_CI::m_Seg.
Referenced by CSeqVector::GetGapSeq_literal(), and CSequenceTrack::GetTooltip().
TSeqPos CSeqVector_CI::GetGapSizeBackward | ( | void | ) | const |
returns number of gap symbols before current symbol returns 0 if current position is not in gap
Definition at line 362 of file seq_vector_ci.cpp.
References CSeqVector_CI::GetPos(), CSeqMap_CI::GetPosition(), CSeqVector_CI::IsInGap(), and CSeqVector_CI::m_Seg.
Referenced by CGenbankFormatter::FormatSequence(), s_CalcDistanceUntilNextSignificantGapOrEnd(), and CSeqVector_CI::SkipGapBackward().
TSeqPos CSeqVector_CI::GetGapSizeForward | ( | void | ) | const |
returns number of gap symbols ahead including current symbol returns 0 if current position is not in gap
Definition at line 351 of file seq_vector_ci.cpp.
References CSeqMap_CI::GetEndPosition(), CSeqVector_CI::GetPos(), CSeqVector_CI::IsInGap(), and CSeqVector_CI::m_Seg.
Referenced by CSeqVector::GetGapSizeForward(), CBlastBioseqMaker::HasSequence(), CSeqVector_CI::SkipGap(), and CFastaOstream::x_WriteSequence().
const CSeq_graph::C_Graph & CMappedGraph::GetGraph | ( | void | ) | const |
Definition at line 192 of file graph_ci.cpp.
References CSeq_graph_Base::GetGraph(), CAnnotObject_Ref::GetMappingInfo(), CMappedGraph::GetOriginalGraph(), CAnnotMapping_Info::IsPartial(), CMappedGraph::m_GraphRef, CMappedGraph::m_MappedGraph, and CMappedGraph::MakeMappedGraph().
Referenced by NSnpAnnot::EstimateSNPCount(), CSGAnnotJob::x_AddGraphObject(), CSnpJob::x_FetchGraphs(), CVectorTrimPanel::x_TrimSeqGraphData(), and CReportTrim::x_TrimSeqGraphData().
|
inline |
Definition at line 782 of file annot_selector.hpp.
References SAnnotSelector::m_IgnoreFarLocationsForSorting.
|
inline |
Definition at line 644 of file annot_selector.hpp.
References SAnnotSelector::m_IncludeAnnotsNames.
Referenced by CAnnot_Collector::x_SearchTSE2().
|
inline |
return length of current segment
Definition at line 672 of file seq_map_ci.hpp.
References SSeqMapSelector::m_Length, and CSeqMap_CI::m_Selector.
Referenced by CGapAnalysis::AddBioseqGaps(), CAlignmentAssistant::AdjustBioseq(), CDiscrepancyVisitorImpl< _Name >::Autofix(), CSeqMap::CanResolveRange(), CGapCache::CGapCache(), CSeqMapSwitchPoint::ChangeSwitchPoint(), CFeatGapInfo::CollectGaps(), CEditSequence::CreateControls(), CSeqMap_CI::GetRefEndPosition(), CDemoApp::Run(), s_NewGapItem(), CSeq_loc_Conversion::SetConversion(), CEditSeqEndsWithAlign::TrimBeforeAfter(), UpdateSeqLength(), CGapAnalysis::x_AddGapsFromBases(), CSeq_loc_Mapper::x_InitializeSeqMapSingleLevel(), CSeq_loc_Mapper::x_InitializeSeqMapUp(), CSeqMap_CI::x_Push(), CVectorTrimPanel::x_SetSeqData(), CSequenceAmbigTrimmer::x_SliceBioseq(), and CSeqVector_CI::x_UpdateSeg().
Definition at line 126 of file graph_ci.hpp.
References CMappedGraph::m_MappedLoc, and CMappedGraph::MakeMappedLoc().
Referenced by NSnpAnnot::EstimateSNPCount(), CMappedGraph::MakeMappedGraph(), CMappedGraph::MakeMappedLoc(), CDemoApp::Run(), CReportTrim::TrimSeqGraphs(), CSGAnnotJob::x_AddGraphToMap(), CSnpJob::x_FetchGraphs(), and CVectorTrimPanel::x_TrimSeqGraphs().
Reimplemented from CSeq_feat_Handle.
Definition at line 183 of file mapped_feat.cpp.
References CSeq_feat_Base::GetLocation(), CMappedFeat::GetMappedLocation(), CSeq_feat_Handle::GetOriginalSeq_feat(), CAnnotMapping_Info::IsMappedLocation(), and CMappedFeat::m_MappingInfoPtr.
Referenced by CFeatTree::AddFeaturesFor(), CReportTrim::AdjustAndTranslate(), CEditSequence::AdjustFeatureLocations(), AdjustSingleFeature(), CRemoveFeaturesDlg::ApplyToCSeq_entry(), BOOST_AUTO_TEST_CASE(), BuildFeatureSeqTableFromSeqEntry(), CheckAdjustStart(), CheckAdjustStartAndStop(), CheckAdjustStop(), variation::CVariationUtil::CheckExonBoundary(), CLDBlockGlyph::CLDBlockGlyph(), CAnnotCompare::CompareFeats(), CWriteUtil::CompareFeatures(), CFeatureGenerator::CreateMicroIntrons(), CSourceFeatureItem::CSourceFeatureItem(), CAnnotationASN1::ExtractModels(), variation::CVariationUtil::FindLocationProperties(), CValidError_bioseq::GapByGapInst(), CScore_StartStopCodon::Get(), CScore_CdsScore::Get(), GetAlignmentForRna(), CGeneFinder::GetAssociatedGeneInfo(), CGenbankIdResolve::GetBestId(), GetBestOverlappingFeat(), CFeatureGenerator::SImplementation::GetCds(), CInternalStopFinder::GetCDSNucleotideSequence(), GetCdsOnMrna(), variation::CVariationUtil::GetEffectiveTranscriptLength(), CValidator::CCacheImpl::GetFeatStrKeyToFeats(), GetFeatureProtein(), CAlignmentAssistant::GetFeatures(), CEditSequence::GetFeatures(), CSeqUtils::GetMappingInfo(), GetMrnasForGene(), GetOverlappingFeatures(), GetParentFeature(), CSeqTextDataSourceInterval::GetSeqData(), CFlatFileGenerator::GetSeqFeatText(), CValidError_imp::GetTSACDSOnMinusStrandErrors(), CValidError_bioseqset::IsCDSProductInGPS(), NSnp::IsSnpKnown(), CSeqTextDataSourceInterval::LookForSpliceJunctions(), MakemRNAforCDS(), SFeatLengthPredicate::operator()(), SFeatSortPredicate::operator()(), SChildLess::operator()(), operator<<(), CGeneFinder::CGeneSearchPlugin::processMainLoop(), variation::CVariationUtil::RemapToAnnotatedTarget(), CNewCleanup_imp::ResynchPeptidePartials(), CFeatCompareJob_Align::Run(), CFeatCompareJob_Location::Run(), CFeatureRetrievalJob::Run(), CDemoApp::Run(), CTestSingleAln_All::RunTest(), s_CdsCountAmbiguities(), s_CdsLength(), s_CdsStopCodon(), s_CheckQuals_cdregion(), s_CodingPropensity(), s_CoincidingGapFeatures(), s_CollectBestOverlaps(), s_GetCdregionPlusUpstream(), s_GetFeatureKey(), s_GetFeatureKeyLinkLocation(), s_GetLinkFeatureKey(), s_GetOverlap(), s_PrematureStopCodon(), s_TitleFromSegment(), s_Utrs(), CCleanup::SetGenePartialByLongestContainedFeature(), SetTranslExcept(), CValidError_bioseq::ValidateFeatPartialInContext(), CVcfWriter::WriteAnnot(), CGuiObjectInfoSeq_feat::x_AddExtraInfo(), CFeatureItem::x_AddQualCodedBy(), CFeatureItem::x_AddQualOperon(), CFeatureItem::x_AddQualsProt(), CFeatureItem::x_AddQualsRna(), CGvfWriteRecord::x_AssignAttributeEndRange(), CGvfWriteRecord::x_AssignAttributeStartRange(), CValidError_bioseq::x_CheckSingleStrandedRNAViruses(), CFlatGatherer::x_CollectSourceFeatures(), CFlatGatherer::x_CopyCDSFromCDNA(), CSGFeatureJob::x_CreateCloneFeature(), CSGAlignmentJob::x_CreateFeatGlyph(), CSGFeatureJob::x_CreateFeatHist(), CSGFeatureJob::x_CreateFeatSmear(), CSGFeatureJob::x_CreateFeature1(), CFeatureGenerator::SImplementation::x_CreateGeneFeature(), COrfSearchJob::x_DoSearch(), CFlatGatherer::x_GatherFeatures(), CFlatGatherer::x_GatherFeaturesIdx(), CFlatGatherer::x_GatherFeaturesOnRange(), CFlatGatherer::x_GatherFeaturesOnRangeIdx(), CFlatGatherer::x_GatherFeaturesOnWholeLocation(), variation_ref::CHgvsParser::x_general_pos(), variation::CHgvsParser::x_general_pos(), CCdregionValidator::x_HasGoodParent(), variation::CVariationUtil::CCdregionIndex::x_Index(), variation::CVariationUtil::CVariantPropertiesIndex::x_Index(), CBioseqIndex::x_InitFeats(), CValidError_bioseq::x_IsSameAsCDS(), CBatchFeatJob::x_LoadFeatProducts(), CMacroFunction_FeatStrandednessConstraint::x_Match(), CValidError_bioseq::x_MatchesOverlappingFeaturePartial(), CNewCleanup_imp::x_MoveCDSFromNucAnnotToSetAnnot(), CValidError_bioseq::x_PartialAdjacentToIntron(), variation::CHgvsParser::x_PlacementCoordsToStr(), CReportTrim::x_RetranslateCDS(), CFlatFeatureRetrieveJob::x_Run(), variation_ref::CHgvsParser::x_SeqLocToStr(), CBioseqContext::x_SetHasMultiIntervalGenes(), x_ToBlastVec(), CValidError_bioseq::x_ValidateAbuttingRNA(), CSingleFeatValidator::x_ValidateGeneXRef(), CVcfWriter::x_WriteFeature(), CGff3Writer::xAssignFeature(), CGff2Writer::xAssignFeatureAttributeIsOrdered(), CGff2Writer::xAssignFeatureAttributePartial(), CGff2Writer::xAssignFeatureEndpoints(), CGtfWriter::xAssignFeatureMethod(), CGtfWriter::xAssignFeaturesCds(), CGtfWriter::xAssignFeaturesGene(), CGff2Writer::xAssignFeatureStrand(), CGff3Writer::xAssignFeatureStrand(), CGtfWriter::xAssignFeaturesTranscript(), CFeatTableEdit::xConvertToGeneralIds(), CGffIdGenerator::xExtractFeatureLocation(), CGff2Writer::xGenerateMissingTranscript(), CExonNumberAssigner::xInitialize(), CFeatTableEdit::xPutErrorMissingLocustag(), CFeatTableEdit::xPutErrorMissingProteinId(), CFeatTableEdit::xPutErrorMissingTranscriptId(), CGtfWriter::xWriteFeatureExons(), CGff3Writer::xWriteFeatureGeneric(), CGff3Writer::xWriteFeatureProtein(), CBedWriter::xWriteFeaturesTracked(), CGff3Writer::xWriteFeatureTrna(), CGff3Writer::xWriteNucleotideFeature(), CGff3Writer::xWriteNucleotideFeatureTransSpliced(), and CGff3Writer::xWriteProteinFeature().
|
virtual |
Reimplemented from CSeq_feat_Handle.
Definition at line 190 of file mapped_feat.cpp.
References CSeq_id_Handle::GetHandle(), CAnnotMapping_Info::GetLocationId(), CSeq_feat_Handle::GetLocationId(), CAnnotMapping_Info::IsMappedLocation(), and CMappedFeat::m_MappingInfoPtr.
Referenced by CGenbankIdResolve::GetBestId(), CSeqMasterIndex::GetBioseqIndex(), CBioseqIndex::GetFeatureForProduct(), CDemoApp::Run(), CUpdateSeq_Input::x_ReadAccession(), CGff2Writer::x_WriteSeqEntryHandle(), CGff3Writer::xAssignFeatureMethod(), and CFeatTableEdit::xGenerateMissingGeneForFeats().
|
inline |
Definition at line 98 of file mapped_feat.hpp.
References CMappedFeat::GetRange().
Referenced by CGffIdGenerator::xExtractFeatureLocation().
Feature mapped to the master sequence.
WARNING! The function is rather slow and should be used with care.
Definition at line 152 of file mapped_feat.cpp.
References CMappedFeat::GetSeq_feat().
Referenced by CLinkUtils::AddDbxrefLinksForSNP(), CDiscrepancyVisitorImpl< _Name >::Autofix(), CReportEntry::CReportEntry(), CExploreProcess::DoOneBioseq(), CSnpTrack::GenerateAsn1(), CFeatureTrack::GenerateAsn1(), CGeneModelTrack::GenerateAsn1(), CSeqUtils::GetCdsMappingInfoFromRna(), CGeneXrefsFromFeats::GetCommand(), CGuiObjectInfoVariation::GetLinks(), CSeqUtils::GetMappingInfo(), GetOverlappingFeatures(), GetProtAndRnaForCDS(), CLinkedFeatsGroup::GetTooltip(), CAsn2FastaApp::HandleSeqEntry(), CWriteUtil::IsTransspliced(), CSelectFeatureDlg::OnFeatureEdit(), SChildLess::operator()(), CFeatIdRemapper::RemapIds(), variation::CVariationUtil::RemapToAnnotatedTarget(), CFeatureLoadingJob::Run(), CDemoApp::Run(), CTestSingleAln_All::RunTest(), s_AdjustToAnnotatedCDS(), s_GetFeatureKey(), s_GetRnaMappingLocs(), variation::CHgvsParser::CContext::SetId(), variation_ref::CHgvsParser::CContext::SetId(), ProjectCDS::transform_align(), CFeatureItem::x_AddQualsIdx(), CSGAlignmentJob::x_CreateFeatGlyph(), CSGAlignmentJob::x_CreateGeneModels(), CFlatGatherer::x_GatherFeaturesOnRange(), CFlatGatherer::x_GatherFeaturesOnRangeIdx(), CAnnotGetter::x_GetCompleteSeqAnnot(), CFlatGatherer::x_GetFeatsOnCdsProduct(), CFlatGatherer::x_GetFeatsOnCdsProductIdx(), CAutoDef::x_GetFeatureClauses(), CSelectFeatureDlg::x_LoadFeatures(), CFeatureSearchJob::x_SearchFeatures(), CReportEntry::x_SetFeature(), CAdjustForConsensusSpliceSite::x_UpdateExonFeatures(), CGtfWriter::xAssignFeaturesCds(), and CGff3Writer::xWriteFeatureCds().
|
inline |
Graph mapped to the master sequence.
WARNING! The function is rather slow and should be used with care.
Definition at line 100 of file graph_ci.hpp.
References CMappedGraph::m_MappedGraph, and CMappedGraph::MakeMappedGraph().
Referenced by CSnpTrack::GenerateAsn1(), CDemoApp::Run(), CSGAlignStatJob::x_CollectAlignStats(), CAnnot_Collector::x_GetMappedObject(), and CSGAlnQualityScore::x_RetrieveQualityMap().
const CMappedGraph::TGraphRanges & CMappedGraph::GetMappedGraphRanges | ( | void | ) | const |
Get all mapped graph ranges.
The ranges are provided in the sequence coordinates, to get array index divide each value by 'comp'.
Definition at line 212 of file graph_ci.cpp.
References _ASSERT, CAnnotMapping_Info::GetGraphRanges(), CAnnotObject_Ref::GetMappingInfo(), CGraphRanges::GetRanges(), and CMappedGraph::m_GraphRef.
Referenced by CMappedGraph::GetNumval(), and CMappedGraph::MakeMappedGraphData().
const CMappedGraph::TRange & CMappedGraph::GetMappedGraphTotalRange | ( | void | ) | const |
Get the range of graph data used in the mapped graph.
The range is provided in the sequence coordinates, to get array index divide each value by 'comp'.
Definition at line 203 of file graph_ci.cpp.
References _ASSERT, CAnnotMapping_Info::GetGraphRanges(), CAnnotObject_Ref::GetMappingInfo(), CGraphRanges::GetTotalRange(), and CMappedGraph::m_GraphRef.
Definition at line 129 of file mapped_feat.cpp.
References CCreatedFeat_Ref::GetMappedLocation(), CMappedFeat::m_MappedFeat, and CMappedFeat::m_MappingInfoPtr.
Referenced by CMappedFeat::GetLocation(), and CMappedFeat::GetProduct().
Definition at line 156 of file seq_table_ci.cpp.
References CAnnotTypes_CI::Get(), CAnnotObject_Ref::GetMappingInfo(), CSeq_table_CI::GetOriginalLocation(), info, and CSeq_table_CI::m_MappedLoc.
Referenced by CSGSeqGraphJob::x_LoadSeqTable().
|
inline |
Get maximum number of empty segments to search before giving up.
Definition at line 464 of file annot_selector.hpp.
References SAnnotSelector::m_MaxSearchSegments.
Referenced by CAnnot_Collector::x_Initialize0().
|
inline |
Definition at line 482 of file annot_selector.hpp.
References SAnnotSelector::m_MaxSearchSegmentsAction.
Referenced by CAnnot_Collector::x_Initialize0().
|
inline |
Get maximum time (in seconds) to search before giving up.
Definition at line 494 of file annot_selector.hpp.
References SAnnotSelector::m_MaxSearchTime.
Referenced by CAnnot_Collector::x_Initialize0(), and CAnnot_Collector::x_SearchMapped().
|
inline |
Get maximum allowed number of annotations to find.
Definition at line 450 of file annot_selector.hpp.
References SAnnotSelector::m_MaxSize.
Referenced by CAnnot_Collector::x_NoMoreObjects(), and CAnnot_Collector::x_SearchRange().
|
inline |
Definition at line 684 of file annot_selector.hpp.
References SAnnotSelector::m_NamedAnnotAccessions.
Referenced by CPSGDataLoader_Impl::GetAnnotRecordsNAOnce(), SCacheInfo::GetBlob_idsSubkey(), CSNPDataLoader_Impl::GetOrphanAnnotRecordsOnce(), CVDBGraphDataLoader_Impl::GetOrphanAnnotRecordsOnce(), CId1Reader::LoadSeq_idBlob_ids(), CId2ReaderBase::LoadSeq_idBlob_ids(), s_FormatCall(), CReaderRequestResult::s_KeyBlobIds(), CAnnot_Collector::x_FoundAllNamedAnnotAccessions(), CScope_Impl::x_GetAnnotRef_Info(), and CSGAnnotJob::x_LoadCoverageGraph().
|
inline |
Definition at line 704 of file annot_selector.hpp.
References SAnnotSelector::m_NoMapping.
|
inline |
Definition at line 179 of file graph_ci.hpp.
References CMappedGraph::GetMappedGraphRanges(), CAnnotObject_Ref::GetMappingInfo(), CSeq_graph_Base::GetNumval(), CMappedGraph::GetOriginalGraph(), CAnnotMapping_Info::IsMapped(), ITERATE, CMappedGraph::m_GraphRef, and CMappedGraph::m_MappedGraph.
Get original feature with unmapped location/product.
Definition at line 146 of file mapped_feat.cpp.
References CSeq_feat_Handle::GetOriginalSeq_feat().
Referenced by CReportTrim::AdjustAndTranslate(), CEditSequence::AdjustFeatureLocations(), AdjustSingleFeature(), CModifyStructuredComment::apply_to_seq_and_feat(), CRemoveFeaturesDlg::ApplyToCSeq_entry(), BOOST_AUTO_TEST_CASE(), CFeatureItemBase::CFeatureItemBase(), CLDBlockGlyph::CLDBlockGlyph(), CAnnotCompare::CompareFeats(), CConvertCDSToProt::Convert(), Convert_Seq_loc_Seq_feat(), CCdsToMatPeptide::ConvertInner(), CSourceFeatureItem::CSourceFeatureItem(), CExploreProcess::DoOneBioseq(), CAnnotationASN1::ExtractModels(), CmRNAAndCDSIndex::FindMatchmRNA(), CFeatTableEdit::GenerateLocusTags(), NSnp::GetAlleles(), CPubField::GetApplyObjects(), CSrcTableColumnBase::GetApplyObjects(), GetBestMrnaForCds(), GetBioSourceForBioseq(), NSnp::GetBitfield(), CValidError_imp::GetCDSGivenProduct(), CmRNAFromGeneCdsExon::GetCommand(), CtRNAFromGene::GetCommand(), CTruncateCDS::GetCommand(), CBulkCDS::GetCommandFromValuesTable(), GetFeatureProtein(), CAlignmentAssistant::GetFeatures(), CEditSequence::GetFeatures(), CGeneModelFeatJob::GetFilters(), NSnp::GetLength(), CSeqUtils::GetMappingInfo(), GetmRNAForProduct(), CValidError_imp::GetmRNAGivenProduct(), GetMrnasForGene(), CCleanup::GetNormalizableGeneQualPairs(), CPubField::GetObjects(), CSrcTableColumnBase::GetObjects(), GetOverlappingFeatures(), GetProductName(), GetPROTForProduct(), NSnp::GetRsid(), NSnp::GetTag(), CBulkCDS::GetValuesTableFromSeqEntry(), CFeatTableEdit::InferPartials(), NSnp::IsSnp(), NSnp::IsSnpKnown(), SFeatSortPredicate::operator()(), operator<<(), CFeatTableEdit::ProcessCodonRecognized(), CCdsForMrnaPlugin::processMainLoop(), CGeneFinder::CGeneSearchPlugin::processMainLoop(), CGeneFinder::ResolveGeneObjectId(), RestoreModelFromPublicMrnaFeature(), RetranslateCdregion(), CExtendCDSToStop::RetranslateCDSCommand(), CRevCompSequencesDlg::RevCompBioSeq(), CGffExportJob::Run(), CGtfExportJob::Run(), CFeatCompareJob_Align::Run(), CFeatCompareJob_Location::Run(), CDemoApp::Run(), CTestBMApp::Run(), CSampleLds2Application::Run(), s_Code_break(), s_CompareProtProdToTrans(), s_GetCdsByProduct(), s_GetMappedFeat(), s_GetProductName(), s_IsSelenocysteine(), s_PassesFilter(), s_Render_SeqFeat(), s_SubsequentIntron(), CFixFeatureId::s_UpdateFeatureIds(), s_VerifyTree(), CGeneOverlapProcess::SeqEntryProcess(), CCleanup::SetGeneticCodes(), CCleanup::SetProteinName(), SetTranslExcept(), sGetCdsProductName(), CFeatTableEdit::SubmitFixProducts(), TrimSequenceAndAnnotation(), TrimStopsFromCompleteCDS(), CFeatureItem::x_AddFTableRnaQuals(), CFeatureItem::x_AddQualsCdregionIdx(), CFeatureItem::x_AddQualsProt(), CFeatureItem::x_AddQualTranslation(), CSGFeatureJob::x_CreateFeatHist(), CSGFeatureJob::x_CreateFeatSmear(), CGeneModelFeatJob::x_CreateFeaturesWithFilter(), CFeatureGenerator::SImplementation::x_CreateGeneFeature(), CFlatGatherer::x_GatherFeaturesOnRange(), CFlatGatherer::x_GatherFeaturesOnRangeIdx(), CFlatGatherer::x_GatherFeaturesOnWholeLocation(), CSourceItem::x_GatherInfo(), CFlatGatherer::x_GatherReferences(), CFlatGatherer::x_GetFeatsOnCdsProduct(), CFlatGatherer::x_GetFeatsOnCdsProductIdx(), CAutoDef::x_GetFeatureClauses(), CDeflineGenerator::x_GetGeneRefViaCDS(), CLDBlockJob::x_LoadFtable(), CSnpJob::x_PreFetchFtable(), CVectorTrimPanel::x_RetranslateCDS(), CReportTrim::x_RetranslateCDS(), CFeatureSearchJob::x_SearchFeatures(), CDeflineGenerator::x_SetBioSrc(), CDeflineGenerator::x_SetBioSrcIdx(), CDeflineGenerator::x_SetPrefix(), CDeflineGenerator::x_SetTitleFromProtein(), CDeflineGenerator::x_SetTitleFromProteinIdx(), CVectorTrimPanel::x_TrimSelected(), CValidError_bioseq::x_ValidateAbuttingRNA(), CValidError_bioseq::x_ValidateCDSagainstVDJC(), CMRNAValidator::x_ValidateMrnaGene(), CFeatTableEdit::xAdjustExistingParentGene(), CGtfWriter::xAssignFeatureAttributeTranscriptBiotype(), CGff3Writer::xAssignFeatureType(), CFeatTableEdit::xCreateMissingParentGene(), CFeatTableEdit::xFeatureAddQualifier(), CFeatTableEdit::xFeatureRemoveQualifier(), CFeatTableEdit::xFeatureSetProduct(), CFeatTableEdit::xGenerateMissingMrnaForCds(), CFeatTableEdit::xGetLinkedFeature(), CGff3Writer::xWriteFeatureProtein(), CBedWriter::xWriteFeaturesThreeFeatData(), and CGff3Writer::xWriteProteinFeature().
|
inline |
Get original graph with unmapped location/product.
Definition at line 70 of file graph_ci.hpp.
References CAnnotObject_Ref::GetGraph(), and CMappedGraph::m_GraphRef.
Referenced by BOOST_AUTO_TEST_CASE(), Convert_Seq_loc_Seq_graph(), CMappedGraph::GetA(), CMappedGraph::GetB(), CMappedGraph::GetComment(), CMappedGraph::GetComp(), CMappedGraph::GetGraph(), CMappedGraph::GetNumval(), CMappedGraph::GetTitle(), CMappedGraph::GetTitle_x(), CMappedGraph::GetTitle_y(), CMappedGraph::IsSetA(), CMappedGraph::IsSetB(),