Mercurial > repos > iuc > mothur_make_fastq
comparison make.fastq.xml @ 0:c49147967884 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
author | iuc |
---|---|
date | Fri, 19 May 2017 05:33:34 -0400 |
parents | |
children | 2a3cc9dcd6fb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c49147967884 |
---|---|
1 <tool profile="16.07" id="mothur_make_fastq" name="Make.fastq" version="@WRAPPER_VERSION@.0"> | |
2 <description>Convert fasta and quality to fastq</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <expand macro="stdio"/> | |
8 <expand macro="version_command"/> | |
9 <command><![CDATA[ | |
10 @SHELL_OPTIONS@ | |
11 | |
12 ## create symlinks to input datasets | |
13 ln -s "$fasta" fasta.dat && | |
14 ln -s "$qfile" qfile.dat && | |
15 | |
16 echo 'make.fastq( | |
17 fasta=fasta.dat, | |
18 qfile=qfile.dat | |
19 #if $chooseformat.use == "yes": | |
20 ,format=${chooseformat.format} | |
21 #end if | |
22 )' | |
23 | sed 's/ //g' ## mothur trips over whitespace | |
24 | mothur | |
25 | tee mothur.out.log | |
26 ]]></command> | |
27 <inputs> | |
28 <param name="fasta" type="data" format="fasta" label="fasta - Fasta Sequence file"/> | |
29 <param name="qfile" type="data" format="qual454,qualillumina,qualsolid,qual" label="qfile - Sequence Quality file"/> | |
30 <conditional name="chooseformat"> | |
31 <param name="use" type="select" label="Choose quality format for your output sequences are" help="If none selected, this tool will keep the format of input qfile"> | |
32 <option value="no" selected="true">no</option> | |
33 <option value="yes">yes</option> | |
34 </param> | |
35 <when value="yes"> | |
36 <param name="format" type="select" optional="true" multiple="true"> | |
37 <option value="sanger" selected="true">sanger</option> | |
38 <option value="illumina1.8+">Illumina 1.8+</option> | |
39 <option value="illumina">Illumina</option> | |
40 </param> | |
41 </when> | |
42 <when value="no"/> | |
43 </conditional> | |
44 </inputs> | |
45 <outputs> | |
46 <expand macro="logfile-output"/> | |
47 <data name="fastq" format="fasta" from_work_dir="fasta*.fastq" label="${tool.name} on ${on_string}: fastq"> | |
48 <change_format><!-- if set, chooseformat.format param should override qfile.ext format --> | |
49 <when input="qfile.ext" value="qual454" format="fastqsanger"/> | |
50 <when input="qfile.ext" value="qualillumina" format="fastqillumina"/> | |
51 <when input="qfile.ext" value="qualsolid" format="fastqcssanger"/> | |
52 <when input="chooseformat.format" value="sanger" format="fastqsanger"/> | |
53 <when input="chooseformat.format" value="illumina1.8+" format="fastqsanger"/> | |
54 <when input="chooseformat.format" value="illumina" format="fastqillumina"/> | |
55 </change_format> | |
56 </data> | |
57 </outputs> | |
58 <tests> | |
59 <test><!-- test defaults --> | |
60 <param name="fasta" value="Mock_S280_L001_R1_001_small.trim.contigs.fasta"/> | |
61 <param name="qfile" value="Mock_S280_L001_R1_001_small.trim.contigs.qual" ftype="qual454"/> | |
62 <output name="fastq" md5="e77b78321620e300946c23147ad599fd" ftype="fastqsanger"/> | |
63 <expand macro="logfile-test"/> | |
64 </test> | |
65 <test><!-- test with quality score format conversion --> | |
66 <param name="fasta" value="Mock_S280_L001_R1_001_small.trim.contigs.fasta"/> | |
67 <param name="qfile" value="Mock_S280_L001_R1_001_small.trim.contigs.qual" ftype="qual454"/> | |
68 <param name="use" value="yes"/> | |
69 <param name="format" value="illumina"/> | |
70 <output name="fastq" md5="c792253da205d4d1c66bc87a2969aa25" ftype="fastqillumina"/> | |
71 <expand macro="logfile-test"/> | |
72 </test> | |
73 </tests> | |
74 <help> | |
75 <![CDATA[ | |
76 | |
77 @MOTHUR_OVERVIEW@ | |
78 | |
79 **Command Documentation** | |
80 | |
81 The fastq.info_ command reads a fasta file and quality file and creates a fastq. | |
82 | |
83 | |
84 .. _fastq.info: https://www.mothur.org/wiki/Make.fastq | |
85 ]]> | |
86 </help> | |
87 <expand macro="citations"/> | |
88 </tool> |