annotate chopper.xml @ 0:b248113ccb9d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
author iuc
date Wed, 24 Sep 2025 11:53:42 +0000
parents
children 885c104a6667
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">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
2 <description>Filtering and trimming of long reads.</description>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
3 <macros>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">0.11.0</token>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
6 </macros>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
7 <requirements>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">chopper</requirement>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
9 </requirements>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
10 <version_command>chopper --version</version_command>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
17 --contam $contam
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
21 --quality $option_params.quality.value
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
25 --maxqual $option_params.maxqual.value
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
29 --minlength $option_params.minlength.value
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
33 --maxlength $option_params.maxlength.value
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
37 --headcrop $option_params.headcrop.value
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
41 --tailcrop $option_params.tailcrop.value
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
45 --mingc $option_params.mingc.value
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
49 --maxgc $option_params.maxgc.value
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
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
57 #if $output_params.gzip == "no"
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
58 > $fq_filt
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
59 #else
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
60 | gzip > $fq_filt_gz
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
61 #end if
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
62
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
63 ]]></command>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
64 <inputs>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
65 <param argument="--input" type="data" label="FASTQ file to check" format="fastq,fastq.gz,fastqsanger.gz,fastqsanger" />
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
66 <param argument="--contam" type="data" format="fasta" optional="True" label="Reference FASTA" help="FASTA file with reference to check potential contaminants against."/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
67
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
68 <section name="option_params" title="Optional Parameters" expanded="True">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
69 <param argument="--quality" type="integer" label="Minimal quality score" value="0" min="0" max="60" help="Sets a minimum Phred average quality score."/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
70 <param argument="--maxqual" type="integer" label="Maximal quality score" value="60" min="0" max="60" help="Sets a maximum Phred average quality score."/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
71 <param argument="--minlength" type="integer" label="Sets a minimum read length" value="1" min="1" help="Minimal length of read to keep." optional="True"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
72 <param argument="--maxlength" type="integer" label="Sets a maximum read length" help="Maximal length of read to keep" optional="True"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
73 <param argument="--headcrop" type="integer" optional="True" label="Headcrop" value="0" min="0" help="Trim N nucleotides from the start of a read."/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
74 <param argument="--tailcrop" type="integer" optional="True" label="Tailcrop" value="0" min="0" help="Trim N nucleotides from the end of a read."/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
75 <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."/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
76 <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."/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
77 <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)."/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
78 </section>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
79
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
80 <section name="output_params" title="Output Parameters" expanded="False">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
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')"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
82 <param name="gzip" type="boolean" checked="true" truevalue="yes" falsevalue="no" label="Gzip output data" help="Set to 'no' to NOT gzip the output file [default gzip output]."/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
83 </section>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
84 </inputs>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
85
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
86 <outputs>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
87 <data name="fq_filt_gz" format="fastq.gz" label="${tool.name} on ${input.name} ($on_string), gzipped" >
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
88 <filter> output_params['gzip'] is True </filter>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
89 </data>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
90 <data name="fq_filt" format="fastq" label="${tool.name} on ${input.name} ($on_string)" >
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
91 <filter> output_params['gzip'] is False </filter>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
92 </data>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
93 </outputs>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
94
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
95 <tests>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
96 <test expect_num_outputs="1">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
97 <param name="input" value="other-test.fastq"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
98 <section name="output_params">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
99 <param name="gzip" value="false"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
100 </section>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
101 <output name="fq_filt">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
102 <assert_contents>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
103 <has_text text="@35febf09-dcbc-424c-987e-9f3f80fe73a5"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
104 <has_text text="@3fda06e9-62ef-4448-9993-b90124a793d5"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
105 <has_text text="@19d9337f-4fb6-46e5-b484-14d05f562506"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
106 </assert_contents>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
107 </output>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
108 </test>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
109 <test expect_num_outputs="1">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
110 <param name="input" value="other-test.fastq"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
111 <param name="contam" value="random_contam.fa"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
112 <output name="fq_filt" ftype="fastq.gz" decompress="true"> <!-- file="out2.fq.gz"/> -->
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
113 <assert_contents>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
114 <has_text text="@35febf09-dcbc-424c-987e-9f3f80fe73a5"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
115 <has_text text="@3fda06e9-62ef-4448-9993-b90124a793d5"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
116 <has_text text="@19d9337f-4fb6-46e5-b484-14d05f562506"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
117 </assert_contents>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
118 </output>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
119 </test>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
120 <test expect_num_outputs="1">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
121 <param name="input" value="testGC.fastq"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
122 <section name="option_params">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
123 <param name="mingc" value="0.3"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
124 <param name="maxgc" value="0.8"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
125 </section>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
126 <section name="output_params">
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
127 <param name="gzip" value="false"/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
128 </section>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
129 <output name="fq_filt" >
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
130 <assert_contents>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
131 <not_has_text text='@GC20'/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
132 <not_has_text text='@GC0'/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
133 <not_has_text text='@GC100'/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
134 <has_text text='@GC50'/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
135 <has_text text='@GC80'/>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
136 </assert_contents>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
137 </output>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
138 </test>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
139 </tests>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
140 <help><![CDATA[
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
141 **Chopper**
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
142
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
143 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
144 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
145
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
146 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
147
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
148 **More Information**
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
149
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
150 - **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
151
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
152 .. _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
153
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
154 ]]></help>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
155 <citations>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
156 <citation type="doi">10.1093/bioinformatics/btad311</citation>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
157 </citations>
b248113ccb9d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/chopper/ commit 56d3f713ca5685bb56f65386c224fdf54d443ea6
iuc
parents:
diff changeset
158 </tool>