Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
Go to the documentation of this file.
29 #ifndef SERVER_SRC_SERVICES_BLAST_INCLUDE_BLAST_UTIL_H_
30 #define SERVER_SRC_SERVICES_BLAST_INCLUDE_BLAST_UTIL_H_
The datatype that stores all of the information about a Parameter.
Definition: parameter.h:121
bool AddArgsPairFromIntegerParameter(const ParameterSet *params_p, const char *const param_name_s, const char *key_s, ArgsProcessor *ap_p, const bool unsigned_flag, const bool required_flag)
Get the value of an integer-based Parameter and add it as key-value pair to the command line argument...
bool AddBlastArgs(const Parameter *param_p, ArgsProcessor *ap_p)
Add an argument derived from the current value of a Parameter to an ArgsProcessor.
bool AddArgsPair(const char *key_s, const char *value_s, ArgsProcessor *ap_p)
Add a pair of arguments to the command line arguments stored in a ByteBuffer.
bool WriteCommandLineToFile(const char *command_line_s, const char *filename_s)
bool AddArg(const char *arg_s, ArgsProcessor *ap_p, bool hyphen_flag)
Add the argument to the command line arguments stored in a ByteBuffer.
char * GetBlastJobFilename(const char *const prefix_s, const char *job_id_s, const char *const suffix_s)
char * GetBlastJobFilenameByUuid(const char *const prefix_s, const uuid_t id, const char *const suffix_s)
#define BLAST_SERVICE_LOCAL
Definition: blast_service_api.h:48
bool GetAndAddBlastArgs(const ParameterSet *param_set_p, const char *param_name_s, bool required_flag, ArgsProcessor *ap_p)
Get the named Parameter from a ParameterSet and add it to an ArgsProcessor.
bool AddArgsPairFromStringParameter(const ParameterSet *params_p, const char *const param_name_s, const char *key_s, ArgsProcessor *ap_p, const bool required_flag)
Get the value of an string-based Parameter and add it as key-value pair to the command line arguments...
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46
An ArgsProcessor is a class to abstract out how a particular BlastTool stores a value when an argumen...
Definition: args_processor.hpp:46
Definition: windows_uuid.h:43