Mercurial > repos > peterjc > predictnls
changeset 8:07b1cda830b3 draft
planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/predictnls commit 5fb6ee31f33e8e24c1ae5d56c93ac3e0157dad72-dirty
author | peterjc |
---|---|
date | Thu, 09 Feb 2017 11:24:45 -0500 |
parents | abe637043e96 |
children | ddfffb16b98d |
files | tools/predictnls/predictnls.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)