annotate chopper.xml @ 2:3470e4dbb1b3 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
author iuc
date Thu, 11 Dec 2025 19:38:38 +0000
parents 885c104a6667
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
1 <tool id="chopper" name="Chopper" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.2">
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
2 <description>Filtering and trimming of long reads.</description>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
3 <macros>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
4 <token name="@TOOL_VERSION@">0.12.0</token>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
5 <token name="@VERSION_SUFFIX@">1</token>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
6 </macros>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
7 <requirements>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">chopper</requirement>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
9 </requirements>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
10 <version_command>chopper --version</version_command>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
12 chopper
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
13
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
14 --input $input
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
15
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
16 #if $contam
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
17 --contam $contam
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
18 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
19
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
20 #if $option_params.quality
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
21 --quality $option_params.quality.value
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
22 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
23
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
24 #if $option_params.maxqual
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
25 --maxqual $option_params.maxqual.value
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
26 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
27
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
28 #if $option_params.minlength
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
29 --minlength $option_params.minlength.value
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
30 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
31
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
32 #if $option_params.maxlength
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
33 --maxlength $option_params.maxlength.value
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
34 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
35
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
36 #if $option_params.headcrop
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
37 --headcrop $option_params.headcrop.value
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
38 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
39
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
40 #if $option_params.tailcrop
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
41 --tailcrop $option_params.tailcrop.value
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
42 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
43
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
44 #if $option_params.mingc
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
45 --mingc $option_params.mingc.value
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
46 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
47
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
48 #if $option_params.maxgc
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
49 --maxgc $option_params.maxgc.value
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
50 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
51
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
52 ##output capture
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
53 #if $output_params.inverse == "yes"
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
54 $output_params.inverse
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
55 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
56
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
57
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
58 #if str($input.ext).endswith("gz")
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
59 | gzip > $fq_filt
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
60 #else
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
61 > $fq_filt
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
62 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
63
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
64 ]]></command>
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
65 <inputs>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
66 <param argument="--input" type="data" label="FASTQ file to check" format="fastqsanger.gz,fastqsanger" />
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
67 <param argument="--contam" type="data" format="fasta" optional="True" label="Reference FASTA" help="FASTA file with reference to check potential contaminants against."/>
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
68
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
69 <section name="option_params" title="Optional Parameters" expanded="True">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
70 <param argument="--quality" type="integer" label="Minimal quality score" value="0" min="0" max="60" help="Sets a minimum Phred average quality score."/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
71 <param argument="--maxqual" type="integer" label="Maximal quality score" value="60" min="0" max="60" help="Sets a maximum Phred average quality score."/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
72 <param argument="--minlength" type="integer" label="Sets a minimum read length" value="1" min="1" help="Minimal length of read to keep." optional="True"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
73 <param argument="--maxlength" type="integer" label="Sets a maximum read length" help="Maximal length of read to keep" optional="True"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
74 <param argument="--headcrop" type="integer" optional="True" label="Headcrop" value="0" min="0" help="Trim N nucleotides from the start of a read."/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
75 <param argument="--tailcrop" type="integer" optional="True" label="Tailcrop" value="0" min="0" help="Trim N nucleotides from the end of a read."/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
76 <param argument="--mingc" type="float" optional="True" label="Minimum GC content" value="0.0" min="0.0" max="1.0" help="Sets a minimum GC content for reads to keep."/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
77 <param argument="--maxgc" type="float" optional="True" label="Maximum GC content" value="1.0" min="0.0" max="1.0" help="Sets a maximum GC content for reads to keep."/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
78 <param argument="--trim" type="integer" label="Q-score cutoff to trim read ends" value="0" min="0" max="60" help="Takes a quality score and will trim the ends of the reads if they are below the specified cut-off (window-size = 1)."/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
79 </section>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
80 <section name="output_params" title="Output Parameters" expanded="False">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
81 <param argument="--inverse" type="boolean" checked="false" truevalue="--inverse" falsevalue="" label="Output the opposite of the normal results" help="Reverse the output results (aka, the 'failed reads')"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
82 </section>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
83 </inputs>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
84 <outputs>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
85 <data name="fq_filt" format_source="input" label="${tool.name} on ${on_string}" />
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
86 </outputs>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
87 <tests>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
88 <!-- 1) -->
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
89 <test expect_num_outputs="1">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
90 <param name="input" ftype="fastqsanger" value="other-test.fastq"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
91 <output name="fq_filt" ftype="fastqsanger">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
92 <assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
93 <has_text text="@35febf09-dcbc-424c-987e-9f3f80fe73a5"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
94 <has_text text="@3fda06e9-62ef-4448-9993-b90124a793d5"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
95 <has_text text="@19d9337f-4fb6-46e5-b484-14d05f562506"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
96 </assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
97 </output>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
98 </test>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
99 <!-- 2) -->
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
100 <test expect_num_outputs="1">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
101 <param name="input" ftype="fastqsanger" value="other-test.fastq"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
102 <param name="contam" value="random_contam.fa"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
103 <output name="fq_filt" ftype="fastqsanger">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
104 <assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
105 <has_text text="@35febf09-dcbc-424c-987e-9f3f80fe73a5"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
106 <has_text text="@3fda06e9-62ef-4448-9993-b90124a793d5"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
107 <has_text text="@19d9337f-4fb6-46e5-b484-14d05f562506"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
108 </assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
109 </output>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
110 </test>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
111 <!-- 3) -->
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
112 <test expect_num_outputs="1">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
113 <param name="input" ftype="fastqsanger" value="testGC.fastq"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
114 <section name="option_params">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
115 <param name="mingc" value="0.3"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
116 <param name="maxgc" value="0.8"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
117 </section>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
118 <output name="fq_filt" ftype="fastqsanger">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
119 <assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
120 <not_has_text text='@GC20'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
121 <not_has_text text='@GC0'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
122 <not_has_text text='@GC100'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
123 <has_text text='@GC50'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
124 <has_text text='@GC80'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
125 </assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
126 </output>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
127 </test>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
128 <!-- 4) fastqsanger -->
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
129 <test expect_num_outputs="1">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
130 <param name="input" ftype="fastqsanger" value="wrapping_as_sanger.fastqsanger"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
131 <section name="option_params">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
132 <param name="maxlength" value="136"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
133 </section>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
134 <output name="fq_filt" ftype="fastqsanger">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
135 <assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
136 <not_has_text text='@SRR014849.203935'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
137 <has_text text='@SRR014849.50939'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
138 <has_text text='@SRR014849.110027'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
139 </assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
140 </output>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
141 </test>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
142 <!-- 5) fastqsanger.gz -->
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
143 <test expect_num_outputs="1">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
144 <param name="input" ftype="fastqsanger.gz" value="wrapping_as_sanger.fastqsanger.gz"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
145 <section name="option_params">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
146 <param name="maxlength" value="136"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
147 </section>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
148 <output name="fq_filt" ftype="fastqsanger.gz" decompress="true">
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
149 <assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
150 <not_has_text text='@SRR014849.203935'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
151 <has_text text='@SRR014849.50939'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
152 <has_text text='@SRR014849.110027'/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
153 </assert_contents>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
154 </output>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
155 <assert_stderr>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
156 <has_text text="Kept 2 reads out of 3 reads"/>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
157 </assert_stderr>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
158 </test>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
159 </tests>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
160 <help><![CDATA[
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
161 **Chopper**
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
162
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
163 Rust implementation of NanoFilt+NanoLyse, both originally written in Python. This tool, intended for long read sequencing such as PacBio or ONT, filters and trims a fastq file.
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
164 Filtering is done on average read quality and minimal or maximal read length, and applying a headcrop (start of read) and tailcrop (end of read) while printing the reads passing the filter.
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
165
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
166 Compared to the Python implementation the scope is to deliver the same results, almost the same functionality, at much faster execution times. At the moment this tool does not support filtering using a sequencing_summary file.
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
167
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
168 **More Information**
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
169
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
170 - **Official Repository**: `Chopper on GitHub`_
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
171
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
172 .. _Chopper on GitHub: https://github.com/wdecoster/chopper
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
173
2
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
174 ]]></help>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
175 <citations>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
176 <citation type="doi">10.1093/bioinformatics/btad311</citation>
3470e4dbb1b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper commit f25e203bf4e1d06d021b9a12007431c6e1a33347
iuc
parents: 1
diff changeset
177 </citations>
0
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
178 </tool>