NCBI C++ ToolKit
|
Search Toolkit Book for ILayoutTrackFactory::SExtraParams
extra parameter for initializing a track. More...
#include <gui/widgets/seq_graphic/layout_track.hpp>
Public Types | |
typedef vector< string > | TAnnots |
typedef vector< string > | TSubTracks |
Public Member Functions | |
SExtraParams () | |
SExtraParams (int level, bool adaptive, const TAnnots *annots=NULL, const string &sub_key=NcbiEmptyString, const string &filter=NcbiEmptyString, const string &sort_by=NcbiEmptyString, const string &remote_path=NcbiEmptyString) | |
Public Attributes | |
int | m_Level |
layout level that limits feature retrieving used by annotation selector. More... | |
bool | m_Adaptive |
Adaptive/Exact selector. More... | |
TAnnots | m_Annots |
particular annotations the track will be looking at. More... | |
string | m_Filter |
potential track-specific filter. More... | |
string | m_SortBy |
potential track-specific sort_by. More... | |
string | m_Subkey |
A subkey for creating feature-specific layout track for a generic layout track type. More... | |
TSeqRange | m_Range |
The requested range we want to look at. More... | |
bool | m_SkipGenuineCheck |
Flag indicating if track verification is required. More... | |
bool | m_FastConfig |
when set to true, indicates that that the factory is used by seqconfig this means that some operations taking a long time and not needed by seqconfig may be skipped while creating the track do not use this anywhere but in seqconfig! a track created with this flag is not usable for loading the track data! More... | |
bool | m_CoverageGraphCheck |
Flag indicating if checking coverage graph is necessary. More... | |
bool | m_DataTypeCheck |
Flag indicating if track data should be checked against declared track type. More... | |
TSubTracks | m_SubTracks |
List of subTracks. More... | |
TAnnotNameTitleMap | m_AnnotNameTitleMap |
map of known correspondencies between annots and full titles More... | |
set< string > | m_UsedFeatureSubkeys |
Already used feature track subkeys To be used by CAllOtherFeaturesTrack container. More... | |
string | m_TrackProfile |
Track setting profile for additionial parameters. More... | |
string | m_RemotePath |
Track remote path. More... | |
extra parameter for initializing a track.
the tracks with no concept of level and annotation can completely ignore the extra parameters.
Definition at line 100 of file layout_track.hpp.
typedef vector<string> ILayoutTrackFactory::SExtraParams::TAnnots |
Definition at line 102 of file layout_track.hpp.
typedef vector<string> ILayoutTrackFactory::SExtraParams::TSubTracks |
Definition at line 103 of file layout_track.hpp.
|
inline |
Definition at line 184 of file layout_track.hpp.
|
inline |
Definition at line 193 of file layout_track.hpp.
References m_Annots.
bool ILayoutTrackFactory::SExtraParams::m_Adaptive |
Adaptive/Exact selector.
Definition at line 112 of file layout_track.hpp.
Referenced by CBinsTrackFactory::CreateTracks(), CHapmapTrackFactory::CreateTracks(), CLDBlockTrackFactory::CreateTracks(), CSnpTrackFactory::CreateTracks(), CAggregateFeatureTrackFactory::CreateTracks(), CAllOtherFeaturesTrackFactory::CreateTracks(), CComponentTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CEpigenomicsTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CGraphOverlayFactory::CreateTracks(), CGraphTrackFactory::CreateTracks(), CScaffoldTrackFactory::CreateTracks(), CSegmentMapTrackFactory::CreateTracks(), CSeqTableGraphTrackFactory::CreateTracks(), CTrackContainerFactory::CreateTracks(), CAlignmentTrackFactory::CreateTracks(), CGeneModelFactory::CreateTracks(), CSGSnpDS::GetAnnotNames(), CBinsDS::GetTrackNames(), CSGHapmapDS::GetTrackNames(), CLDBlockDS::GetTrackNames(), and CGeneModelFactory::x_CreateTracksWithFilters().
TAnnotNameTitleMap ILayoutTrackFactory::SExtraParams::m_AnnotNameTitleMap |
map of known correspondencies between annots and full titles
Definition at line 172 of file layout_track.hpp.
Referenced by CSnpTrackFactory::CreateTracks(), and CTrackInitializationJob::Run().
TAnnots ILayoutTrackFactory::SExtraParams::m_Annots |
particular annotations the track will be looking at.
Definition at line 115 of file layout_track.hpp.
Referenced by CBinsTrackFactory::CreateTracks(), CHapmapTrackFactory::CreateTracks(), CLDBlockTrackFactory::CreateTracks(), CSnpTrackFactory::CreateTracks(), CAggregateFeatureTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CEpigenomicsTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CGraphOverlayFactory::CreateTracks(), CGraphTrackFactory::CreateTracks(), CSeqTableGraphTrackFactory::CreateTracks(), CSequenceTrackFactory::CreateTracks(), CAlignmentTrackFactory::CreateTracks(), CGeneModelFactory::CreateTracks(), CVcfTrackFactory::CreateTracks(), CSGSnpDS::GetAnnotNames(), CBinsTrackFactory::GetMatchedAnnots(), CHapmapTrackFactory::GetMatchedAnnots(), CLDBlockTrackFactory::GetMatchedAnnots(), CAggregateFeatureTrackFactory::GetMatchedAnnots(), CVarTrackFactory::GetMatchedAnnots(), CEpigenomicsTrackFactory::GetMatchedAnnots(), CFeatureTrackFactory::GetMatchedAnnots(), CGraphTrackFactory::GetMatchedAnnots(), CSequenceTrackFactory::GetMatchedAnnots(), CAlignmentTrackFactory::GetMatchedAnnots(), CGeneModelFactory::GetMatchedAnnots(), CBinsDS::GetTrackNames(), CSGHapmapDS::GetTrackNames(), CLDBlockDS::GetTrackNames(), CTrackContainer::LoadNATracks(), and SExtraParams().
bool ILayoutTrackFactory::SExtraParams::m_CoverageGraphCheck |
Flag indicating if checking coverage graph is necessary.
By defult, it is true.
Definition at line 161 of file layout_track.hpp.
Referenced by CGraphTrackFactory::CreateTracks(), and CAlignmentTrackFactory::CreateTracks().
bool ILayoutTrackFactory::SExtraParams::m_DataTypeCheck |
Flag indicating if track data should be checked against declared track type.
By default, it's true.
Definition at line 166 of file layout_track.hpp.
Referenced by CGeneModelFactory::CreateTracks().
bool ILayoutTrackFactory::SExtraParams::m_FastConfig |
when set to true, indicates that that the factory is used by seqconfig this means that some operations taking a long time and not needed by seqconfig may be skipped while creating the track do not use this anywhere but in seqconfig! a track created with this flag is not usable for loading the track data!
Definition at line 157 of file layout_track.hpp.
Referenced by CAggregateFeatureTrackFactory::CreateTracks(), and CAlignmentTrackFactory::CreateTracks().
string ILayoutTrackFactory::SExtraParams::m_Filter |
potential track-specific filter.
Any number of fitlers is supported using various logic operators. The operators include AND, OR, NOT, LIKE, =, !=, (), >, <, <=, and >= . For example: f1=f1_val1 and (f1=f1_val2 or f2>f2_val1) and not f3
Definition at line 122 of file layout_track.hpp.
Referenced by CSnpTrackFactory::CreateTracks(), CAggregateFeatureTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CGeneModelFactory::CreateTracks(), CSGSnpDS::GetAnnotNames(), CGeneModelFactory::GetMatchedAnnots(), and CGeneModelFactory::x_CreateTracksWithFilters().
int ILayoutTrackFactory::SExtraParams::m_Level |
layout level that limits feature retrieving used by annotation selector.
By default, m_Level is set to -1, resovle all. For m_Level >=0, features/data will be fetched up to or on that level exactly depending on the setting of m_Adative.
Definition at line 109 of file layout_track.hpp.
Referenced by CBinsTrackFactory::CreateTracks(), CHapmapTrackFactory::CreateTracks(), CLDBlockTrackFactory::CreateTracks(), CSnpTrackFactory::CreateTracks(), CAggregateFeatureTrackFactory::CreateTracks(), CAllOtherFeaturesTrackFactory::CreateTracks(), CComponentTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CEpigenomicsTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CGraphOverlayFactory::CreateTracks(), CGraphTrackFactory::CreateTracks(), CScaffoldTrackFactory::CreateTracks(), CSegmentMapTrackFactory::CreateTracks(), CSeqTableGraphTrackFactory::CreateTracks(), CSixFramesTransTrackFactory::CreateTracks(), CTrackContainerFactory::CreateTracks(), CAlignmentTrackFactory::CreateTracks(), CGeneModelFactory::CreateTracks(), CSGSnpDS::GetAnnotNames(), CBinsDS::GetTrackNames(), CSGHapmapDS::GetTrackNames(), CLDBlockDS::GetTrackNames(), and CGeneModelFactory::x_CreateTracksWithFilters().
TSeqRange ILayoutTrackFactory::SExtraParams::m_Range |
The requested range we want to look at.
This is optional since the visible range can also be got from the rendering context for most cases. The range need to be specified for projecting features from another feature, such as alginments.
Definition at line 145 of file layout_track.hpp.
Referenced by CComponentTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CScaffoldTrackFactory::CreateTracks(), CSegmentMapTrackFactory::CreateTracks(), CGeneModelFactory::CreateTracks(), CVcfTrackFactory::CreateTracks(), and CGeneModelFactory::x_CreateTracksWithFilters().
string ILayoutTrackFactory::SExtraParams::m_RemotePath |
Track remote path.
Definition at line 182 of file layout_track.hpp.
Referenced by CAlignmentTrackFactory::CreateTracks(), CTrackContainer::LoadNATracks(), CFeaturePanel::x_ConfigureSubtracks(), and CTrackContainer::x_ReinitTrack().
bool ILayoutTrackFactory::SExtraParams::m_SkipGenuineCheck |
Flag indicating if track verification is required.
By default, a data track will be verified to make sure it indeed exists during track configuration.
Definition at line 150 of file layout_track.hpp.
Referenced by CBinsTrackFactory::CreateTracks(), CHapmapTrackFactory::CreateTracks(), CLDBlockTrackFactory::CreateTracks(), CSnpTrackFactory::CreateTracks(), CAllOtherFeaturesTrackFactory::CreateTracks(), CComponentTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CEpigenomicsTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CGraphOverlayFactory::CreateTracks(), CGraphTrackFactory::CreateTracks(), CScaffoldTrackFactory::CreateTracks(), CSegmentMapTrackFactory::CreateTracks(), CSeqTableGraphTrackFactory::CreateTracks(), CTraceGraphTrackFactory::CreateTracks(), CTrackContainerFactory::CreateTracks(), CAlignmentTrackFactory::CreateTracks(), CGeneModelFactory::CreateTracks(), CTrackContainer::LoadNATracks(), CFeaturePanel::x_ConfigureSubtracks(), CFeaturePanel::x_CreateLevelTrack(), CGeneModelFactory::x_CreateTracksWithFilters(), CAllOtherFeaturesTrack::x_ReinitFeatureTrack(), CTrackContainer::x_ReinitNATrack(), and CTrackContainer::x_ReinitTrack().
string ILayoutTrackFactory::SExtraParams::m_SortBy |
potential track-specific sort_by.
Rules for specifying sort_by: 1. Only one sorting critero is supported at one time 2. Sort_by name and values should be in this format: sort_by=sort_name[|sort_value1|sort_value2...] Sort_name should come at the beginning of the string. Sort_values are options, but if there is any, '|' is used to separate them from sort_name and from each other.
Definition at line 132 of file layout_track.hpp.
Referenced by CAggregateFeatureTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CAlignmentTrackFactory::CreateTracks(), and CGeneModelFactory::x_CreateTracksWithFilters().
string ILayoutTrackFactory::SExtraParams::m_Subkey |
A subkey for creating feature-specific layout track for a generic layout track type.
The example of usage is the layout track for a subtype of seq-feat.
Definition at line 138 of file layout_track.hpp.
Referenced by CAggregateFeatureTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CGeneModelFactory::CreateTracks(), CAggregateFeatureTrackFactory::GetMatchedAnnots(), CVarTrackFactory::GetMatchedAnnots(), and CFeatureTrackFactory::GetMatchedAnnots().
TSubTracks ILayoutTrackFactory::SExtraParams::m_SubTracks |
List of subTracks.
Definition at line 169 of file layout_track.hpp.
Referenced by CTrackContainer::LoadNATracks(), CFeaturePanel::x_ConfigureSubtracks(), and CTrackContainer::x_ReinitTrack().
string ILayoutTrackFactory::SExtraParams::m_TrackProfile |
Track setting profile for additionial parameters.
Definition at line 179 of file layout_track.hpp.
Referenced by CSnpTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CGraphTrackFactory::CreateTracks(), CAlignmentTrackFactory::CreateTracks(), CVcfTrackFactory::CreateTracks(), and CTrackInitializationJob::Run().
Already used feature track subkeys To be used by CAllOtherFeaturesTrack container.
Definition at line 176 of file layout_track.hpp.
Referenced by CAllOtherFeaturesTrackFactory::CreateTracks(), and CFeaturePanel::x_ConfigureSubtracks().