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

NCBI C++ ToolKit: src/algo/align/util/demo/demo_score_builder.cpp Source File

54  virtual void Init

(

void

);

55  virtual int Run

(

void

);

56  virtual void Exit

(

void

);

69

arg_desc->AddDefaultKey(

"i"

,

"InputFile"

,

70  "Seq-align to evaluate"

,

74

arg_desc->AddDefaultKey(

"o"

,

"OutputFile"

,

105

ostr <<

"alignment length: "

<< sb.

GetAlignLength

(align) << endl;

113

ostr <<

"identities + mismatches: " 114

<< identities <<

" / "

<< mismatches << endl;

137 int main

(

int

argc,

const char

* argv[])

virtual int Run(void)

Run the application.

virtual void Exit(void)

Cleanup on application exit.

virtual void Init(void)

Initialize the application.

static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, CReader *reader=0, CObjectManager::EIsDefault is_default=CObjectManager::eDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)

TSeqPos GetAlignLength(const CSeq_align &align, bool ungapped=false)

Compute the length of the alignment (= length of all segments, gaps + aligned)

int GetIdentityCount(CScope &scope, const CSeq_align &align)

Compute the number of identities in the alignment.

int GetMismatchCount(CScope &scope, const CSeq_align &align)

Compute the number of mismatches in the alignment.

int ComputeTieBreaker(const CSeq_align &align)

int main(int argc, const char *argv[])

virtual const CArgs & GetArgs(void) const

Get parsed command line arguments.

int AppMain(int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString)

Main function (entry point) for the NCBI application.

virtual void SetupArgDescriptions(CArgDescriptions *arg_desc)

Setup the command line argument descriptions.

@ eInputFile

Name of file (must exist and be readable)

@ eOutputFile

Name of file (must be writable)

void SetDiagStream(CNcbiOstream *os, bool quick_flush=true, FDiagCleanup cleanup=0, void *cleanup_data=0, const string &stream_name="")

Set diagnostic stream.

#define MSerial_AsnText

I/O stream manipulators –.

static CRef< CObjectManager > GetInstance(void)

Return the existing object manager or create one.

void AddDefaults(TPriority pri=kPriority_Default)

Add default data loaders from object manager.

IO_PREFIX::ostream CNcbiOstream

Portable alias for ostream.

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

Defines command line argument related classes.

Defines unified interface to application:

CRef< objects::CObjectManager > om


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