blockCount,
88 conststd::vector<int>& blockStarts,
89 conststd::vector<int>& blockSizes)
102 if(chromStart == thickStart && thickStart == thickEnd) {
111 if(blockCount == 0) {
117 for(
unsigned int i=0;
i< blockCount; ++
i) {
119pBlockInterval->
SetFrom(chromStart + blockStarts[
i]);
120pBlockInterval->
SetTo(chromStart + blockStarts[
i] + blockSizes[
i]);
135 stringchrom =
"---";
136 stringchromStart =
"---";
137 stringchromEnd =
"---";
138 stringchromStrand =
"---";
146 stringthickStart =
"---";
147 stringthickEnd =
"---";
155vector<string> blockStrs;
157 stringblockStr =
"[";
162blockStrs.push_back(blockStr);
167 out<<
"CBedImportData:\n";
168 out<<
" Chrom = \""<< chrom <<
"\"\n";
169 out<<
" ChromStart = "<< chromStart <<
"\n";
170 out<<
" ChromEnd = "<< chromEnd <<
"\n";
171 out<<
" Name = \""<<
mName<<
"\"\n";
173 out<<
" Strand = "<< chromStrand <<
"\n";
174 out<<
" ThickStart = "<< thickStart <<
"\n";
175 out<<
" ThickEnd = "<< thickEnd <<
"\n";
191 intintScore =
static_cast<int>(score);
192 if(intScore == score) {
212 auto color=
r+
" "+
g+
" "+
b;
void xInitializeRgb(const RgbValue &)
CBedImportData(const CIdResolver &, CImportMessageHandler &)
void Initialize(const std::string &, TSeqPos, TSeqPos, const std::string &, double, ENa_strand, TSeqPos, TSeqPos, const RgbValue &, unsigned int, const std::vector< int > &, const std::vector< int > &)
CUser_object mDisplayData
virtual void Serialize(CNcbiOstream &) override
void xInitializeScore(double)
const CIdResolver & mIdResolver
CUser_object & AddField(const string &label, const string &value, EParseField parse=eParse_String)
add a data field to the user object that holds a given value
std::ofstream out("events_result.xml")
main entry point for tests
unsigned int TSeqPos
Type for sequence locations and lengths.
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
string GetSeqIdString(bool with_version=false) const
Return seqid string with optional version for text seqid type.
void SetPacked_int(TPacked_int &v)
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Override Assign() to incorporate cache invalidation.
void SetNull(void)
Override all setters to incorporate cache invalidation.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
static string IntToString(int value, TNumToStringFlags flags=0, int base=10)
Convert int to string.
static string Join(const TContainer &arr, const CTempString &delim)
Join strings using the specified delimiter.
virtual void Reset(void)
Reset the whole object.
void SetType(TType &value)
Assign a value to Type data member.
void SetTo(TTo value)
Assign a value to To data member.
ENa_strand
strand of nucleic acid
const Tdata & Get(void) const
Get the member data.
const TId & GetId(void) const
Get the Id member data.
void SetId(TId &value)
Assign a value to Id data member.
TFrom GetFrom(void) const
Get the From member data.
void SetFrom(TFrom value)
Assign a value to From data member.
virtual void Reset(void)
Reset the whole object.
TStrand GetStrand(void) const
Get the Strand member data.
TTo GetTo(void) const
Get the To member data.
bool IsInt(void) const
Check if variant Int is selected.
const TInt & GetInt(void) const
Get the variant data.
bool IsNull(void) const
Check if variant Null is selected.
void SetStrand(TStrand value)
Assign a value to Strand data member.
const TPacked_int & GetPacked_int(void) const
Get the variant data.
Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...
double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)
static DP_BlockInfo * blocks
int g(Seg_Gsm *spe, Seq_Mtf *psm, Thd_Gsm *tdg)
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