diff find_subsequences.py @ 7:99f356eeba15 draft

planemo upload commit 7ff6d582464c6b7183e1acd421272167f8a2433f
author bgruening
date Tue, 05 Apr 2016 15:26:05 -0400
parents 53c20f28562e
children
line wrap: on
line diff
--- a/find_subsequences.py	Fri Apr 10 06:47:42 2015 -0400
+++ b/find_subsequences.py	Tue Apr 05 15:26:05 2016 -0400
@@ -34,7 +34,7 @@
     Simple regular expression search. This is way faster than the complex search.
     """
     bed_template = '%s\t%s\t%s\t%s\t%s\t%s\n'
-    for match in re.finditer( str(pattern), str(sequence.seq) ):
+    for match in re.finditer( str(pattern), str(sequence.seq), re.IGNORECASE ):
         outfile.write(bed_template % (sequence.id,  match.start(), match.end(), sequence.description, '', strand))