annotate tools/fastq/fastq_combiner.xml @ 0:9071e359b9a3

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="fastq_combiner" name="Combine FASTA and QUAL" version="1.0.1">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>into FASTQ</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">fastq_combiner.py '$fasta_file' '${fasta_file.extension}' '$qual_file' '${qual_file.extension}' '$output_file' '$force_quality_encoding'</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param name="fasta_file" type="data" format="fasta,csfasta" label="FASTA File" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <param name="qual_file" type="data" format="qual" label="Quality Score File" optional="True" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 <param name="force_quality_encoding" type="select" label="Force Quality Score encoding">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <option value="None">Use Source Encoding</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <option value="ascii" selected="True">ASCII</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <option value="decimal">Decimal</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <data name="output_file" format="fastqsanger">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <change_format>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <when input_dataset="fasta_file" attribute="extension" value="csfasta" format="fastqcssanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <when input_dataset="qual_file" attribute="extension" value="qualsolid" format="fastqcssanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <when input_dataset="qual_file" attribute="extension" value="qualsolexa" format="fastqsolexa" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <when input_dataset="qual_file" attribute="extension" value="qualillumina" format="fastqillumina" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 </change_format>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <param name="fasta_file" value="s2fq_phiX.csfasta" ftype="csfasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <param name="qual_file" value="s2fq_phiX.qualsolid" ftype="qualsolid" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <param name="force_quality_encoding" value="None" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <output name="output_file" file="combine_phiX_out_1.fastqcssanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 <param name="fasta_file" value="s2fq_phiX.csfasta" ftype="csfasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 <param name="qual_file" value="s2fq_phiX.qualsolid" ftype="qualsolid" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 <param name="force_quality_encoding" value="ascii" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <output name="output_file" file="combine_phiX_out_2.fastqcssanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 <param name="fasta_file" value="fastq_combiner_in_1.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 <param name="qual_file" value="fastq_combiner_in_1.qual454" ftype="qual454" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 <param name="force_quality_encoding" value="None" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 <output name="output_file" file="wrapping_as_sanger.fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 <param name="fasta_file" value="fastq_combiner_in_1.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 <param name="qual_file" value="fastq_combiner_in_1.qual454" ftype="qual454" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 <param name="force_quality_encoding" value="decimal" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 <output name="output_file" file="wrapping_as_sanger_decimal.fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 <param name="fasta_file" value="fastq_combiner_in_1.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 <param name="qual_file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 <param name="force_quality_encoding" value="decimal" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 <output name="output_file" file="fastq_combiner_no_qual_decimal_out_1.fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 <param name="fasta_file" value="s2fq_phiX.csfasta" ftype="csfasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 <param name="qual_file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 <param name="force_quality_encoding" value="ascii" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 <output name="output_file" file="fastq_combiner_no_qual_ascii_out_1.fastqcssanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 This tool joins a FASTA file to a Quality Score file, creating a single FASTQ block for each read.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 Specifying a set of quality scores is optional; when not provided, the output will be fastqsanger or fastqcssanger (when a csfasta is provided) with each quality score being the maximal allowed value (93).
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 Use this tool, for example, to convert 454-type output to FASTQ.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 **Citation**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 If you use this tool, please cite `Blankenberg D, Gordon A, Von Kuster G, Coraor N, Taylor J, Nekrutenko A; Galaxy Team. Manipulation of FASTQ data with Galaxy. Bioinformatics. 2010 Jul 15;26(14):1783-5. &lt;http://www.ncbi.nlm.nih.gov/pubmed/20562416&gt;`_
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 </tool>