annotate fastq_quality_converter.xml @ 0:78a7d28f2a15 draft

Uploaded
author idot
date Wed, 10 Jul 2013 06:13:48 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
1 <tool id="cshl_fastq_quality_converter" name="Quality format converter">
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
2 <description>(ASCII-Numeric)</description>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
3 <command>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
4 cat '$input' |
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
5 fastq_quality_converter $QUAL_FORMAT -o '$output' -Q $offset</command>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
6 <inputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
7 <param format="fastq,fastqsanger" name="input" type="data" label="Library to convert" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
8
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
9 <param name="QUAL_FORMAT" type="select" label="Desired output format">
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
10 <option value="-a">ASCII (letters) quality scores</option>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
11 <option value="-n">Numeric quality scores</option>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
12 </param>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
13
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
14 <param name="offset" type="select" label="FASTQ ASCII offset">
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
15 <option value="33">33</option>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
16 <option selected="true" value="64">64</option>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
17 </param>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
18 </inputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
19
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
20 <tests>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
21 <test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
22 <!-- ASCII to NUMERIC -->
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
23 <param name="input" value="fastq_qual_conv1.fastq" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
24 <param name="QUAL_FORMAT" value="Numeric quality scores" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
25 <param name="offset" value="64" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
26 <output name="output" file="fastq_qual_conv1.out" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
27 </test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
28 <test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
29 <!-- ASCII to ASCII (basically, a no-op, but it should still produce a valid output -->
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
30 <param name="input" value="fastq_qual_conv1.fastq" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
31 <param name="QUAL_FORMAT" value="ASCII (letters) quality scores" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
32 <param name="offset" value="64" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
33 <output name="output" file="fastq_qual_conv1a.out" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
34 </test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
35 <test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
36 <!-- NUMERIC to ASCII -->
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
37 <param name="input" value="fastq_qual_conv2.fastq" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
38 <param name="QUAL_FORMAT" value="ASCII (letters) quality scores" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
39 <param name="offset" value="64" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
40 <output name="output" file="fastq_qual_conv2.out" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
41 </test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
42 <test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
43 <!-- NUMERIC to NUMERIC (basically, a no-op, but it should still produce a valid output -->
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
44 <param name="input" value="fastq_qual_conv2.fastq" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
45 <param name="QUAL_FORMAT" value="Numeric quality scores" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
46 <param name="offset" value="64" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
47 <output name="output" file="fastq_qual_conv2n.out" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
48 </test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
49 </tests>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
50
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
51 <outputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
52 <data format="input" name="output" metadata_source="input"
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
53 />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
54 </outputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
55 <help>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
56
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
57 **What it does**
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
58
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
59 Converts a Solexa FASTQ file to/from numeric or ASCII quality format.
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
60
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
61 .. class:: warningmark
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
62
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
63 Re-scaling is **not** performed. (e.g. conversion from Phred scale to Solexa scale).
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
64
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
65
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
66 -----
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
67
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
68 FASTQ with Numeric quality scores::
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
69
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
70 @CSHL__2_FC042AGWWWXX:8:1:120:202
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
71 ACGATAGATCGGAAGAGCTAGTATGCCGTTTTCTGC
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
72 +CSHL__2_FC042AGWWWXX:8:1:120:202
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
73 40 40 40 40 20 40 40 40 40 6 40 40 28 40 40 25 40 20 40 -1 30 40 14 27 40 8 1 3 7 -1 11 10 -1 21 10 8
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
74 @CSHL__2_FC042AGWWWXX:8:1:103:1185
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
75 ATCACGATAGATCGGCAGAGCTCGTTTACCGTCTTC
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
76 +CSHL__2_FC042AGWWWXX:8:1:103:1185
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
77 40 40 40 40 40 35 33 31 40 40 40 32 30 22 40 -0 9 22 17 14 8 36 15 34 22 12 23 3 10 -0 8 2 4 25 30 2
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
78
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
79
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
80 FASTQ with ASCII quality scores::
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
81
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
82 @CSHL__2_FC042AGWWWXX:8:1:120:202
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
83 ACGATAGATCGGAAGAGCTAGTATGCCGTTTTCTGC
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
84 +CSHL__2_FC042AGWWWXX:8:1:120:202
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
85 hhhhThhhhFhh\hhYhTh?^hN[hHACG?KJ?UJH
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
86 @CSHL__2_FC042AGWWWXX:8:1:103:1185
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
87 ATCACGATAGATCGGCAGAGCTCGTTTACCGTCTTC
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
88 +CSHL__2_FC042AGWWWXX:8:1:103:1185
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
89 hhhhhca_hhh`^Vh@IVQNHdObVLWCJ@HBDY^B
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
90
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
91 ------
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
92
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
93 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
94
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
95 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
96
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
97 </help>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
98 </tool>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
99 <!-- FASTQ-Quality-Converter is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->