changeset 24:a3d660e900b1 draft

planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/effectiveT3 commit 7a746d55f0e8456992ee11c49a507285f9f39383-dirty
author peterjc
date Fri, 03 Feb 2017 12:49:54 -0500
parents 69ab4d862db2
children 69ba0f4e91af
files tools/effectiveT3/effectiveT3.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tools/effectiveT3/effectiveT3.py	Wed Feb 01 09:20:27 2017 -0500
+++ b/tools/effectiveT3/effectiveT3.py	Fri Feb 03 12:49:54 2017 -0500
@@ -32,8 +32,7 @@
 if not os.path.isfile(fasta_file):
     sys.exit("Input FASTA file not found: %s" % fasta_file)
 
-if threshold not in ["selective", "sensitive"] \
-    and not threshold.startswith("cutoff="):
+if threshold not in ["selective", "sensitive"] and not threshold.startswith("cutoff="):
     sys.exit("Threshold should be selective, sensitive, or cutoff=..., not %r" % threshold)
 
 
@@ -43,8 +42,7 @@
     positive = 0
     errors = 0
     for line in raw_handle:
-        if not line or line.startswith("#") \
-            or line.startswith("Id; Description; Score;"):
+        if not line or line.startswith("#") or line.startswith("Id; Description; Score;"):
             continue
         assert line.count(";") >= 3, repr(line)
         # Normally there will just be three semi-colons, however the