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

NCBI C++ ToolKit: src/algo/ms/omssa/demo/readresult.cpp Source File

67

argDesc->AddDefaultKey(

"o"

,

"omssafile"

,

68  "file with results from omssa"

,

76 int main

(

int

argc,

const char

* argv[])

79  return

theTestApp.

AppMain

(argc, argv);

90  if

(args[

"o"

].AsString().

size

() > 0) {

92

unique_ptr<CObjectIStream>

101

CMSResponse::THitsets::const_iterator iHits;

106  for

(; iHits != Response.

GetHitsets

().end(); iHits++) {

111  if

( HitSet-> CanGetError() && HitSet->GetError() ==

118

CMSHitSet::THits::const_iterator iHit;

119

CMSHits::TPephits::const_iterator iPephit;

120  for

(iHit = HitSet->GetHits().begin();

121

iHit != HitSet->GetHits().end(); iHit++) {

122  ERR_POST

(

Info

<< (*iHit)->GetPepstring() <<

": "

<<

"P = "

<<

123

(*iHit)->GetPvalue() <<

" E = "

<<

124

(*iHit)->GetEvalue());

127  for

(iPephit = (*iHit)->GetPephits().begin();

128

iPephit != (*iHit)->GetPephits().end();

130  ERR_POST

(

Info

<< (*iPephit)->GetGi() <<

": "

<< (*iPephit)->GetStart() <<

"-"

<< (*iPephit)->GetStop() <<

":"

<< (*iPephit)->GetDefline());

136

}

catch

(exception& e) {

virtual void Init()

Initialize the application.

virtual int Run()

Run the application.

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.

@ eString

An arbitrary string.

EDiagSev SetDiagPostLevel(EDiagSev post_sev=eDiag_Error)

Set the threshold severity for posting the messages.

#define ERR_POST(message)

Error posting with file, line number information but without error codes.

@ eDiag_Info

Informational message.

void Fatal(CExceptionArgs_Base &args)

void Info(CExceptionArgs_Base &args)

@ eSerial_AsnText

ASN.1 text.

pair< TObjectPtr, TTypeInfo > ObjectInfo(C &obj)

static CObjectIStream * Open(ESerialDataFormat format, CNcbiIstream &inStream, bool deleteInStream)

Create serial object reader and attach it to an input stream.

const THitsets & GetHitsets(void) const

Get the Hitsets member data.

@ eMSHitError_notenuffpeaks

not enough peaks to search

const struct ncbi::grid::netcache::search::fields::SIZE size

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

Defines command line argument related classes.

Defines unified interface to application:

NCBI C++ stream class wrappers for triggering between "new" and "old" C++ stream libraries.

std::istream & in(std::istream &in_, double &x_)

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


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