Skip to content

Commit

Permalink
Fixed bug where TT 25 wasn't using TTG start, release 2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hyattpd committed Feb 19, 2015
1 parent e4bf41b commit f1086e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
v2.6.2: January 2015
v2.6.2: February 2015
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -27,7 +27,7 @@
#include "gene.h"

#define VERSION "2.6.2"
#define DATE "January, 2015"
#define DATE "February, 2015"

#define MIN_SINGLE_GENOME 20000
#define IDEAL_SINGLE_GENOME 100000
Expand Down
2 changes: 1 addition & 1 deletion sequence.c
Expand Up @@ -346,7 +346,7 @@ int is_start(unsigned char *seq, int n, struct _training *tinf) {
/* TTG */
if(is_t(seq, n) == 1 && is_t(seq, n+1) == 1 && is_g(seq, n+2) == 1) {
if(tinf->trans_table < 4 || tinf->trans_table == 9 ||
tinf->trans_table >= 21) return 0;
(tinf->trans_table >= 21 && tinf->trans_table < 25)) return 0;
return 1;
}

Expand Down

0 comments on commit f1086e4

Please sign in to comment.