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

NCBI C++ ToolKit: src/gui/packages/pkg_sequence/wiggle_export_job.cpp Source File

48

:

CAppJob

(

"Wiggle Export"

), m_Params(params)

62  string

path,

file

, ext;

64  if

(bam_index.empty()) {

65

bam_index = path +

file

+

".bai"

;

66  if

(!

CFile

(bam_index).Exists()) {

67

bam_index = path +

file

+

".csi"

;

75  auto id

= graph->GetLoc().GetId();

118

writer.

WriteAnnot

(new_annot ? *new_annot : *seq_annot);

123

err_msg =

"Failed to save file:\n"

;

127  if

(err_msg.empty()) {

User-defined methods of the data storage class.

User-defined methods of the data storage class.

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

CAppJob - default implementation of IAppJob that could be used as a base class.

static CRef< objects::CSeq_annot > CreateCoverageGraphs(const string &bam_file, const string &index_file, const string &annot_name, const string &assembly, int bin_size=1000, TSeqIdsVector *ids=0, bool is_esitmated=false, ICanceled *canceled=0)

static bool GetCoverageGraphInfo(const objects::CSeq_annot &seq_annot, string &bam_data, string &bam_index, string &assembly)

vector< CConstRef< objects::CSeq_id > > TSeqIdsVector

void SetCanceler(ICanceled *pCanceller)

CWiggleExportParams m_Params

CRef< objects::CSeq_annot > x_RecalculateGraph(const objects::CSeq_annot &seq_annot, objects::CScope &scope)

virtual EJobState Run()

Function that does all the useful work, called by the Engine.

CWiggleExportJob(const CWiggleExportParams &params)

wxString GetFileName() const

const TConstScopedObjects & GetObjects()

bool WriteAnnot(const CSeq_annot &, const string &="", const string &="") override

Write a raw Seq-annot to the internal output stream.

bool WriteFooter() override

Write a file trailer.

std::ofstream out("events_result.xml")

main entry point for tests

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#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.

void Info(CExceptionArgs_Base &args)

static void SplitPath(const string &path, string *dir=0, string *base=0, string *ext=0)

Split a path string into its basic components.

ICanceled * x_GetICanceled()

CRef< CAppJobError > m_Error

string m_Descr

mutex to sync our internals

EJobState

Job states (describe FSM)

virtual void x_SetStatusText(const string &text)

vector< SConstScopedObject > TConstScopedObjects

CConstRef< C > ConstRef(const C *object)

Template function for conversion of const object pointer to CConstRef.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

IO_PREFIX::ofstream CNcbiOfstream

Portable alias for ofstream.

const TGraph & GetGraph(void) const

Get the variant data.

const TData & GetData(void) const

Get the Data member data.

Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...


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