r215: prepare for list-based binning

This commit is contained in:
Heng Li
2020-04-10 00:12:19 -04:00
parent 7a35bd7fcc
commit f32bfc904a
6 changed files with 50 additions and 33 deletions
+8 -3
View File
@@ -3,7 +3,7 @@
#include <pthread.h>
#define HA_VERSION "0.3.0-dirty-r213"
#define HA_VERSION "0.3.0-dirty-r214"
#define VERBOSE 0
@@ -20,8 +20,8 @@ typedef struct {
char** read_file_names;
char* output_file_name;
char* required_read_name;
char* pat_index;
char* mat_index;
char *fn_bin_yak[2];
char *fn_bin_list[2];
int thread_num;
int k_mer_length;
int mz_win;
@@ -66,4 +66,9 @@ void ha_opt_update_cov(hifiasm_opt_t *opt, int hom_cov);
int CommandLine_process(int argc, char *argv[], hifiasm_opt_t* asm_opt);
double Get_T(void);
static inline int ha_opt_triobin(const hifiasm_opt_t *opt)
{
return ((opt->fn_bin_yak[0] && opt->fn_bin_yak[1]) || (opt->fn_bin_list[0] && opt->fn_bin_list[1]));
}
#endif