view rapsodyn/SplitFile10x.xml @ 8:d857538d9fea draft

Uploaded
author mcharles
date Fri, 10 Oct 2014 07:05:36 -0400
parents 3f7b0788a1c4
children
line wrap: on
line source

<tool id="SplitFile10x" name="SplitFile10x" version="1.00">
<description>Split file in 10</description>
<command interpreter="perl">
    SplitFile10x.pl $input_file $line_number $output_file1 $output_file2 $output_file3 $output_file4 $output_file5 $output_file6 $output_file7 $output_file8 $output_file9 $output_file10
</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>
<data name="output_file5" format="txt" label="PART5 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_file6" format="txt" label="PART6 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_file7" format="txt" label="PART7 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_file8" format="txt" label="PART8 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_file9" format="txt" label="PART9 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_file10" format="txt" label="PART10 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>