Skip to content

Commit 6eb7b25

Browse files
committed
Minor fix
1 parent c3b22d4 commit 6eb7b25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmdline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ int parse_cmd_line( int argc, char** argv, parameters* params)
169169
params->c_score = 0.5;
170170
else
171171
{
172-
params->c_score = atoi(min_rd_support);
172+
params->c_score = atof(min_rd_support);
173173
free( min_rd_support);
174174
}
175175

common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ typedef struct _params
7272
int min_read_length;
7373
int first_chrom; /*the first chromosome as indexed in the ref to be computer for. 0 by default*/
7474
int last_chrom; /*the last chromosome as indexed in the ref to be computer for. ref->chrom_count by default*/
75-
int c_score; /* Likelihood score threshold */
75+
float c_score; /* Likelihood score threshold */
7676
int mq_threshold; /* Minimum mapping quality */
7777
int rp_support; /* Minimum number of read-pairs needed to support duplications */
7878
char *ref_seq; /* reference sequence per chromosome */

0 commit comments

Comments
 (0)