changeset 27:69baebd10e54 draft

Uploaded
author davidvanzessen
date Wed, 07 Dec 2016 05:30:33 -0500
parents ce25fb581ca3
children c0ecc31829bd
files gene_identification.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gene_identification.py	Mon Dec 05 11:00:13 2016 -0500
+++ b/gene_identification.py	Wed Dec 07 05:30:33 2016 -0500
@@ -104,8 +104,10 @@
 for i in range(0, len(searchstrings["cm"]) - chunklength, chunklength / 2):
   compiledregex["cm"].append((re.compile(searchstrings["cm"][i:i+chunklength]), False))
 
-for i in range(0, len(searchstrings["ce"]) - chunklength, chunklength / 2):
+for i in range(0, len(searchstrings["ce"]) - chunklength + 1, chunklength / 2):
   compiledregex["ce"].append((re.compile(searchstrings["ce"][i:i+chunklength]), False))
+  
+print "ce chunks", len(compiledregex["ce"])
 
 
 def removeAndReturnMaxIndex(x): #simplifies a list comprehension