annotate tools/fastx_toolkit/fastq_quality_converter.xml @ 2:c2a356708570

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