diff tools/filters/seq_filter_by_id.xml @ 2:abdd608c869b draft

Uploaded v0.0.5, checked script return code for errors X copes with a FASTA entry missing an ID.
author peterjc
date Wed, 24 Apr 2013 11:34:12 -0400
parents 262f08104540
children
line wrap: on
line diff
--- a/tools/filters/seq_filter_by_id.xml	Mon Apr 15 12:27:30 2013 -0400
+++ b/tools/filters/seq_filter_by_id.xml	Wed Apr 24 11:34:12 2013 -0400
@@ -1,4 +1,4 @@
-<tool id="seq_filter_by_id" name="Filter sequences by ID" version="0.0.4">
+<tool id="seq_filter_by_id" name="Filter sequences by ID" version="0.0.5">
 	<description>from a tabular file</description>
 	<version_command interpreter="python">seq_filter_by_id.py --version</version_command>
 	<command interpreter="python">
@@ -11,6 +11,11 @@
  - $output_neg
 #end if
 	</command>
+        <stdio>
+                <!-- Anything other than zero is an error -->
+                <exit_code range="1:" />
+                <exit_code range=":-1" />
+        </stdio>
 	<inputs>
 		<param name="input_file" type="data" format="fasta,fastq,sff" label="Sequence file to filter on the identifiers" help="FASTA, FASTQ, or SFF format." />
 		<param name="input_tabular" type="data" format="tabular" label="Tabular file containing sequence identifiers"/>