#include <async_system_polymarker_tool.hpp>
|
| AsyncSystemPolymarkerTool (PolymarkerServiceJob *job_p, const PolymarkerSequence *seq_p, const PolymarkerServiceData *data_p) |
|
| AsyncSystemPolymarkerTool (PolymarkerServiceJob *job_p, const PolymarkerSequence *seq_p, const PolymarkerServiceData *data_p, const json_t *root_p) |
|
virtual | ~AsyncSystemPolymarkerTool () |
|
virtual bool | PreRun () |
| The function that will be called before trying to run this PolymarkerTool. More...
|
|
virtual bool | PostRun () |
| The function that will be called after running this PolymarkerTool. More...
|
|
virtual char * | GetLog () |
| Get the log after the PolymarkerTool has finished running. More...
|
|
virtual char * | GetResults (PolymarkerFormatter *formatter_p) |
| Get the results from the run of this PolymarkerTool. More...
|
|
virtual OperationStatus | Run () |
|
virtual OperationStatus | GetStatus (bool update_flag) |
| Get the OperationStatus for the ServiceJob that this PolymarkerTool is running. More...
|
|
virtual bool | ParseParameters (const ParameterSet *const param_set_p) |
| Parse a ParameterSet to set the variables that the PolymarkerTool's ServiceJob will run with. More...
|
|
virtual bool | AddToJSON (json_t *root_p) |
| Add the required information for this PolymarkerTool to be serialised to JSON and deserialised again. More...
|
|
virtual PolymarkerToolType | GetToolType () const |
| Get the PolymarkerToolType for this PolymarkerTool. More...
|
|
| PolymarkerTool (PolymarkerServiceJob *job_p, const PolymarkerSequence *seq_p, const PolymarkerServiceData *data_p) |
|
| PolymarkerTool (PolymarkerServiceJob *job_p, const PolymarkerSequence *seq_p, const PolymarkerServiceData *data_p, const json_t *root_p) |
|
virtual | ~PolymarkerTool () |
| The PolymarkerTool destructor. More...
|
|
const char * | GetName () |
| Get the name of this PolymarkerTool. More...
|
|
bool | AddSectionToResult (json_t *result_p, const char *const filename_s, const char *const key_s, PolymarkerFormatter *formatter_p) |
|
void | SetPolymarkerSequence (const PolymarkerSequence *seq_p) |
| Set the PolymarkerSequence that this PolymarkerTool will run against. More...
|
|
bool | SaveJobMetadata () const |
|
bool | SetJobMetadata () |
|
bool | SetJobUUID (const uuid_t id) |
|
void | FreePolymarkerTool (PolymarkerTool *tool_p) |
| Free a given PolymarkerTool. More...
|
|
OperationStatus | RunPolymarkerTool (PolymarkerTool *tool_p) |
| Run a given PolymarkerTool. More...
|
|
◆ AsyncSystemPolymarkerTool() [1/2]
◆ AsyncSystemPolymarkerTool() [2/2]
◆ ~AsyncSystemPolymarkerTool()
◆ PreRun()
The function that will be called before trying to run this PolymarkerTool.
- Returns
true
if the call was successful, false
otherwise
Reimplemented from PolymarkerTool.
◆ PostRun()
The function that will be called after running this PolymarkerTool.
- Returns
true
if the call was successful, false
otherwise
Implements PolymarkerTool.
◆ GetLog()
Get the log after the PolymarkerTool has finished running.
- Returns
- The logging messages as a c-style string or 0 upon error.
Implements PolymarkerTool.
◆ GetResults()
Get the results from the run of this PolymarkerTool.
- Parameters
-
- Returns
- The results as a c-style string or 0 upon error.
Implements PolymarkerTool.
◆ Run()
◆ GetStatus()
◆ ParseParameters()
virtual bool ParseParameters |
( |
const ParameterSet *const |
param_set_p | ) |
|
|
virtual |
◆ AddToJSON()
virtual bool AddToJSON |
( |
json_t * |
root_p | ) |
|
|
virtual |
Add the required information for this PolymarkerTool to be serialised to JSON and deserialised again.
This is called by each child class of PolymarkerTool all the way down to the actual PolymarkerTool child object that is being used.
- Parameters
-
root_p | The JSON fragment that the required details will be added to |
- Returns
true
if the information was added successfully, false
otherwise
Reimplemented from PolymarkerTool.
◆ GetToolType()
◆ CreateArgs()
bool CreateArgs |
( |
const char * |
input_s, |
|
|
char * |
output_s, |
|
|
char * |
contigs_s |
|
) |
| |
|
protected |
◆ GetInputFile()
TempFile* GetInputFile |
( |
const char * |
gene_id_s, |
|
|
const char * |
target_chromosome_s, |
|
|
const char * |
sequence_s |
|
) |
| |
|
protected |
◆ GetOutputFolder()
char* GetOutputFolder |
( |
| ) |
|
|
protected |
◆ GetStringParameter()
bool GetStringParameter |
( |
const ParameterSet *const |
params_p, |
|
|
const char * |
param_name_s, |
|
|
char ** |
param_value_ss |
|
) |
| |
|
protected |
◆ FreeCommandLineArgs()
void FreeCommandLineArgs |
( |
| ) |
|
|
protected |
◆ SetExecutable()
◆ aspt_executable_s
const char* aspt_executable_s |
|
protected |
◆ aspt_command_line_args_s
char* aspt_command_line_args_s |
|
protected |
The documentation for this class was generated from the following file: