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