This class is for converting the output of a blast job between the available different formats.
More...
#include <blast_formatter.h>
This class is for converting the output of a blast job between the available different formats.
The input format must be "BLAST archive format (ASN.1)"
◆ BlastFormatter()
◆ ~BlastFormatter()
◆ GetConvertedOutputFilename()
static char* GetConvertedOutputFilename |
( |
const char *const |
filename_s, |
|
|
const uint32 |
output_format_code |
|
) |
| |
|
static |
Get the output filename for the converted output in a given format.
- Parameters
-
filename_s | The full path to the filename to convert. |
output_format_code | The required output format code. |
output_format_code_ss | The string for the format code gets stored here. |
- Returns
- The full path to the output filename for the given output format code or 0 upon error.
◆ GetConvertedOutput()
virtual char* GetConvertedOutput |
( |
const char * |
job_id_s, |
|
|
const uint32 |
output_format_code, |
|
|
const char * |
custom_format_s, |
|
|
const struct BlastServiceData * |
data_p |
|
) |
| |
|
pure virtual |
The function to get the converted output as a c-style string.
- Parameters
-
input_filename_s | The file that is in "BLAST archive format (ASN.1)" format. |
output_format_code | The required output code. |
- Returns
- The converted output or
NULL
upon error.
- See also
- BlastOutputFormat
◆ IsCustomisableOutputFormat()
static bool IsCustomisableOutputFormat |
( |
const uint32 |
output_format_code | ) |
|
|
static |
The documentation for this class was generated from the following file: