annotate fast_fastq_filter.xml @ 1:6ee24ca51829 draft default tip

"planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
author rhpvorderman
date Wed, 08 Jun 2022 07:49:43 +0000
parents 5f0d949db99e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
1 <tool id="fast_fastq_filter" name="fastq-filter" version="0.3.0" python_template_version="3.5" profile="16.04">
0
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
2 <description>filter FASTQ reads fast</description>
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
3 <requirements>
1
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
4 <requirement type="package" version="0.3.0">fastq-filter</requirement>
0
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
5 <!-- TODO: Remove this once biocontainer is published -->
1
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
6 <container type="docker">quay.io/rhpvorderman/fastq-filter:0.3.0</container>
0
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
7 </requirements>
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
9 set -e;
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
10 fastq-filter
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
11 #if str($filters.minimum_length.enabled) == "true"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
12 --min-length $filters.minimum_length.threshold
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
13 #end if
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
14 #if str($filters.maximum_length.enabled) == "true"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
15 --max-length $filters.maximum_length.threshold
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
16 #end if
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
17 #if str($filters.average_error_rate.enabled) == "true"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
18 --average-error-rate $filters.average_error_rate.threshold
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
19 #end if
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
20 #if str($filters.mean_quality.enabled) == "true"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
21 --mean-quality $filters.mean_quality.threshold
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
22 #end if
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
23 #if str($filters.median_quality.enabled) == "true"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
24 --median-quality $filters.median_quality.threshold
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
25 #end if
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
26 --verbose
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
27 -o '${output1}.gz'
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
28 #if str($library.type) == "paired":
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
29 -o ${output2}.gz
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
30 #end if
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
31
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
32 '$library.input_1'
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
33 #if str($library.type) == "paired":
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
34 '$library.input_2'
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
35 #end if
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
36 ;
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
37
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
38 mv '${output1}.gz' '$output1';
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
39 #if str($library.type) == "paired":
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
40 mv '${output2}.gz' '$output2';
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
41 #end if
0
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
42 ]]></command>
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
43 <inputs>
1
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
44 <conditional name="library">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
45 <param name="type" type="select" label="Single-end or Paired-end reads?">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
46 <option value="single">Single-end</option>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
47 <option value="paired">Paired-end</option>
0
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
48 </param>
1
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
49 <when value="single">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
50 <param type="data" name="input_1" label="Input FASTQ file" format="fastqsanger,fastqsanger.gz" />
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
51 </when>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
52 <when value="paired">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
53 <param type="data" name="input_1" label="Input FASTQ file #1" format="fastqsanger,fastqsanger.gz" />
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
54 <param type="data" name="input_2" label="Input FASTQ file #2" format="fastqsanger,fastqsanger.gz" />
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
55 </when>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
56 </conditional>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
57 <section name="filters" title="Filters" expanded="true">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
58 <conditional name="minimum_length">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
59 <param name="enabled" type="boolean" label="Minimum length"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
60 help="The minimum length for a read."/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
61 <when value="true">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
62 <param name="threshold" type="integer" label="Threshold"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
63 value="20" min="1"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
64 </when>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
65 <when value="false"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
66 </conditional>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
67 <conditional name="maximum_length">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
68 <param name="enabled" type="boolean" label="Maximum length"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
69 help="The maximum length for a read."/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
70 <when value="true">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
71 <param name="threshold" type="integer" label="Threshold"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
72 value="1000" min="1"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
73 </when>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
74 <when value="false"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
75 </conditional>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
76 <conditional name="average_error_rate">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
77 <param name="enabled" type="boolean" label="Average error rate"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
78 help="The minimum average per base error rate."/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
79 <when value="true">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
80 <param name="threshold" type="float" label="Threshold"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
81 value="0.001" min="0"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
82 </when>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
83 <when value="false"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
84 </conditional>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
85 <conditional name="mean_quality">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
86 <param name="enabled" type="boolean" label="Mean quality">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
87 <help>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
88 Average quality. Same as the 'Average error rate' option but
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
89 specified with a phred score. I.e a mean quality of 30 is
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
90 equivalent to an average error rate of 0.001'.
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
91 </help>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
92 </param>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
93 <when value="true">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
94 <param name="threshold" type="integer" label="Threshold"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
95 value="30" min="0"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
96 </when>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
97 <when value="false"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
98 </conditional>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
99 <conditional name="median_quality">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
100 <param name="enabled" type="boolean" label="Median quality">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
101 <help>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
102 DEPRECATED: The minimum median phred score. This is not as
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
103 informative as the average error rate. It is also slower to
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
104 calculate. This filter is only included for backwards
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
105 compatibility reasons.
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
106 </help>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
107 </param>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
108 <when value="true">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
109 <param name="threshold" type="integer" label="Threshold"
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
110 value="30" min="0"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
111 </when>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
112 <when value="false"/>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
113 </conditional>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
114 </section>
0
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
115 </inputs>
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
116 <outputs>
1
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
117 <data name="output1" format="fastqsanger.gz" />
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
118 <data name="output2" format="fastqsanger.gz">
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
119 <filter>library['type'] == 'paired'</filter>
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
120 </data>
0
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
121 </outputs>
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
122 <help><![CDATA[
1
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
123 When paired FASTQ data is given, fastq-filter makes sure the output is in
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
124 sync. The filters behave as follows for paired-end data:
0
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
125
1
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
126 + average error rate: The average of the combined phred scores is used.
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
127 + median quality: The median of the combined phred scores is used.
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
128 + Minimum length: at least one of the records of the pair must meet the minimum length.
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
129 + Maximum length: None of the records in the pair must exceed the maximum length.
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
130
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
131 The rationale for the length filters is that R1 and R2 both sequence the same
6ee24ca51829 "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit a4a3ab70c61a5ea14719002eb72a34a02b5d89e3"
rhpvorderman
parents: 0
diff changeset
132 molecule and the canonical length is the longest of both.
0
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
133
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
134 ]]></help>
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
135 <citations>
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
136 <citation type="bibtex">
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
137 @misc{githubfastq-filter,
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
138 author = {Vorderman, Ruben Harmen Paul},
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
139 year = {2021},
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
140 title = {fastq-filter},
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
141 publisher = {GitHub},
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
142 journal = {GitHub repository},
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
143 url = {https://github.com/LUMC/fastq-filter},
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
144 }</citation>
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
145 </citations>
5f0d949db99e "planemo upload for repository https://github.com/LUMC/fastq-filter/tree/develop/galaxy commit 7c3396382f92bd634b23102351208f8863390cb5"
rhpvorderman
parents:
diff changeset
146 </tool>