diff options
author | Calvin <calvin@EESI> | 2013-05-15 11:18:11 -0400 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-05-15 11:18:11 -0400 |
commit | 8f32a80e865bd1bbde4c15be3f1d7ce9c3f9a430 (patch) | |
tree | c6c9f208a9708ef5ce55efc0387c809efc36d5a5 /src/c/quikr.c | |
parent | 75c8047886584b2beb81402ad2a6903857dfabda (diff) |
cleanup kmer/lambda default values
Diffstat (limited to 'src/c/quikr.c')
-rw-r--r-- | src/c/quikr.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/c/quikr.c b/src/c/quikr.c index b85fb3b..bb21093 100644 --- a/src/c/quikr.c +++ b/src/c/quikr.c @@ -18,7 +18,6 @@ int main(int argc, char **argv) { int c; - int kmer = 0; char *input_fasta_filename = NULL; char *sensing_matrix_filename = NULL; @@ -27,9 +26,15 @@ int main(int argc, char **argv) { int x = 0; int y = 0; + int verbose = 0; int debug = 0; - int lambda = 0; + + int lambda = 10000; + int kmer = 6; + + int width = 0; + int sequences = 0; while (1) { static struct option long_options[] = { @@ -107,10 +112,6 @@ int main(int argc, char **argv) { exit(EXIT_FAILURE); } - if(lambda == 0) - lambda = 10000; - if(kmer == 0) - kmer = 6; if(verbose) { printf("kmer: %d\n", kmer); @@ -121,10 +122,10 @@ int main(int argc, char **argv) { printf("output: %s\n", output_filename); } // 4 "ACGT" ^ Kmer gives us the size of output rows - int width = pow(4, kmer); + width = pow(4, kmer); width = width + 1; - int sequences = count_sequences(sensing_fasta_filename); + sequences = count_sequences(sensing_fasta_filename); if(verbose) { printf("width: %d\nsequences %d\n", width, sequences); |