File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ BestConfig *best_init_option()
36
36
bo -> is_phyml_cons = 0 ;
37
37
bo -> n_cat = 2 ;
38
38
bo -> qual_thres = 11 ;
39
+ bo -> only_filter = 0 ;
39
40
bo -> prefix = 0 ;
40
41
bo -> output_fn = 0 ;
41
42
bo -> kappa = -1.0 ;
@@ -130,6 +131,9 @@ Tree *best_core(BestConfig *bo)
130
131
FILE * f_filtalign = fopen ("filtalign.fa" , "w" );
131
132
tr_align_output (f_filtalign , bo -> ma );
132
133
fclose (f_filtalign );
134
+ if (bo -> only_filter ) {
135
+ return 0 ;
136
+ }
133
137
134
138
tma = ma_trans_align (bo -> ma , 0 );
135
139
if (tma == 0 ) {
@@ -385,7 +389,11 @@ BestConfig *best_command_line_options(int argc, char *argv[])
385
389
case 'S' : bo -> is_phyml_spec = 0 ; break ;
386
390
case 'A' : bo -> is_phyml_cons = 1 ; break ;
387
391
case 'P' : bo -> is_phyml = 0 ; break ;
388
- case 'F' : bo -> qual_thres = atoi (optarg ); break ;
392
+ case 'F' : if (* optarg == 'x' ) {
393
+ bo -> only_filter = 1 ;
394
+ optarg ++ ;
395
+ }
396
+ bo -> qual_thres = atoi (optarg ); break ;
389
397
case 'c' : bo -> n_cat = atoi (optarg ); break ;
390
398
case 'C' : fp = tr_get_fp (optarg );
391
399
bo -> ctree = tr_parse_first (fp );
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ typedef struct
25
25
int is_mask_lss ;
26
26
int is_quiet ;
27
27
int qual_thres ;
28
+ int only_filter ;
28
29
29
30
/* PHYML related, passed to PhymlConfig */
30
31
int n_cat ;
You can’t perform that action at this time.
0 commit comments