annotate fastq_quality_boxplot.xml @ 2:3987db70a4b0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
author iuc
date Tue, 08 May 2018 13:26:13 -0400
parents f95284aa2946
children 7cf5b1d072b5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
1 <tool id="cshl_fastq_quality_boxplot" name="Draw quality score boxplot" version="1.0.1">
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
2 <description></description>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
3 <macros>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
4 <import>macros.xml</import>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
5 </macros>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
6 <expand macro="requirements" />
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
8 #import re
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
9 #set escaped_element_identifier = re.sub('[^\w\-\s]', '_', str($input.element_identifier))
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
10 fastq_quality_boxplot_graph.sh
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
11 -t '$escaped_element_identifier'
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
12 -i '$input'
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
13 -o '$output'
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
14 ]]></command>
0
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
15
2
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
16 <inputs>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
17 <param name="input" type="data" format="txt" label="Statistics report file" help="output of 'FASTQ Statistics' tool" />
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
18 </inputs>
0
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
19
2
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
20 <outputs>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
21 <data name="output" format="png" metadata_source="input" />
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
22 </outputs>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
23 <tests>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
24 <test>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
25 <param name="input" value="fastq_quality_boxplot-in1.fastq" />
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
26 <output name="output" file="fastq_quality_boxplot-out1.png" compare="sim_size" delta="768" />
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
27 </test>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
28 </tests>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
29 <help><![CDATA[
0
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
30 **What it does**
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
31
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
32 Creates a boxplot graph for the quality scores in the library.
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
33
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
34 .. class:: infomark
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
35
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
36 **TIP:** Use the **FASTQ Statistics** tool to generate the report file needed for this tool.
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
37
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
38 -----
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
39
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
40 **Output Examples**
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
41
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
42 * Black horizontal lines are medians
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
43 * Rectangular red boxes show the Inter-quartile Range (IQR) (top value is Q3, bottom value is Q1)
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
44 * Whiskers show outlier at max. 1.5*IQR
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
45
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
46
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
47 An excellent quality library (median quality is 40 for almost all 36 cycles):
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
48
1
f95284aa2946 Add missing help images.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
49 .. image:: fastq_quality_boxplot_1.png
0
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
50
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
51
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
52 A relatively good quality library (median quality degrades towards later cycles):
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
53
1
f95284aa2946 Add missing help images.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
54 .. image:: fastq_quality_boxplot_2.png
0
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
55
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
56 A low quality library (median drops quickly):
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
57
1
f95284aa2946 Add missing help images.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
58 .. image:: fastq_quality_boxplot_3.png
0
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
59
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
60 ------
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
61
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
62 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
63
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
64 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
2
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
65 ]]></help>
3987db70a4b0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 1
diff changeset
66 <expand macro="citations" />
0
e359ce20fbd9 Uploaded tool tarball.
devteam
parents:
diff changeset
67 <!-- FASTQ-Quality-Boxplot is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->
1
f95284aa2946 Add missing help images.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
68 </tool>