Mercurial > repos > mcharles > rapsosnp
diff rapsodyn/SplitFile2x.xml @ 0:442a7c88b886 draft
Uploaded
author | mcharles |
---|---|
date | Wed, 10 Sep 2014 09:18:15 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/SplitFile2x.xml Wed Sep 10 09:18:15 2014 -0400 @@ -0,0 +1,44 @@ +<tool id="SplitFile2x" name="SplitFile2x" version="0.01"> +<description>Split file in 2</description> +<command interpreter="perl"> + SplitFile2x.pl $input_file $line_number $output_file1 $output_file2 +</command> +<inputs> +<param name="out_format" type="select" label="Format"> + <option value="pileup">pileup</option> + <option value="fastq">fastq</option> + <option value="fastqsanger">fastqsanger</option> + <option value="sam">sam</option> + <option value="fasta">fasta</option> +</param> +<param name="input_file" type="data" format="fastq,fastqsanger,fastqillumina,pileup,sam,fasta" label="Select a suitable input file from your history"/> +<param name="line_number" type="integer" value="4" label="Number of line read at a time before splitting"/> +</inputs> +<outputs> +<data name="output_file1" format="txt" label="PART1 on ${on_string}"> + <change_format> + <when input="out_format" value="pileup" format="pileup" /> + <when input="out_format" value="fastq" format="fastq" /> + <when input="out_format" value="sam" format="sam" /> + <when input="out_format" value="fasta" format="fasta" /> + <when input="out_format" value="fastqsanger" format="fastqsanger" /> + </change_format> +</data> +<data name="output_file2" format="txt" label="PART2 on ${on_string}"> + <change_format> + <when input="out_format" value="pileup" format="pileup" /> + <when input="out_format" value="fastq" format="fastq" /> + <when input="out_format" value="sam" format="sam" /> + <when input="out_format" value="fasta" format="fasta" /> + <when input="out_format" value="fastqsanger" format="fastqsanger" /> + </change_format> +</data> + +</outputs> + +<help> + + + +</help> +</tool>