7#include <configparser.hpp>
10#define PROGNAME "cawlign"
11#define DEFAULT_DATA_TYPE nucleotide
12#define DEFAULT_GENETIC_CODE "universal"
13#define DEFAULT_REFERENCE "HXB2_pol"
14#define DEFAULT_SCORING "Nucleotide-BLAST"
15#define DEFAULT_SPACE quadratic
16#define DEFAULT_LOCAL_TYPE trim
17#define DEFAULT_OUTPUT_FORMAT refmap
18#define DEFAULT_RC_TYPE none
20#include "stringBuffer.h"
23 #define VERSION_NUMBER "0.2.0"
27 #define LIBRARY_PATH "/usr/local/share/cawlign/"
30#define SCORES_SUBPATH "scoring"
31#define REF_SUBPATH "references"
32#define GENETIC_CODES_SUBPATH "genetic_codes"
78 out_format_t out_format;
79 rc_t reverse_complement;
84 bool include_reference;
89 args_t(
int,
const char ** );
93 void parse_input (
const char * );
94 void parse_reference (
const char * );
95 void parse_output (
const char * );
96 void parse_scores (
const char * );
97 void parse_quiet (
void );
98 void parse_affine (
void );
99 void parse_include_ref (
void );
100 void parse_rc (
const char * );
101 void parse_space_t (
const char * );
102 void parse_data_t (
const char * );
103 void parse_local_t (
const char * );
104 void parse_out_format_t (
const char * );
105 void parse_genetic_code (
const char * );
107 std::string code_name;
111 void ERROR_NO_USAGE (
const char * msg, ... );
114 std::ifstream check_file_path_stream (
const char* path,
const char * subpath);
Definition configparser.hpp:32
A simple string buffer class that allows for dynamic resizing.
Definition stringBuffer.h:12
~args_t()
Definition argparse.cpp:275
args_t(int, const char **)
Definition argparse.cpp:209