9
|
1 <tool id="SplitFileUpTo10x" name="SplitFileUpTo10x" version="1.00">
|
|
2 <description>Split file in 2-10</description>
|
|
3 <command interpreter="perl">
|
|
4 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
|
|
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 <option value="tabular">tabular</option>
|
|
14 </param>
|
|
15 <param name="input_file" type="data" format="txt,tabular,astq,fastqsanger,fastqillumina,pileup,sam,fasta" label="Select a suitable input file from your history"/>
|
|
16 <param name="line_number" type="integer" value="4" label="Number of line read at a time before splitting"/>
|
|
17 <param name="file_number" type="integer" value="4" label="Number of split files"/>
|
|
18 </inputs>
|
|
19 <outputs>
|
|
20 <data name="output_file1" format="txt" label="PART1 on ${on_string}">
|
|
21 <change_format>
|
|
22 <when input="out_format" value="pileup" format="pileup" />
|
|
23 <when input="out_format" value="fastq" format="fastq" />
|
|
24 <when input="out_format" value="sam" format="sam" />
|
|
25 <when input="out_format" value="fasta" format="fasta" />
|
|
26 <when input="out_format" value="tabular" format="tabular" />
|
|
27 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
28 </change_format>
|
|
29 </data>
|
|
30 <data name="output_file2" format="txt" label="PART2 on ${on_string}">
|
|
31 <change_format>
|
|
32 <when input="out_format" value="pileup" format="pileup" />
|
|
33 <when input="out_format" value="fastq" format="fastq" />
|
|
34 <when input="out_format" value="sam" format="sam" />
|
|
35 <when input="out_format" value="fasta" format="fasta" />
|
|
36 <when input="out_format" value="tabular" format="tabular" />
|
|
37 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
38 </change_format>
|
|
39 </data>
|
|
40 <data name="output_file3" format="txt" label="PART3 on ${on_string}">
|
|
41 <change_format>
|
|
42 <when input="out_format" value="pileup" format="pileup" />
|
|
43 <when input="out_format" value="fastq" format="fastq" />
|
|
44 <when input="out_format" value="sam" format="sam" />
|
|
45 <when input="out_format" value="fasta" format="fasta" />
|
|
46 <when input="out_format" value="tabular" format="tabular" />
|
|
47 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
48 </change_format>
|
|
49 </data>
|
|
50 <data name="output_file4" format="txt" label="PART4 on ${on_string}">
|
|
51 <change_format>
|
|
52 <when input="out_format" value="pileup" format="pileup" />
|
|
53 <when input="out_format" value="fastq" format="fastq" />
|
|
54 <when input="out_format" value="sam" format="sam" />
|
|
55 <when input="out_format" value="fasta" format="fasta" />
|
|
56 <when input="out_format" value="tabular" format="tabular" />
|
|
57 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
58 </change_format>
|
|
59 </data>
|
|
60 <data name="output_file5" format="txt" label="PART5 on ${on_string}">
|
|
61 <change_format>
|
|
62 <when input="out_format" value="pileup" format="pileup" />
|
|
63 <when input="out_format" value="fastq" format="fastq" />
|
|
64 <when input="out_format" value="sam" format="sam" />
|
|
65 <when input="out_format" value="fasta" format="fasta" />
|
|
66 <when input="out_format" value="tabular" format="tabular" />
|
|
67 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
68 </change_format>
|
|
69 </data>
|
|
70 <data name="output_file6" format="txt" label="PART6 on ${on_string}">
|
|
71 <change_format>
|
|
72 <when input="out_format" value="pileup" format="pileup" />
|
|
73 <when input="out_format" value="fastq" format="fastq" />
|
|
74 <when input="out_format" value="sam" format="sam" />
|
|
75 <when input="out_format" value="fasta" format="fasta" />
|
|
76 <when input="out_format" value="tabular" format="tabular" />
|
|
77 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
78 </change_format>
|
|
79 </data>
|
|
80 <data name="output_file7" format="txt" label="PART7 on ${on_string}">
|
|
81 <change_format>
|
|
82 <when input="out_format" value="pileup" format="pileup" />
|
|
83 <when input="out_format" value="fastq" format="fastq" />
|
|
84 <when input="out_format" value="sam" format="sam" />
|
|
85 <when input="out_format" value="fasta" format="fasta" />
|
|
86 <when input="out_format" value="tabular" format="tabular" />
|
|
87 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
88 </change_format>
|
|
89 </data>
|
|
90 <data name="output_file8" format="txt" label="PART8 on ${on_string}">
|
|
91 <change_format>
|
|
92 <when input="out_format" value="pileup" format="pileup" />
|
|
93 <when input="out_format" value="fastq" format="fastq" />
|
|
94 <when input="out_format" value="sam" format="sam" />
|
|
95 <when input="out_format" value="fasta" format="fasta" />
|
|
96 <when input="out_format" value="tabular" format="tabular" />
|
|
97 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
98 </change_format>
|
|
99 </data>
|
|
100 <data name="output_file9" format="txt" label="PART9 on ${on_string}">
|
|
101 <change_format>
|
|
102 <when input="out_format" value="pileup" format="pileup" />
|
|
103 <when input="out_format" value="fastq" format="fastq" />
|
|
104 <when input="out_format" value="sam" format="sam" />
|
|
105 <when input="out_format" value="fasta" format="fasta" />
|
|
106 <when input="out_format" value="tabular" format="tabular" />
|
|
107 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
108 </change_format>
|
|
109 </data>
|
|
110 <data name="output_file10" format="txt" label="PART10 on ${on_string}">
|
|
111 <change_format>
|
|
112 <when input="out_format" value="pileup" format="pileup" />
|
|
113 <when input="out_format" value="fastq" format="fastq" />
|
|
114 <when input="out_format" value="sam" format="sam" />
|
|
115 <when input="out_format" value="fasta" format="fasta" />
|
|
116 <when input="out_format" value="tabular" format="tabular" />
|
|
117 <when input="out_format" value="fastqsanger" format="fastqsanger" />
|
|
118 </change_format>
|
|
119 </data>
|
|
120
|
|
121 </outputs>
|
|
122
|
|
123 <help>
|
|
124
|
|
125
|
|
126
|
|
127 </help>
|
|
128 </tool>
|