A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/snp__ds_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/packages/pkg_snp/track/snp_ds.cpp Source File

81  result

->listObjs.swap(glyphs);

86

}

catch

(std::exception& ex) {

120  string

zoomAnnotName = sAnnotName;

129  if

(!name.IsNamed()) {

135

base_name != sAnnotName) {

138  if

(zoom_level <= max_zoom_level) {

139  if

(zoom_level > best_zoom_level || best_zoom_level > max_zoom_level) {

140

best_zoom_level = zoom_level;

144  if

(zoom_level < best_zoom_level) {

145

best_zoom_level = zoom_level;

163  LOG_POST

(

Info

<<

"Getting SNP histogram from graph"

);

164  for

( ; graph_iter; ++graph_iter) {

173

TDMaps::iterator it = dmaps.find(title);

174  if

( it == dmaps.end()) {

209  const string

& title = it->first;

216

glyphs->push_back(fref);

248  return

filter.

Passes

(bitfield);

273  const

ncbi::objects::CSeq_loc &loc,

281

glyphs->swap(tmpList);

283

glyphs->insert(glyphs->end(), tmpList.begin(), tmpList.end());

298  for

( ; feat_it; ++feat_it) {

305

glyphs.push_back(glyph);

310  for

( ; feat_it; ++feat_it) {

320

glyphs.push_back(glyph);

328  LOG_POST

(

Info

<<

"Getting SNP histogram from ftable.size: "

<< srcFtable.size());

332

dmap.

AddRange

( (*iter)->GetRange() );

354  const CSeq_id

&

id

=

dynamic_cast<const CSeq_id

&

>

(

object

.object.GetObject());

365  CFeat_CI

feat_iter(handle, range, sel);

369

annots[params.

m_Filter

] = iter->GetName();

371

annots[params.

m_Filter

] =

"Unnamed"

;

393  const CSeq_id

&

id

=

dynamic_cast<const CSeq_id

&

>

(

object

.object.GetObject());

394  return new CSGSnpDS

(

object

.scope.GetObject(),

id

);

400  static string

sid(

"seqgraphic_snp_ds_type"

);

406  static string

slabel(

"Graphical View SNP Data Source Type"

);

User-defined methods of the data storage class.

User-defined methods of the data storage class.

const TAnnotNames & GetAnnotNames(void) const

CAppJobError Default implementation for IAppJobError - encapsulates a text error message.

TIntervals & SetIntervals()

CFeatGlyph inline implementations.

void SetAnnotName(const string &name)

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 GetExtensionIdentifier() const

returns the unique human-readable identifier for the extension the id should use lowercase letters se...

virtual string GetExtensionLabel() const

returns a displayable label for this extension ( please capitalize the key words - "My Extension" )

virtual ISGDataSource * CreateDS(SConstScopedObject &object) const

CSGSnpDSType.

virtual bool IsSharable() const

check if the data source can be shared.

void LoadData(const TSeqRange &range, CSnpJob::SParams &p, SSnpFilter *filter)

CSGSnpDS(objects::CScope &scope, const objects::CSeq_id &id)

CSGSnpDS.

static void GetAnnotNames(SConstScopedObject &object, map< string, string > &annots, const TSeqRange &range, const ILayoutTrackFactory::SExtraParams &params)

list< CRef< CSeqGlyph > > TObjects

CRef< CAppJobError > m_Error

namespace ncbi::objects::

CSnpBitfield is a facade for representing any version of the SNP bitfield.

CRef< SSnpFilter > m_Filter

void x_FetchFtableEx(const objects::SAnnotSelector &sel, const objects::CSeq_loc &loc, CSeqGlyph::TObjects *glyphs)

void x_FetchGraphs(const objects::CSeq_loc &, CSeqGlyph::TObjects *)

SSnpJobResult::EDataType m_eDataType

virtual EJobState x_Execute()

method truly doing the job.

void x_FetchFtable(const objects::CSeq_loc &, CSeqGlyph::TObjects *)

void x_MakeHistogramFromFtable(const CSeqGlyph::TObjects &srcFtable, CSeqGlyph::TObjects &glyphs)

static string s_AdjustAnnotName(const string &sAnnotName)

! this is a temporary function for an interim period when SNP filters are taken from !...

void x_PreFetchFtable(const objects::SAnnotSelector &sel, const ncbi::objects::CSeq_loc &loc, CSeqGlyph::TObjects &glyphs)

CSnpJob(const objects::CBioseq_Handle &handle, const TSeqRange &range, const SParams &params, SSnpFilter *filter)

CSnpJob.

vector< TSeqRange > TIntervals

const_iterator begin() const

const_iterator end() const

parent_type::const_iterator const_iterator

unsigned int TSeqPos

Type for sequence locations and lengths.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

const string & GetMsg(void) const

Get message string.

virtual const char * what(void) const noexcept

Standard report (includes full backlog).

void Info(CExceptionArgs_Base &args)

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 TAnnotNameType NameTypeStrToValue(const string &type)

static bool IsExtendedNAA(const string &annot, bool isStrict=false)

check if a given annotation is an extended NAA (named accession[.version][number],...

static void SetResolveDepth(objects::SAnnotSelector &sel, bool adaptive, int depth=-1)

help function for setting selector resolve depth.

@ eAnnot_Unnamed

unnamed annotation

@ eAnnot_Other

any given named annots

virtual void AddRange(TSeqRange range, CntType score=1, bool expand=false)

EJobState

Job states (describe FSM)

TRange GetTotalRange(void) const

TSeqPos GetComp(void) const

const string & GetTitle(void) const

SAnnotSelector & ResetAnnotsNames(void)

Select annotations from all Seq-annots.

TRange GetTotalRange(void) const

const CSeq_feat & GetOriginalFeature(void) const

Get original feature with unmapped location/product.

string CombineWithZoomLevel(const string &acc, int zoom_level)

Combine accession string and zoom level into a string with separator.

SAnnotSelector & IncludeNamedAnnotAccession(const string &acc, int zoom_level=0)

SAnnotSelector & SetExcludeExternal(bool exclude=true)

External annotations for the Object Manger are annotations located in top level Seq-entry different f...

SAnnotSelector & SetCollectNames(bool value=true)

Collect available annot names rather than annots.

SAnnotSelector & AddNamedAnnots(const CAnnotName &name)

Add named annot to set of annots names to look for.

bool ExtractZoomLevel(const string &full_name, string *acc_ptr, int *zoom_level_ptr)

Extract optional zoom level suffix from named annotation string.

SAnnotSelector & SetFeatSubtype(TFeatSubtype subtype)

Set feature subtype (also set annotation and feat type)

const CSeq_loc & GetLoc(void) const

SAnnotSelector & AddUnnamedAnnots(void)

Add unnamed annots to set of annots names to look for.

const CSeq_graph::C_Graph & GetGraph(void) const

void Reset(void)

Reset reference object.

position_type GetLength(void) const

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 TInt & GetInt(void) const

Get the variant data.

const TValues & GetValues(void) const

Get the Values member data.

const TByte & GetByte(void) const

Get the variant data.

const TValues & GetValues(void) const

Get the Values member data.

bool IsByte(void) const

Check if variant Byte is selected.

double value_type

The numeric datatype used by the parser.

const GenericPointer< typename T::ValueType > T2 value

double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)

static bool s_passes_bitfield(const CSeq_feat &or_feat, const SSnpFilter &filter)

bool bPreferFeat

Return feat glyphs instead of histogram glyphs.

bool bAdaptive

Only return feat glyphs when not overview.

virtual bool Passes(const CSnpBitfield &b) const


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