Mercurial > repos > mcharles > rapsosnp
comparison rapsodyn/SplitFile4x.xml @ 0:442a7c88b886 draft
Uploaded
author | mcharles |
---|---|
date | Wed, 10 Sep 2014 09:18:15 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:442a7c88b886 |
---|---|
1 <tool id="SplitFile4x" name="SplitFile4x" version="0.01"> | |
2 <description>Split file in 4</description> | |
3 <command interpreter="perl"> | |
4 SplitFile4x.pl $input_file $line_number $output_file1 $output_file2 $output_file3 $output_file4 | |
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 <data name="output_file3" format="txt" label="PART3 on ${on_string}"> | |
37 <change_format> | |
38 <when input="out_format" value="pileup" format="pileup" /> | |
39 <when input="out_format" value="fastq" format="fastq" /> | |
40 <when input="out_format" value="sam" format="sam" /> | |
41 <when input="out_format" value="fasta" format="fasta" /> | |
42 <when input="out_format" value="fastqsanger" format="fastqsanger" /> | |
43 </change_format> | |
44 </data> | |
45 <data name="output_file4" format="txt" label="PART4 on ${on_string}"> | |
46 <change_format> | |
47 <when input="out_format" value="pileup" format="pileup" /> | |
48 <when input="out_format" value="fastq" format="fastq" /> | |
49 <when input="out_format" value="sam" format="sam" /> | |
50 <when input="out_format" value="fasta" format="fasta" /> | |
51 <when input="out_format" value="fastqsanger" format="fastqsanger" /> | |
52 </change_format> | |
53 </data> | |
54 | |
55 </outputs> | |
56 | |
57 <help> | |
58 | |
59 | |
60 | |
61 </help> | |
62 </tool> |