annotate fastq_quality_converter.xml @ 1:74db4cffab1f draft

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