view rapsodyn/SplitFileUpTo10x.xml @ 15:56d328bce3a7 draft default tip

Uploaded
author mcharles
date Thu, 29 Jan 2015 08:54:06 -0500
parents 0e7c6fe60646
children
line wrap: on
line source

<tool id="SplitFileUpTo10x" name="SplitFileUpTo10x" version="1.00">
<description>Split file in 2-10</description>
<command interpreter="perl">
    SplitFileUpTo10x.pl $input_file $line_number $file_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>
	<option value="tabular">tabular</option>
</param>
<param name="input_file"  type="data" format="txt,tabular,astq,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"/>
<param name="file_number" type="integer" value="4" label="Number of split files"/>
</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="tabular" format="tabular" />
		<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="tabular" format="tabular" />
		<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="tabular" format="tabular" />
		<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="tabular" format="tabular" />
		<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="tabular" format="tabular" />
		<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="tabular" format="tabular" />
		<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="tabular" format="tabular" />
		<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="tabular" format="tabular" />
		<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="tabular" format="tabular" />
		<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="tabular" format="tabular" />
		<when input="out_format" value="fastqsanger" format="fastqsanger" />
	</change_format>
</data>

</outputs>

<help>



</help>
</tool>