# HG changeset patch # User peterjc # Date 1486657485 18000 # Node ID 07b1cda830b3c52fa2092ad7f69f3589274d7138 # Parent abe637043e965cbb65ed772a8d659294097268c7 planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/predictnls commit 5fb6ee31f33e8e24c1ae5d56c93ac3e0157dad72-dirty diff -r abe637043e96 -r 07b1cda830b3 tools/predictnls/predictnls.py --- a/tools/predictnls/predictnls.py Fri Feb 03 12:52:45 2017 -0500 +++ b/tools/predictnls/predictnls.py Thu Feb 09 11:24:45 2017 -0500 @@ -50,8 +50,8 @@ """ import os +import re import sys -import re if len(sys.argv) == 4: fasta_filename, tabular_filename, re_filename = sys.argv[1:] @@ -136,6 +136,7 @@ yield name, seq raise StopIteration + motifs = list(load_re(re_filename)) print "Looking for %i NLS motifs" % len(motifs)