annotate porechop.xml @ 7:18d17a5bfe11 draft

planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit da020fbee6e2bd91bc4a8d0850dc601db34ac82b
author jdv
date Sun, 15 Oct 2017 17:32:40 -0400
parents 15e64c5938e6
children 852b3fe95c20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
15e64c5938e6 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 083a08f96c17f3116dce1dc1573192860f41ed70-dirty
jdv
parents: 4
diff changeset
1 <tool id="porechop" name="Porechop" version="0.2.2">
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
2
1
3cf98e7f21b7 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 5c77d22b71a174dcbda8bb8f5780a12051337af4-dirty
jdv
parents: 0
diff changeset
3 <description>Demux and adapter removal</description>
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
4
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
5 <!-- ***************************************************************** -->
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
6
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
7 <!-- not yet working with Bioconda
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
8 <requirements>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
9 <requirement type="package" version="0.2.1">porechop</requirement>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
10 </requirements>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
11 -->
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
12
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
13 <!-- ***************************************************************** -->
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
14
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
15 <version_command>porechop --version</version_command>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
16
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
17 <!-- ***************************************************************** -->
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
18
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
19 <command detect_errors="aggressive">
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
20 <![CDATA[
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
21
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
22 #set filename = str($input.name)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
23
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
24 mkdir out &&
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
25
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
26 porechop
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
27
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
28 --input ${input}
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
29
2
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
30 --format ${out_format}
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
31
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
32 #if str($demux_section.demux_options.demux) == "yes":
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
33 --barcode_dir out
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
34 #else:
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
35 --output "out/$filename"
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
36 #end if
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
37
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
38 --threads \${GALAXY_SLOTS:-1}
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
39
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
40 ##--Demultiplex Options--------------------------
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
41
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
42 #if str($demux_section.demux_options.demux) == "yes":
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
43
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
44 --barcode_threshold $demux_section.demux_options.barcode_threshold
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
45 --barcode_diff $demux_section.demux_options.barcode_diff
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
46 $demux_section.demux_options.require_two_barcodes
4
40232a4e5a04 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 2a0c81f39a2d50819a327cb889f336b136612d60-dirty
jdv
parents: 3
diff changeset
47 $demux_section.demux_options.discard_unassigned
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
48
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
49 #end if
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
50
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
51 ##--Adapter Trim Options--------------------------
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
52
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
53 #if str($trim_section.trim_options.trim) == "yes":
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
54
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
55 --adapter_threshold $trim_section.trim_options.adapter_threshold
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
56 --check_reads $trim_section.trim_options.check_reads
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
57 --scoring_scheme $trim_section.trim_options.scoring_scheme
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
58
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
59 --end_size $trim_section.trim_options.end_size
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
60 --end_threshold $trim_section.trim_options.end_threshold
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
61 --min_trim_size $trim_section.trim_options.min_trim_size
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
62 --extra_end_trim $trim_section.trim_options.extra_end_trim
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
63
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
64 $trim_section.trim_options.discard_middle
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
65 --middle_threshold $trim_section.trim_options.middle_threshold
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
66 --extra_middle_trim_good_side $trim_section.trim_options.extra_middle_trim_good_side
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
67 --extra_middle_trim_bad_side $trim_section.trim_options.extra_middle_trim_bad_side
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
68 --min_split_read_size $trim_section.trim_options.min_split_read_size
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
69
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
70
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
71 #else:
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
72 --untrimmed
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
73
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
74 #end if
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
75
3
80408ff0c1f5 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 2a0c81f39a2d50819a327cb889f336b136612d60
jdv
parents: 2
diff changeset
76 | perl $__tool_directory__/porechop_summarize.pl
80408ff0c1f5 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 2a0c81f39a2d50819a327cb889f336b136612d60
jdv
parents: 2
diff changeset
77 > $result_table
80408ff0c1f5 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 2a0c81f39a2d50819a327cb889f336b136612d60
jdv
parents: 2
diff changeset
78
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
79 ]]>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
80 </command>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
81
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
82 <!-- ***************************************************************** -->
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
83
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
84 <inputs>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
85
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
86 <param argument="--input" type="data" format="fastq,fasta" label="Input reads" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
87
2
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
88 <param name="out_format" type="select" label="Output format">
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
89 <option value="fastq" selected="true">fastq</option>
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
90 <option value="fasta">fasta</option>
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
91 </param>
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
92
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
93 <section name="demux_section" title="Demultiplexing Options" expanded="True">
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
94 <conditional name="demux_options">
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
95 <param name="demux" type="select" label="Perform demultiplexing" help="">
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
96 <option value="no" selected="true">no</option>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
97 <option value="yes">yes</option>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
98 </param>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
99 <when value="no" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
100 <when value="yes">
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
101 <param argument="--barcode_threshold" size="5" type="float" value="75.0" min="0" max="100" label="Barcode threshold identity" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
102 <param argument="--barcode_diff" size="5" type="float" value="5.0" min="0" max="100" label="Barcode threshold difference" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
103 <param argument="--require_two_barcodes" type="boolean" truevalue="--require_two_barcodes" falsevalue="" checked="false" label="Require two barcodes" />
4
40232a4e5a04 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 2a0c81f39a2d50819a327cb889f336b136612d60-dirty
jdv
parents: 3
diff changeset
104 <param argument="--discard_unassigned" type="boolean" truevalue="--discard_unassigned" falsevalue="" checked="false" label="Discard unassigned reads" />
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
105 </when>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
106 </conditional>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
107 </section>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
108
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
109 <section name="trim_section" title="Trimming Options" expanded="True">
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
110 <conditional name="trim_options">
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
111 <param name="trim" type="select" label="Perform adapter trimming" help="">
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
112 <option value="no" selected="true">no</option>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
113 <option value="yes">yes</option>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
114 </param>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
115 <when value="no" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
116 <when value="yes">
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
117 <param argument="--adapter_threshold" size="4" type="float" value="90.0" min="0" max="100" label="Adapter set threshold identity" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
118 <param argument="--check_reads" size="7" type="integer" value="10000" label="Number of reads to check to determine adapter sets" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
119 <param argument="--barcode_diff" size="4" type="float" value="5.0" min="0" max="100" label="Barcode threshold difference" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
120 <param argument="--scoring_scheme" type="text" value="3,-6,-5,-2" label="Scoring scheme" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
121 <param argument="--end_size" size="4" type="integer" value="150" label="Number of terminal bases to search" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
122 <param argument="--min_trim_size" size="4" type="integer" value="4" label="Minimum adapter match length" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
123 <param argument="--extra_end_trim" size="4" type="integer" value="2" label="Adjacent bases to trim " />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
124 <param argument="--end_threshold" size="4" type="float" value="75.0" min="0" max="100" label="End adapter trim threshold identity" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
125
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
126 <param argument="--discard_middle" type="boolean" truevalue="--discard_middle" falsevalue="" checked="false" label="Discard reads with middle adapters" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
127 <param argument="--middle_threshold" size="4" type="float" value="85.0" min="0" max="100" label="Middle adapter trim threshold identity" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
128 <param argument="--extra_middle_trim_good_side" size="4" type="integer" value="10" label="Adjacent bases to trim on good side" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
129 <param argument="--extra_middle_trim_bad_side" size="4" type="integer" value="100" label="Adjacent bases to trim on bad side" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
130 <param argument="--min_split_read_size" size="4" type="integer" value="1000" label="Minimum length of split reads to keep" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
131 </when>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
132 </conditional>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
133 </section>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
134
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
135 </inputs>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
136
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
137 <!-- ***************************************************************** -->
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
138
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
139 <outputs>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
140
2
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
141 <collection type="list" name="output_collection_fastq" label="${tool.name} on ${on_string}">
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
142 <filter>out_format == 'fastq'</filter>
7
18d17a5bfe11 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit da020fbee6e2bd91bc4a8d0850dc601db34ac82b
jdv
parents: 6
diff changeset
143 <discover_datasets pattern="__designation_and_ext__" directory="out" format="fastqsanger" />
2
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
144 </collection>
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
145 <collection type="list" name="output_collection_fasta" label="${tool.name} on ${on_string}">
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
146 <filter>out_format == 'fasta'</filter>
7
18d17a5bfe11 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit da020fbee6e2bd91bc4a8d0850dc601db34ac82b
jdv
parents: 6
diff changeset
147 <discover_datasets pattern="__designation_and_ext__" directory="out" format="fasta" />
2
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
148 </collection>
f84a33bc5c3e planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 19e515145381f7a8b16662e33678df7087019f19
jdv
parents: 1
diff changeset
149
7
18d17a5bfe11 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit da020fbee6e2bd91bc4a8d0850dc601db34ac82b
jdv
parents: 6
diff changeset
150 <data format="tabular" name="result_table" label="${tool.name} on ${on_string} (summary)" />
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
151 </outputs>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
152
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
153 <!-- ***************************************************************** -->
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
154
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
155 <tests>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
156 <test>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
157 <param name="input" value="test_barcodes.fastq" ftype="fastq" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
158 <param name="demux" value="yes" />
6
15e64c5938e6 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 083a08f96c17f3116dce1dc1573192860f41ed70-dirty
jdv
parents: 4
diff changeset
159 <output_collection name="output_collection_fastq" type="list" count="4">
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
160 <element name="BC01.fastq" file="bar1/BC01.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
161 <element name="BC02.fastq" file="bar1/BC02.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
162 <element name="BC03.fastq" file="bar1/BC03.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
163 <element name="none.fastq" file="bar1/none.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
164 </output_collection>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
165 </test>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
166 <test>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
167 <param name="input" value="test_barcodes.fastq" ftype="fastq" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
168 <param name="demux" value="yes" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
169 <param name="require_two_barcodes" value="True" />
6
15e64c5938e6 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 083a08f96c17f3116dce1dc1573192860f41ed70-dirty
jdv
parents: 4
diff changeset
170 <output_collection name="output_collection_fastq" type="list" count="4">
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
171 <element name="BC01.fastq" file="bar2/BC01.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
172 <element name="BC02.fastq" file="bar2/BC02.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
173 <element name="BC03.fastq" file="bar2/BC03.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
174 <element name="none.fastq" file="bar2/none.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
175 </output_collection>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
176 </test>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
177 <test>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
178 <param name="input" value="test_barcodes.fastq" ftype="fastq" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
179 <param name="demux" value="yes" />
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
180 <param name="trim" value="yes" />
6
15e64c5938e6 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 083a08f96c17f3116dce1dc1573192860f41ed70-dirty
jdv
parents: 4
diff changeset
181 <param name="discard_unassigned" value="yes" />
15e64c5938e6 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit 083a08f96c17f3116dce1dc1573192860f41ed70-dirty
jdv
parents: 4
diff changeset
182 <output_collection name="output_collection_fastq" type="list" count="3">
0
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
183 <element name="BC01.fastq" file="bar1_trim/BC01.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
184 <element name="BC02.fastq" file="bar1_trim/BC02.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
185 <element name="BC03.fastq" file="bar1_trim/BC03.fastq" compare="diff" decompress="true"/>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
186 </output_collection>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
187 </test>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
188 </tests>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
189
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
190 <!-- ***************************************************************** -->
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
191
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
192 <help>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
193 <![CDATA[
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
194
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
195 **Description**
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
196
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
197 Porechop is a tool for finding and removing adapters from Oxford Nanopore
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
198 reads. Adapters on the ends of reads are trimmed off, and when a read has an
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
199 adapter in its middle, it is treated as chimeric and chopped into separate
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
200 reads. Porechop performs thorough alignments to effectively find adapters,
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
201 even at low sequence identity.
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
202
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
203 Porechop also supports demultiplexing of Nanopore reads that were barcoded
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
204 with the Native Barcoding Kit, PCR Barcoding Kit or Rapid Barcoding Kit.
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
205
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
206 **Options**
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
207 ::
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
208
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
209 *** Barcode binning settings ***
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
210
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
211 -b BARCODE_DIR, --barcode_dir BARCODE_DIR
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
212 Reads will be binned based on their barcode and saved to separate
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
213 files in this directory (incompatible with --output)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
214 --barcode_threshold BARCODE_THRESHOLD
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
215 A read must have at least this percent identity to a barcode to be
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
216 binned (default: 75.0)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
217 --barcode_diff BARCODE_DIFF If the difference between a read's best barcode identity and its
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
218 second-best barcode identity is less than this value, it will not be
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
219 put in a barcode bin (to exclude cases which are too close to call)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
220 (default: 5.0)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
221 --require_two_barcodes Reads will only be put in barcode bins if they have a strong match for
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
222 the barcode on both their start and end (default: a read can be binned
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
223 with a match at its start or end)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
224 --untrimmed Bin reads but do not trim the ends (appropriate if reads are to be
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
225 used with Nanopolish) (default: False)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
226
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
227 *** Adapter search settings ***
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
228
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
229 --adapter_threshold ADAPTER_THRESHOLD
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
230 An adapter set has to have at least this percent identity to be
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
231 labelled as present and trimmed off (0 to 100) (default: 90.0)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
232 --check_reads CHECK_READS This many reads will be aligned to all possible adapters to determine
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
233 which adapter sets are present (default: 10000)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
234 --scoring_scheme SCORING_SCHEME Comma-delimited string of alignment scores: match,mismatch, gap open,
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
235 gap extend (default: 3,-6,-5,-2)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
236
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
237 *** End adapter settings ***
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
238
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
239 --end_size END_SIZE The number of base pairs at each end of the read which will be
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
240 searched for adapter sequences (default: 150)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
241 --min_trim_size MIN_TRIM_SIZE Adapter alignments smaller than this will be ignored (default: 4)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
242 --extra_end_trim EXTRA_END_TRIM This many additional bases will be removed next to adapters found at
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
243 the ends of reads (default: 2)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
244 --end_threshold END_THRESHOLD Adapters at the ends of reads must have at least this percent identity
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
245 to be removed (0 to 100) (default: 75.0)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
246
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
247 *** Middle adapter settings ***
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
248
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
249 --discard_middle Reads with middle adapters will be discarded (default: reads with
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
250 middle adapters are split) (this option is on by default when
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
251 outputting reads into barcode bins)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
252 --middle_threshold MIDDLE_THRESHOLD
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
253 Adapters in the middle of reads must have at least this percent
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
254 identity to be found (0 to 100) (default: 85.0)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
255 --extra_middle_trim_good_side EXTRA_MIDDLE_TRIM_GOOD_SIDE
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
256 This many additional bases will be removed next to middle adapters on
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
257 their "good" side (default: 10)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
258 --extra_middle_trim_bad_side EXTRA_MIDDLE_TRIM_BAD_SIDE
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
259 This many additional bases will be removed next to middle adapters on
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
260 their "bad" side (default: 100)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
261 --min_split_read_size MIN_SPLIT_READ_SIZE
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
262 Post-split read pieces smaller than this many base pairs will not be
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
263 outputted (default: 1000)
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
264
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
265
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
266 ]]>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
267 </help>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
268
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
269 <!-- ***************************************************************** -->
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
270
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
271 <citations>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
272 </citations>
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
273
6b572c4f2ce1 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/porechop commit bf5788ad5a3293446a50a3246b44ba09174c9b71
jdv
parents:
diff changeset
274 </tool>