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

NCBI C++ ToolKit: src/app/vecscreen/vecscreen_app.cpp Source File

41 #include "../blast/blast_app_util.hpp" 43 #ifndef SKIP_DOXYGEN_PROCESSING 72

arg_desc->SetUsageContext(

GetArguments

().GetProgramBasename(),

73  "Vector screening tool, version "

+

75

arg_desc->SetCurrentGroup(

"Input query options"

);

76

arg_desc->AddDefaultKey(

kArgQuery

,

"input_file"

,

80

arg_desc->SetCurrentGroup(

"BLAST database options"

);

81

arg_desc->AddDefaultKey(

kArgDb

,

"dbname"

,

"BLAST database name"

,

84

arg_desc->SetCurrentGroup(

"Post-processing options"

);

85

arg_desc->AddDefaultKey(

"term-flex"

,

"int"

,

"terminal flexibility, in bases, default 25"

,

88

arg_desc->SetCurrentGroup(

"Output configuration options"

);

89

arg_desc->AddDefaultKey(

kArgOutput

,

"output_file"

,

"Output file name"

,

94  "VecScreen results options:\n" 95  " 0 = Show alignments pairwise,\n" 96  " 1 = Do not show alignments, just contaminated range offsets,\n" 97  " 2 = Contaminated ranges, as a blast-tabular-like report,\n" 98  " 3 = Contaminated ranges, as a series of json objects,\n" 99  " 4 = Seq-align-set ASN Text,\n" 100  " 5 = Seq-align-set ASN Text, no post-processing\n"

,

106

arg_desc->AddFlag(

"text_output"

,

"Produce text output?"

,

true

);

108

arg_desc->SetCurrentGroup(

""

);

124  const string

kDbName(args[

kArgDb

].AsString());

141  const bool

kHtmlOutput = !args[

"text_output"

].AsBoolean();

142  const TSeqPos

kTermFlex = args[

"term-flex"

].AsInteger();

145  while

( !

input

.End() ) {

150

query_batch->

GetScope

(0), kDbName, kTermFlex);

159 #ifndef SKIP_DOXYGEN_PROCESSING 160 int main

(

int

argc,

const char

* argv[]

)

#define CATCH_ALL(exit_code)

Standard catch statement for all BLAST command line programs.

#define BLAST_EXIT_SUCCESS

Command line binary exit code: success.

Interface for reading SRA sequences into blast input.

Declares the CBlastOptionsHandle and CBlastOptionsFactory classes.

@ eVecScreen

Vector screening.

Class to constrain the values of an argument to those in between the values specified in the construc...

Class representing a text file containing sequences in fasta format.

Class that centralizes the configuration data for sequences to be converted.

void SetQueryLocalIdMode()

Append query-specific prefix codes to all generated local ids.

Generalized converter from an abstract source of biological sequence data to collections of blast inp...

CRef< objects::CScope > GetScope(size_type i) const

Get the scope containing a query by index.

size_type Size() const

Returns the number of queries found in this query vector.

CConstRef< objects::CSeq_loc > GetQuerySeqLoc(size_type i) const

Get the query Seq-loc for a query by index.

Class whose purpose is to create CScope objects which have data loaders added with different prioriti...

CRef< objects::CScope > NewScope()

Create a new, properly configured CScope.

NCBI C++ Object Manager dependant implementation of IQueryFactory.

virtual void Init()

@inheritDoc

virtual int Run()

@inheritDoc

CVecScreenApp()

@inheritDoc

void FormatResults(CNcbiOstream &out, CRef< blast::CBlastOptionsHandle > vs_opts)

Format the VecScreen results.

@ eEndValue

Sentinel value, not an actual output format.

This class runs vecscreen.

const string kArgOutput

Output file name.

const string kDfltArgQuery

Default value for query sequence input.

const string kArgQuery

Query sequence(s)

const string kArgDb

BLAST database name.

void Print(const CCompactSAMApplication::AlignInfo &ai)

const int kDfltArgOutputFormat

Default value for formatted output type.

const char * kArgOutputFormat

Argument to select formatted output type.

static CBlastOptionsHandle * Create(EProgram program, EAPILocality locality=CBlastOptions::eLocal)

Creates an options handle object configured with default options for the requested program,...

void SetFullVersion(CRef< CVersionAPI > version)

Set version data for the program.

void HideStdArgs(THideStdArgs hide_mask)

Set the hide mask for the Hide Std Flags.

unsigned int TSeqPos

Type for sequence locations and lengths.

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.

const CNcbiArguments & GetArguments(void) const

Get the application's cached unprocessed command-line arguments.

@ fHideXmlHelp

Hide XML help description.

@ fHideLogfile

Hide log file description.

@ fHideFullVersion

Hide full version description.

@ fHideDryRun

Hide dryrun description.

@ fHideConffile

Hide configuration file description.

@ eInputFile

Name of file (must exist and be readable)

@ eString

An arbitrary string.

@ eOutputFile

Name of file (must be writable)

@ eInteger

Convertible into an integer number (int or Int8)

EDiagSev SetDiagPostLevel(EDiagSev post_sev=eDiag_Error)

Set the threshold severity for posting the messages.

@ eDS_Default

Try standard log file (app.name + ".log") in /log/, use stderr on failure.

@ eDiag_Warning

Warning message.

static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)

Convert numeric value to string.

const string version

version string

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

NOTE: This file contains work in progress and the APIs are likely to change, please do not rely on th...

Declares the CRemoteBlast class.

Configuration structure for the CBlastScopeSource.

void OptimizeForWholeLargeSequenceRetrieval(bool value=true)

Configures the BLAST database data loader to optimize the retrieval of *entire* large sequences.

@ eUseBlastDbDataLoader

Use the local BLAST database loader first, if this fails, use the remote BLAST database data loader.

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

const string kDefaultVectorDb

const TSeqPos kDefaultTerminalFlexibility


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