annotate trim_galore.xml @ 8:f1e71aeaa923 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
author bgruening
date Fri, 18 Mar 2016 07:56:01 -0400
parents 8352713cf939
children 1bfc7254232e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
1 <tool id="trim_galore" name="Trim Galore!" version="0.4.2">
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
2 <!-- Wrapper compatible with Trim Galore! version 0.4 -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
3 <description>adaptive quality and adapter trimmer</description>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
4 <macros>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
5 <macro name="adapter_trimming">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
6 <conditional name="trimming">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
7 <param name="trimming_select" type="select" label="Trimming reads?">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
8 <option value="">Automatic detection</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
9 <option value="--illumina">Illumina universal</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
10 <option value="--nextera">Nextera transposase</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
11 <option value="--small_rna">Illumina small RNA adapters</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
12 <option value="user">User defined adapter trimming</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
13 </param>
7
8352713cf939 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 07148c518916e16602ea26473d00358fe04bc3b6-dirty
bgruening
parents: 6
diff changeset
14 <when value=""/>
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
15 <when value="--illumina"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
16 <when value="--nextera"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
17 <when value="--small_rna"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
18 <when value="user">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
19 <param name="adapter" type="text" value="AGATCGGAAGAGC" label="Adapter sequence to be trimmed off">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
20 <validator type="regex" message="Adapter sequence must contain DNA characters only (A,C,T,G or N)">^[ACTGNactgn]*$</validator>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
21 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
22 <yield/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
23 </when>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
24 </conditional>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
25 </macro>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
26 <macro name="paired_adapter_trimming">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
27
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
28 <expand macro="adapter_trimming">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
29 <param name="adapter2" type="text" optional="True" value="" label="Adapter sequence to be trimmed off read 2">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
30 <validator type="regex" message="Adapter sequence must contain DNA characters only (A,C,T,G or N)">^[ACTGNactgn]*$</validator>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
31 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
32 </expand>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
33 <param name="trim1" type="boolean" truevalue="--trim1" falsevalue="" checked="False" label="Trims 1 bp off every read from its 3' end." help="" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
34 <param name="three_prime_clip_R1" type="integer" value="" optional="True" label="Remove N bp from the 3' end of read 1">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
35 <help>Instructs Trim Galore! to remove N bp from the 3' end of read 1 after adapter/quality trimming has been performed.
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
36 This may remove some unwanted bias from the 3' end that is not directly related to adapter sequence or basecall quality.
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
37 (--three_prime_clip_R1)</help>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
38 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
39 <param name="three_prime_clip_R2" type="integer" value="" optional="True" label="Remove N bp from the 3' end of read 1">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
40 <help>Instructs Trim Galore! to remove N bp from the 3' end of read 2 after
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
41 adapter/quality trimming has been performed. This may remove some unwanted bias from
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
42 the 3' end that is not directly related to adapter sequence or basecall quality. (--three_prime_clip_R2)</help>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
43 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
44 </macro>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
45 </macros>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
46 <requirements>
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
47 <!-- conda dependency -->
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
48 <requirement type="package" version="1.8.3">cutadapt</requirement>
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
49 <requirement type="package" version="1.8">cutadapt</requirement>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
50 </requirements>
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
51 <version_command>
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
52 perl $__tool_directory__/trim_galore --version
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
53 </version_command>
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
54 <command>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
55 <![CDATA[
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
56
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
57 ## trim_galore removes .fastq and .fq file extensions of input files.
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
58 ## This is essential if Galaxy provides links to files (with real extensions)
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
59 ## but that behaviour is causing an inconsistency in output filenaming.
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
60 ## We work around this by linking every file to cwd without file extension
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
61
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
62 #if $singlePaired.sPaired == "single":
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
63 #if str($singlePaired.input_singles).endswith(".gz"):
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
64 ln -s "${singlePaired.input_singles}" ./input_singles.gz;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
65 #else
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
66 ln -s "${singlePaired.input_singles}" ./input_singles;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
67 #end if
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
68 #elif $singlePaired.sPaired == "paired":
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
69 #if str($singlePaired.input_mate1).endswith(".gz"):
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
70 ln -s "${singlePaired.input_mate1}" ./input_mate1.gz;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
71 ln -s "${singlePaired.input_mate2}" ./input_mate2.gz;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
72 #else
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
73 ln -s "${singlePaired.input_mate1}" ./input_mate1;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
74 ln -s "${singlePaired.input_mate2}" ./input_mate2;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
75 #end if
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
76 #else:
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
77 #if str($singlePaired.input_mate_pairs.forward).endswith(".gz"):
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
78 ln -s "${singlePaired.input_mate_pairs.forward}" ./input_mate1.gz;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
79 ln -s "${singlePaired.input_mate_pairs.reverse}" ./input_mate2.gz;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
80 #else
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
81 ln -s "${singlePaired.input_mate_pairs.forward}" ./input_mate1;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
82 ln -s "${singlePaired.input_mate_pairs.reverse}" ./input_mate2;
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
83 #end if
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
84 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
85
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
86 perl $__tool_directory__/trim_galore
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
87
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
88 ## we only support fastqsanger
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
89 --phred33
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
90
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
91 #if $params.settingsType == "custom":
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
92
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
93 ## default 20
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
94 --quality $params.quality
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
95
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
96 ## default 1
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
97 --stringency $params.stringency
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
98
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
99 ## default 0.1
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
100 -e $params.error_rate
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
101
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
102 ## default 20
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
103 --length $params.min_length
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
104
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
105 #if $params.clip_R1:
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
106 --clip_R1 $params.clip_R1
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
107 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
108
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
109 #if $params.clip_R2:
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
110 --clip_R2 $params.clip_R2
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
111 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
112
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
113 #if $params.retain_unpaired.retain_unpaired_select == "retain_unpaired_output":
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
114 --retain_unpaired
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
115 --length_1 $params.retain_unpaired.length_1
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
116 --length_2 $params.retain_unpaired.length_2
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
117 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
118
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
119 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
120
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
121 ## RBBS specific options.
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
122 #if $rrbs.settingsType == "custom":
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
123 $rrbs.rrbs
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
124 $rrbs.non_directional
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
125 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
126
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
127 --output_dir ./
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
128 --suppress_warn
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
129
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
130 #if $params.settingsType == "custom" and not $params.report:
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
131 --no_report_file
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
132 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
133
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
134 #if $singlePaired.trimming.trimming_select == 'user':
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
135 ## default 'AGATCGGAAGAGC'
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
136 #if $singlePaired.trimming.adapter.strip() != '':
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
137 --adapter $singlePaired.trimming.adapter
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
138 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
139 #else:
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
140 $singlePaired.trimming.trimming_select
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
141 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
142
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
143
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
144 #if $singlePaired.three_prime_clip_R1:
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
145 --three_prime_clip_R1 $singlePaired.three_prime_clip_R1
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
146 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
147
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
148 #if $singlePaired.sPaired == "single":
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
149 ## input sequence
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
150 #if str($singlePaired.input_singles).endswith(".gz"):
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
151 ./input_singles.gz
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
152 --dont_gzip
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
153 #else
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
154 ./input_singles
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
155 #end if
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
156 #else:
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
157 --paired
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
158
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
159 $singlePaired.trim1
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
160
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
161 #if $singlePaired.trimming.trimming_select == 'user':
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
162 #if $singlePaired.trimming.adapter2 and $singlePaired.trimming.adapter2.strip() != '':
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
163 --adapter2 $singlePaired.trimming.adapter2
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
164 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
165 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
166
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
167 #if $singlePaired.three_prime_clip_R2:
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
168 --three_prime_clip_R2 $singlePaired.three_prime_clip_R2
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
169 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
170
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
171 ## input sequences
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
172 #if $singlePaired.sPaired == "paired":
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
173 #if str($singlePaired.input_mate1).endswith(".gz"):
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
174 ./input_mate1.gz
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
175 ./input_mate2.gz
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
176 --dont_gzip
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
177 #else
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
178 ./input_mate1
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
179 ./input_mate2
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
180 #end if
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
181 #else:
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
182 #if str($singlePaired.input_mate_pairs.forward).endswith(".gz"):
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
183 ./input_mate1.gz
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
184 ./input_mate2.gz
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
185 --dont_gzip
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
186 #else
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
187 ./input_mate1
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
188 ./input_mate2
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
189 #end if
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
190 #end if
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
191
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
192 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
193
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
194 ## Trim Galore is finished, rename the output if compressed
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
195 &&
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
196 if [ -f input_singles.gz_trimmed.fq ] ; then mv input_singles.gz_trimmed.fq input_singles_trimmed.fq ; fi
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
197 &&
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
198 if [ -f input_mate1.gz_val_1.fq ] ; then mv input_mate1.gz_val_1.fq input_mate1_val_1.fq ; fi
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
199 &&
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
200 if [ -f input_mate2.gz_val_2.fq ] ; then mv input_mate2.gz_val_2.fq input_mate2_val_2.fq ; fi
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
201 &&
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
202 if [ -f input_mate1.gz_unpaired_1.fq ] ; then mv input_mate1.gz_unpaired_1.fq input_mate1_unpaired_1.fq ; fi
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
203 &&
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
204 if [ -f input_mate2.gz_unpaired_2.fq ] ; then mv input_mate2.gz_unpaired_2.fq input_mate2_unpaired_2.fq ; fi
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
205
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
206 ## Trim Galore! run is finished. Move the report files to the proper place
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
207 #if $params.settingsType == "custom" and $params.report:
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
208 &&
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
209 cat ./*_trimming_report.txt > $report_file;
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
210 #end if
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
211
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
212 ]]>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
213 </command>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
214 <inputs>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
215 <!-- Input Parameters -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
216 <conditional name="singlePaired">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
217 <param name="sPaired" type="select" label="Is this library paired- or single-end?">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
218 <option value="single">Single-end</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
219 <option value="paired">Paired-end</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
220 <option value="paired_collection">Paired Collection</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
221 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
222 <when value="single">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
223 <param name="input_singles" type="data" format="fastqsanger" label="Reads in FASTQ format" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
224 <expand macro="adapter_trimming"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
225
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
226 <param name="three_prime_clip_R1" type="integer" value="" optional="True" label="Remove N bp from the 3' end">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
227 <help>Instructs Trim Galore! to remove N bp from the 3' end of read 1 after adapter/quality trimming has been performed.
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
228 This may remove some unwanted bias from the 3' end that is not directly related to adapter sequence or basecall quality.
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
229 (--three_prime_clip_R1)</help>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
230 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
231 </when>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
232 <when value="paired">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
233 <param name="input_mate1" type="data" format="fastqsanger" label="Reads in FASTQ format" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
234 <param name="input_mate2" type="data" format="fastqsanger" label="Reads in FASTQ format" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
235 <expand macro="paired_adapter_trimming" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
236 </when>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
237 <when value="paired_collection">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
238 <param name="input_mate_pairs" format="fastqsanger" type="data_collection" collection_type="paired"
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
239 label="Select a paired collection" help="See help section for an explanation of dataset collections"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
240 <expand macro="paired_adapter_trimming" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
241 </when>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
242 </conditional>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
243
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
244 <conditional name="params">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
245 <param name="settingsType" type="select" label="Trim Galore! advanced settings" help="You can use the default settings or set custom values for any of Trim Galore!'s parameters.">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
246 <option value="default">Use defaults</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
247 <option value="custom">Full parameter list</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
248 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
249 <when value="default" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
250 <!-- Full/advanced params. -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
251 <when value="custom">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
252 <param name="quality" type="integer" value="20" label="Trim low-quality ends from reads in addition to adapter removal"
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
253 help="For more information please see below." />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
254 <param name="stringency" type="integer" value="1" label="Overlap with adapter sequence required to trim a sequence" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
255 <param name="error_rate" type="float" value="0.1" label="Maximum allowed error rate" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
256 <param name="min_length" type="integer" value="20" label="Discard reads that became shorter than length INT" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
257
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
258 <param name="clip_R1" type="integer" optional="True" min="0" label="Instructs Trim Galore! to remove INT bp from the 5' end of read 1" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
259 <param name="clip_R2" type="integer" optional="True" min="0" label="Instructs Trim Galore! to remove INT bp from the 5' end of read 2" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
260
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
261 <param name="report" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Generate a report file" help="" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
262
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
263 <conditional name="retain_unpaired">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
264 <param name="retain_unpaired_select" type="select" label="specify if you would like to retain unpaired reads">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
265 <option value="no_output">Do not output unpaired reads</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
266 <option value="retain_unpaired_output">Output unpaired reads</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
267 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
268 <when value="no_output" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
269 <!-- Output params. -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
270 <when value="retain_unpaired_output">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
271 <param name="length_1" type="integer" value="35" label="Unpaired single-end read length cutoff needed for read 1 to be written" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
272 <param name="length_2" type="integer" value="35" label="Unpaired single-end read length cutoff needed for read 2 to be written" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
273 </when> <!-- output -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
274 </conditional> <!-- retain_unpaired -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
275
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
276 </when> <!-- full -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
277 </conditional> <!-- params -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
278
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
279 <conditional name="rrbs">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
280 <param name="settingsType" type="select" label="RRBS specific settings">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
281 <option value="default">Use defaults (no RRBS)</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
282 <option value="custom">Full parameter list</option>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
283 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
284 <when value="default" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
285 <!-- Full/advanced params. -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
286 <when value="custom">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
287 <param name="rrbs" type="boolean" truevalue="--rrbs" falsevalue="" checked="True"
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
288 label="Specifies that the input file was an MspI digested RRBS sample" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
289 <param name="non_directional" type="boolean" truevalue="--non_directional" falsevalue="" checked="False"
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
290 label="Selecting this option for non-directional RRBS libraries" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
291 </when> <!-- full -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
292 </conditional> <!-- params -->
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
293
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
294 </inputs>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
295 <outputs>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
296 <data format="fastqsanger" name="trimmed_reads_single" from_work_dir="input_singles_trimmed.fq" label="${tool.name} on ${on_string}: trimmed reads">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
297 <filter>singlePaired['sPaired'] == "single"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
298 </data>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
299
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
300 <collection name="trimmed_reads_paired_collection" type="paired" label="${tool.name} on ${on_string}: paired reads">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
301 <data name="forward" format="fastqsanger" from_work_dir="input_mate1_val_1.fq" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
302 <data name="reverse" format="fastqsanger" from_work_dir="input_mate2_val_2.fq" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
303 <filter>singlePaired['sPaired'] == "paired_collection"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
304 </collection>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
305
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
306 <collection name="trimmed_reads_unpaired_collection" type="paired" label="${tool.name} on ${on_string}: unpaired reads">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
307 <data name="forward" format="fastqsanger" from_work_dir="input_mate1_unpaired_1.fq" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
308 <data name="reverse" format="fastqsanger" from_work_dir="input_mate2_unpaired_2.fq" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
309 <filter>params['settingsType'] == "custom"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
310 <filter>params['retain_unpaired']['retain_unpaired_select'] == "retain_unpaired_output"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
311 <filter>singlePaired['sPaired'] == "paired_collection"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
312 </collection>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
313
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
314 <data format="fastqsanger" name="trimmed_reads_pair1" from_work_dir="input_mate1_val_1.fq"
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
315 label="${tool.name} on ${on_string}: trimmed reads pair 1">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
316 <filter>singlePaired['sPaired'] == "paired"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
317 </data>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
318
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
319 <data format="fastqsanger" name="trimmed_reads_pair2" from_work_dir="input_mate2_val_2.fq"
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
320 label="${tool.name} on ${on_string}: trimmed reads pair 2">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
321 <filter>singlePaired['sPaired'] == "paired"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
322 </data>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
323
7
8352713cf939 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 07148c518916e16602ea26473d00358fe04bc3b6-dirty
bgruening
parents: 6
diff changeset
324 <data format="fastqsanger" name="unpaired_reads_1" from_work_dir="input_mate1_unpaired_1.fq"
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
325 label="${tool.name} on ${on_string}: unpaired reads (1)">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
326 <filter>params['settingsType'] == "custom"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
327 <filter>params['retain_unpaired']['retain_unpaired_select'] == "retain_unpaired_output"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
328 <filter>singlePaired['sPaired'] == "paired"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
329 </data>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
330
7
8352713cf939 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 07148c518916e16602ea26473d00358fe04bc3b6-dirty
bgruening
parents: 6
diff changeset
331 <data format="fastqsanger" name="unpaired_reads_2" from_work_dir="input_mate2_unpaired_2.fq"
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
332 label="${tool.name} on ${on_string}: unpaired reads (2)">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
333 <filter>params['settingsType'] == "custom"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
334 <filter>params['retain_unpaired']['retain_unpaired_select'] == "retain_unpaired_output"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
335 <filter>singlePaired['sPaired'] == "paired"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
336 </data>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
337 <data format="txt" name="report_file" label="${tool.name} on ${on_string}: report file">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
338 <filter>params['settingsType'] == "custom"</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
339 <filter>params['report'] == True</filter>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
340 </data>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
341
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
342 </outputs>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
343 <tests>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
344 <test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
345 <param name="input_singles" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
346 <param name="sPaired" value="single" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
347 <param name="settingsType" value="custom" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
348 <param name="report" value="true" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
349 <output name="trimmed_reads_single" file="sanger_full_range_results1.fastqsanger" ftype="fastqsanger"/>
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
350 <output name="report_file" file="sanger_full_range_report_results1.txt" ftype="txt" lines_diff="8" />
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
351 </test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
352
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
353 <test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
354 <param name="input_singles" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
355 <param name="sPaired" value="single" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
356 <param name="trimming_select" value="--illumina" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
357 <output name="trimmed_reads_single" file="sanger_full_range_results2.fastqsanger" ftype="fastqsanger"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
358 </test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
359
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
360 <test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
361 <param name="input_singles" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
362 <param name="sPaired" value="single" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
363 <param name="adapter" value="AAAGAGC" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
364 <output name="trimmed_reads_single" file="sanger_full_range_results3.fastqsanger" ftype="fastqsanger"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
365 </test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
366
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
367 <test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
368 <param name="input_mate1" value="bwa-mem-fastq1.fq" ftype="fastqsanger" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
369 <param name="input_mate2" value="bwa-mem-fastq2.fq" ftype="fastqsanger" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
370 <param name="sPaired" value="paired" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
371 <param name="settingsType" value="custom" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
372 <param name="report" value="true" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
373 <output name="trimmed_reads_pair1" file="paired_example_pair1_results2.fastqsanger" ftype="fastqsanger"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
374 <output name="trimmed_reads_pair2" file="paired_example_pair2_results2.fastqsanger" ftype="fastqsanger"/>
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
375 <output name="report_file" file="paired_example_results2.txt" ftype="txt" lines_diff="24" />
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
376 </test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
377
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
378 <test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
379 <param name="input_mate_pairs">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
380 <collection type="paired">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
381 <element name="forward" value="bwa-mem-fastq1.fq" ftype="fastqsanger" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
382 <element name="reverse" value="bwa-mem-fastq2.fq" ftype="fastqsanger" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
383 </collection>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
384 </param>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
385
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
386 <param name="sPaired" value="paired_collection" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
387 <param name="settingsType" value="custom" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
388 <param name="report" value="true" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
389 <param name="retain_unpaired_select" value="retain_unpaired_output" />
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
390
8
f1e71aeaa923 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit d48f42b1c267c8ebfc50161ea764baed8ee66701-dirty
bgruening
parents: 7
diff changeset
391 <output name="report_file" file="paired_collection_example_results3.txt" ftype="txt" lines_diff="24" />
6
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
392
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
393 <output_collection name="trimmed_reads_paired_collection" type="paired">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
394 <element name="forward" file="paired_collection_example_pair1_results3.fastqsanger" ftype="fastqsanger"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
395 <element name="reverse" file="paired_collection_example_pair2_results3.fastqsanger" ftype="fastqsanger"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
396 </output_collection>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
397
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
398 <output_collection name="trimmed_reads_unpaired_collection" type="paired">
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
399 <element name="forward" file="paired_collection_example_unpair1_results3.fastqsanger" ftype="fastqsanger"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
400 <element name="reverse" file="paired_collection_example_unpair2_results3.fastqsanger" ftype="fastqsanger"/>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
401 </output_collection>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
402
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
403 </test>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
404 </tests>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
405 <help>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
406 <![CDATA[
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
407 **What it does**
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
408
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
409 `Trim Galore!`_ is a wrapper script to automate quality and adapter trimming as well as quality control, with some added functionality to remove biased methylation positions for RRBS sequence files (for directional, non-directional (or paired-end) sequencing). It's main features are:
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
410
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
411 * For adapter trimming, Trim Galore! uses the first 13 bp of Illumina standard adapters ('AGATCGGAAGAGC') by default (suitable for both ends of paired-end libraries), but accepts other adapter sequence, too
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
412 * For MspI-digested RRBS libraries, Trim Galore! performs quality and adapter trimming in two subsequent steps. This allows it to remove 2 additional bases that contain a cytosine which was artificially introduced in the end-repair step during the library preparation
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
413 * For any kind of FASTQ file other than MspI-digested RRBS, Trim Galore! can perform single-pass adapter and quality trimming
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
414 * The Phred quality of basecalls and the stringency for adapter removal can be specified individually
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
415 * Trim Galore! can remove sequences if they become too short during the trimming process. For paired-end files Trim Galore! removes entire sequence pairs if one (or both) of the two reads became shorter than the set length cutoff. Reads of a read-pair that are longer than a given threshold but for which the partner read has become too short can optionally be written out to single-end files. This ensures that the information of a read pair is not lost entirely if only one read is of good quality
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
416 * Trim Galore! can trim paired-end files by 1 additional bp from the 3' end of all reads to avoid problems with invalid alignments with Bowtie 1
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
417
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
418 .. _Trim Galore!: http://www.bioinformatics.babraham.ac.uk/projects/trim_galore/
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
419
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
420 It is developed by Felix Krueger at the Babraham Institute.
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
421 ]]>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
422 </help>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
423 <citations></citations>
11962ce40855 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit 9198b904ef37fe46007256f1734c33de6d23331b-dirty
bgruening
parents:
diff changeset
424 </tool>