annotate nanopore_qc.xml @ 1:73bc3179799c draft

planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
author jvolkening
date Sat, 02 Mar 2024 05:11:41 +0000
parents e0006d8bf849
children 5c7848b91964
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
1 <tool id="nanopore_qc" name="NanoporeQC" version="0.003">
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
2
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
3 <description>Quality report for nanopore data</description>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
4
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
5 <requirements>
1
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
6 <requirement type="package">r-ggplot2</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
7 <requirement type="package">r-dplyr</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
8 <requirement type="package">r-tidyr</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
9 <requirement type="package">r-readr</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
10 <requirement type="package">r-yaml</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
11 <requirement type="package">r-scales</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
12 <requirement type="package">r-futile.logger</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
13 <requirement type="package">r-data.table</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
14 <requirement type="package">r-optparse</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
15 <requirement type="package">r-ragg</requirement>
73bc3179799c planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit 10173d865618a699c4108cee35692414a73e9b3e-dirty
jvolkening
parents: 0
diff changeset
16 <requirement type="package">perl-yaml-libyaml</requirement>
0
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
17 </requirements>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
18
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
19 <stdio>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
20 <exit_code range="1:" level="fatal" description="Unknown error" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
21 <exit_code range=":-1" level="fatal" description="Unknown error" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
22 </stdio>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
23
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
24 <version_command>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
25 <![CDATA[
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
26 echo '0.003'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
27 ]]>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
28 </version_command>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
29
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
30 <command>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
31 <![CDATA[
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
32
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
33 mkdir -p '${html_file.files_path}'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
34
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
35 &&
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
36
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
37 Rscript '${__tool_directory__}/nanopore_qc.R'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
38 -i '$input'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
39 -o '${html_file.files_path}'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
40 -q '$q_cutoff'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
41 $discard_failed
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
42
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
43 &&
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
44
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
45 perl '${__tool_directory__}/yaml_to_html.pl'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
46
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
47 '${html_file.files_path}/summary.yaml'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
48 '${html_file.files_path}'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
49 '$html_file'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
50
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
51 ]]>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
52 </command>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
53
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
54 <inputs>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
55 <param name="input" type="data" format="tabular" label="Basecall summary file from Albacore"/>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
56 <param name="q_cutoff" type="float" value="10" min="0" label="Quality cutoff for QC calculations" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
57 <param name="discard_failed" type="boolean" checked="false" truevalue="--discard_failed T" falsevalue="" label="Ignore reads failing quality filter" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
58 </inputs>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
59 <outputs>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
60 <data format="html" name="html_file" label="NanoporeQC on ${on_string}" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
61 </outputs>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
62 <tests>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
63 <!-- binary image blobs can differ, which is why we use line matching
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
64 instead of file matching -->
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
65
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
66 <!-- quality cutoff 10 -->
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
67 <test>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
68 <param name="input" value="sequencing_summary.txt.small" ftype="tabular" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
69 <param name="q_cutoff" value="10" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
70 <output name="html_file">
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
71 <assert_contents>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
72 <has_text_matching expression="&lt;td&gt;Total Reads&lt;/td&gt;\s*&lt;td&gt;9990&lt;/td&gt;" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
73 <has_text_matching expression="&lt;td&gt;Total Reads&lt;/td&gt;\s*&lt;td&gt;7952&lt;/td&gt;" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
74 </assert_contents>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
75 </output>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
76 </test>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
77
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
78 <!-- quality cutoff 6 -->
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
79 <test>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
80 <param name="input" value="sequencing_summary.txt.small" ftype="tabular" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
81 <param name="q_cutoff" value="6" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
82 <output name="html_file">
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
83 <assert_contents>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
84 <has_text_matching expression="&lt;td&gt;Total Reads&lt;/td&gt;\s*&lt;td&gt;9990&lt;/td&gt;" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
85 <has_text_matching expression="&lt;td&gt;Total Reads&lt;/td&gt;\s*&lt;td&gt;9254&lt;/td&gt;" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
86 </assert_contents>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
87 </output>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
88 </test>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
89
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
90 <!-- quality cutoff 6, discard filtered -->
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
91 <test>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
92 <param name="input" value="sequencing_summary.txt.small" ftype="tabular" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
93 <param name="q_cutoff" value="6" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
94 <param name="discard_failed" value="true" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
95 <output name="html_file">
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
96 <assert_contents>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
97 <has_text_matching expression="&lt;td&gt;Total Reads&lt;/td&gt;\s*&lt;td&gt;9107&lt;/td&gt;" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
98 <has_text_matching expression="&lt;td&gt;Total Reads&lt;/td&gt;\s*&lt;td&gt;9107&lt;/td&gt;" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
99 </assert_contents>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
100 </output>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
101 </test>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
102
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
103 <!-- Dorado output -->
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
104 <test>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
105 <param name="input" value="dorado.txt.small" ftype="tabular" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
106 <param name="q_cutoff" value="6" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
107 <output name="html_file">
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
108 <assert_contents>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
109 <has_text_matching expression="&lt;td&gt;Total Reads&lt;/td&gt;\s*&lt;td&gt;31&lt;/td&gt;" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
110 <has_text_matching expression="&lt;td&gt;Total Reads&lt;/td&gt;\s*&lt;td&gt;29&lt;/td&gt;" />
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
111 </assert_contents>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
112 </output>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
113 </test>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
114
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
115 </tests>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
116 <help>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
117 <![CDATA[
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
118 `NanoporeQC` produces a QC report for nanopore sequencing data. It utilizes
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
119 the summary table produced by Albacore, which saves time by avoiding the
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
120 need to re-parse the FAST5 read data. `NanoporeQC` was originally forked
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
121 from the `minion_qc` codebase (https://github.com/roblanf/minion_qc).
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
122
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
123 There are only two tuneable parameters. The 'quality cutoff' sets a
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
124 threshold for plotting: two summaries are produced for each table and plot
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
125 -- one for all reads (with length >= 0) and one for reads with a quality
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
126 value greater than the cutoff. 'Ignore reads failing quality filter'
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
127 indicates whether to include or exclude failing reads from the QC plots.
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
128 ]]>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
129 </help>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
130 <citations>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
131 <citation type='doi'>10.1093/bioinformatics/bty654</citation>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
132 </citations>
e0006d8bf849 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff changeset
133 </tool>