Mercurial > repos > peterjc > sample_seqs
diff tools/sample_seqs/sample_seqs.xml @ 4:d3aa9f25c24c draft
v0.2.2 use format_source and other internal changes
author | peterjc |
---|---|
date | Wed, 05 Aug 2015 12:30:18 -0400 |
parents | 02c13ef1a669 |
children | 6b71ad5d43fb |
line wrap: on
line diff
--- a/tools/sample_seqs/sample_seqs.xml Fri Mar 27 09:34:27 2015 -0400 +++ b/tools/sample_seqs/sample_seqs.xml Wed Aug 05 12:30:18 2015 -0400 @@ -1,9 +1,14 @@ -<tool id="sample_seqs" name="Sub-sample sequences files" version="0.2.1"> +<tool id="sample_seqs" name="Sub-sample sequences files" version="0.2.2"> <description>e.g. to reduce coverage</description> <requirements> <requirement type="package" version="1.65">biopython</requirement> <requirement type="python-module">Bio</requirement> </requirements> + <stdio> + <!-- Anything other than zero is an error --> + <exit_code range="1:" /> + <exit_code range=":-1" /> + </stdio> <version_command interpreter="python">sample_seqs.py --version</version_command> <command interpreter="python"> sample_seqs.py -f "$input_file.ext" -i "$input_file" -o "$output_file" @@ -18,11 +23,6 @@ --interleaved #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" help="FASTA, FASTQ, or SFF format." /> <conditional name="sampling"> @@ -45,7 +45,7 @@ <param name="interleaved" type="boolean" label="Interleaved paired reads" help="This mode keeps paired reads together (e.g. take every 5th read pair)" /> </inputs> <outputs> - <data name="output_file" format="input" metadata_source="input_file" label="${input_file.name} (sub-sampled)"/> + <data name="output_file" format_source="input_file" metadata_source="input_file" label="${input_file.name} (sub-sampled)"/> </outputs> <tests> <test>