0
|
1 <tool id="SplitFile2x" name="SplitFile2x" version="0.01">
|
|
2 <description>Split file in 2</description>
|
|
3 <command interpreter="perl">
|
|
4 SplitFile2x.pl $input_file $line_number $output_file1 $output_file2
|
|
5 </command>
|
|
6 <inputs>
|
|
7 <param name="out_format" type="select" label="Format">
|
|
8 <option value="pileup">pileup</option>
|
|
9 <option value="fastq">fastq</option>
|
|
10 <option value="fastqsanger">fastqsanger</option>
|
|
11 <option value="sam">sam</option>
|
|
12 <option value="fasta">fasta</option>
|
|
13 </param>
|
|
14 <param name="input_file" type="data" format="fastq,fastqsanger,fastqillumina,pileup,sam,fasta" label="Select a suitable input file from your history"/>
|
|
15 <param name="line_number" type="integer" value="4" label="Number of line read at a time before splitting"/>
|
|
16 </inputs>
|
|
17 <outputs>
|
|
18 <data name="output_file1" format="txt" label="PART1 on ${on_string}">
|
|
19 <change_format>
|
|
20 <when input="out_format" value="pileup" format="pileup" />
|
|
21 <when input="out_format" value="fastq" format="fastq" />
|
|
22 <when input="out_format" value="sam" format="sam" />
|
|
23 <when input="out_format" value="fasta" format="fasta" />
|
|
24 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
25 </change_format>
|
|
26 </data>
|
|
27 <data name="output_file2" format="txt" label="PART2 on ${on_string}">
|
|
28 <change_format>
|
|
29 <when input="out_format" value="pileup" format="pileup" />
|
|
30 <when input="out_format" value="fastq" format="fastq" />
|
|
31 <when input="out_format" value="sam" format="sam" />
|
|
32 <when input="out_format" value="fasta" format="fasta" />
|
|
33 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
34 </change_format>
|
|
35 </data>
|
|
36
|
|
37 </outputs>
|
|
38
|
|
39 <help>
|
|
40
|
|
41
|
|
42
|
|
43 </help>
|
|
44 </tool>
|