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/wig__graph_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/widgets/seq_graphic/wig_graph.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS_SEQ_GRAPHIC___WIG_GRAPH__HPP 2 #define GUI_WIDGETS_SEQ_GRAPHIC___WIG_GRAPH__HPP 62  return "WigGraphCache"

;

65  static

constexpr

float

kFract = 1000.;

78  static string

GetCacheKey(objects::CScope& scope,

79  const

objects::CSeq_id& seq_id,

80  const string

& wig_id,

81  const string

& remote_path,

82  const string

& last_modified,

107  float

GetDataCoverage(

const TSeqRange

& range);

114  void

x_CreateNetCacheKey();

118  int

x_RunBigWigScript(

const TSeqRange

& range,

const string

tmp_file);

121  void

x_GetBigWigData(

const TSeqRange

& range, vector<TValType>& v_out);

123  void

x_EncodeDelta(

const TSeqRange

& range,

const

vector<float>& v_in, vector<TValType>& v_out);

124  void

x_DecodeDelta(

const TSeqRange

& range, vector<float>& v_out);

141  static const int

kMinBinSize = 500;

142  int

m_SummaryBinCount = 100000;

144

atomic<bool> m_PrefetchRequested{

false

};

155  void

x_FetchSummary();

189  bool

is_negative = v < 0;

Serialization / compression of bvector<>. Set theoretical operations on compressed BLOBs.

Sparse constainer sparse_vector<> for integer types using bit-transposition transform.

int64_t x_DecodeSign(uint64_t v)

map< TSeqRange, future< TPrefetchData > > m_PendingData

virtual ~CWigGraph()

Init is invoked by CGraphCache when a new instance of CWigGraph is initialized.

void x_UnPackFloat(TSparseVector::value_type v_in, float &v_out)

future< TPrefetchSummary > m_PendingSummary

unique_ptr< TSparseVector > TPrefetchSummary

string m_WigId

WigFile id, e.g. chr1.

static string GetStorageName()

static constexpr float kFract

CWigGraph data come in two flavors Summary - low-res representation for the whole sequence length and...

unique_ptr< TPrefetchRequest > TPrefetchData

uint64_t x_EncodeSign(int64_t v)

Encode/Decode negtaive vaues to positive ones.

void x_PackFloat(float v_in, TSparseVector::value_type &v_out)

Float values are packed with precision loss (3 decimal places retained) values are conveeted to posti...

struct { TSeqRange range TPrefetchRequest

BLOB cache read/write/maintenance interface.

succinct sparse vector with runtime compression using bit-slicing / transposition method

unsigned int TSeqPos

Type for sequence locations and lengths.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define BEGIN_SCOPE(ns)

Define a new scope.

Compressed bitset (entry point to bm.h)


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