Mercurial > repos > peterjc > tmhmm_and_signalp
comparison tools/protein_analysis/signalp3.py @ 23:e1996f0f4e85 draft default tip
"v0.2.13 - Python 3 fix for raising StopIteration"
author | peterjc |
---|---|
date | Thu, 17 Jun 2021 17:59:33 +0000 |
parents | 238eae32483c |
children |
comparison
equal
deleted
inserted
replaced
22:e1afa4b0b682 | 23:e1996f0f4e85 |
---|---|
65 | 65 |
66 FASTA_CHUNK = 500 | 66 FASTA_CHUNK = 500 |
67 MAX_LEN = 6000 # Found by trial and error | 67 MAX_LEN = 6000 # Found by trial and error |
68 | 68 |
69 if "-v" in sys.argv or "--version" in sys.argv: | 69 if "-v" in sys.argv or "--version" in sys.argv: |
70 print("SignalP Galaxy wrapper version 0.0.19") | 70 print("SignalP Galaxy wrapper version 0.0.20") |
71 sys.exit(os.system("signalp -version")) | 71 sys.exit(os.system("signalp -version")) |
72 | 72 |
73 if len(sys.argv) not in [6, 8]: | 73 if len(sys.argv) not in [6, 8]: |
74 sys.exit( | 74 sys.exit( |
75 "Require five (or 7) arguments, organism, truncate, threads, " | 75 "Require five (or 7) arguments, organism, truncate, threads, " |