view rapsodyn/SplitFile2x.xml @ 5:b0cbb9d21aa9 draft

Uploaded
author mcharles
date Mon, 22 Sep 2014 10:19:53 -0400
parents 442a7c88b886
children
line wrap: on
line source

<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>