->listObjs.swap(glyphs);
104}
catch(std::exception& ex) {
116 boolfetchTable =
false;
119 m_Sel.SetOverlapTotalRange().SetResolveAll().SetAdaptiveDepth(
true);
172 for(
size_t row= 0;
row< rows; ++
row) {
173 if( col_pos.
TryGet(annot,
row, pos) &&
187objs->push_back(fref);
205 const CSeq_id&
id=
dynamic_cast<const CSeq_id&
>(
object.object.GetObject());
216 if(iter->IsNamed()) {
258 const CSeq_id&
id=
dynamic_cast<const CSeq_id&
>(
object.object.GetObject());
259 return new CSGHapmapDS(
object.scope.GetObject(),
id);
265 static stringsid(
"seqgraphic_hapmap_ds_type");
271 static stringslabel(
"Graphical View SNP Data Source Type");
User-defined methods of the data storage class.
const TAnnotNames & GetAnnotNames(void) const
CAppJobError Default implementation for IAppJobError - encapsulates a text error message.
EJobState x_Load(CSeqGlyph::TObjects *)
virtual EJobState x_Execute()
method truly doing the job.
CHapmapJob(const CBioseq_Handle &handle, const TSeqRange &range, const SParams ¶ms)
void SetAnnotName(const string &name)
objects::SAnnotSelector m_Sel
our annotation selector
TSeqRange m_Range
target range
objects::CBioseq_Handle m_Handle
target sequence
TJobID x_LaunchJob(IAppJob &job, int report_period=1, const string &pool="ObjManagerEngine")
Launch either a background or foreground job.
bool m_Adaptive
adaptive/exact annot selector
int m_Depth
annotation resolving depth
objects::CBioseq_Handle m_Handle
virtual string GetExtensionLabel() const
returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
virtual bool IsSharable() const
check if the data source can be shared.
virtual string GetExtensionIdentifier() const
returns the unique human-readable identifier for the extension the id should use lowercase letters se...
virtual ISGDataSource * CreateDS(SConstScopedObject &object) const
CSGHapmapDSType.
void LoadData(const TSeqRange &range, TModelUnit scale, bool preferFeats, bool isOverview)
void SetName(const string &)
static void GetTrackNames(SConstScopedObject &object, TAnnotNameTitleMap &names, const TSeqRange &range, const ILayoutTrackFactory::SExtraParams ¶ms)
CSGHapmapDS(objects::CScope &scope, const objects::CSeq_id &id)
CSGHapmapDS.
list< CRef< CSeqGlyph > > TObjects
CRef< CAppJobError > m_Error
bool TryGet(const CFeat_CI &feat_ci, Value &v) const
container_type::value_type value_type
static const struct name_t names[]
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
const string & GetMsg(void) const
Get message string.
virtual const char * what(void) const noexcept
Standard report (includes full backlog).
static bool IsNAA(const string &annot, bool isStrict=false)
check if a given annotation is a named annotation accession[.version][number] when isSctrict == false...
static objects::SAnnotSelector GetAnnotSelector(TAnnotFlags flags=0)
request an annotation selector for a given type
static void SetResolveDepth(objects::SAnnotSelector &sel, bool adaptive, int depth=-1)
help function for setting selector resolve depth.
static const int c_BinWidth
standard width and height of a bin
EJobState
Job states (describe FSM)
size_t GetSeq_tableNumRows(void) const
SAnnotSelector & SetCollectNames(bool value=true)
Collect available annot names rather than annots.
SAnnotSelector & SetAnnotType(TAnnotType type)
Set annotation type (feat, align, graph)
void Reset(void)
Reset reference object.
CRange< TSeqPos > TSeqRange
typedefs for sequence ranges
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TTo GetTo(void) const
Get the To member data.
TFrom GetFrom(void) const
Get the From member data.
const GenericPointer< typename T::ValueType > T2 value
#define row(bind, expected)
bool bPreferFeat
Only return feat glyphs when not overview.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4