view rapsodyn/SplitFile4x.xml @ 14:93e6f2af1ce2 draft

Uploaded
author mcharles
date Mon, 26 Jan 2015 18:10:52 -0500
parents 442a7c88b886
children
line wrap: on
line source

<tool id="SplitFile4x" name="SplitFile4x" version="0.01">
<description>Split file in 4</description>
<command interpreter="perl">
    SplitFile4x.pl $input_file $line_number $output_file1 $output_file2 $output_file3 $output_file4 
</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>
<data name="output_file3" format="txt" label="PART3 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_file4" format="txt" label="PART4 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>