annotate cutadapt.xml @ 33:135b80fb1ac2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
author iuc
date Fri, 14 Oct 2022 12:50:14 +0000
parents 5915ea1ec9b1
children 9845c649f41b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
44e2cc14f75b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7cca91ac13859592f44b2f16d3aa70c28709af8d"
iuc
parents: 25
diff changeset
1 <tool id="cutadapt" name="Cutadapt" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
2 <description>Remove adapter sequences from FASTQ/FASTA</description>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
3 <macros>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
4 <import>macros.xml</import>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
5 </macros>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
6 <expand macro='edam_ontology' />
30
c5e2e5902201 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
iuc
parents: 29
diff changeset
7 <expand macro='xrefs'/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
8 <expand macro='requirements' />
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
9 <version_command>cutadapt --version</version_command>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
10
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
12 ## Link in the input and output files, so Cutadapt can tell their type
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
13
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
14 #import re
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
15 #set read1 = "input_f"
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
16 #set read2 = "input_r"
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
17 #set paired = False
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
18 #set library_type = str($library.type)
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
19 #if $library_type == 'paired':
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
20 #set paired = True
33
135b80fb1ac2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
iuc
parents: 32
diff changeset
21 #set input_1 = $library.input_1
135b80fb1ac2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
iuc
parents: 32
diff changeset
22 #set input_2 = $library.input_2
135b80fb1ac2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
iuc
parents: 32
diff changeset
23 ## Avoid the paired read input files sharing the same name, else the program still runs but
135b80fb1ac2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
iuc
parents: 32
diff changeset
24 ## uses inaccurate results by using only 1 of 2 files.
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
25 #set read1 = re.sub('[^\w\-\s]', '_', str($library.input_1.element_identifier))
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
26 #set read2 = re.sub('[^\w\-\s]', '_', str($library.input_2.element_identifier))
33
135b80fb1ac2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
iuc
parents: 32
diff changeset
27 #if read1 == read2:
135b80fb1ac2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
iuc
parents: 32
diff changeset
28 #set read1 = read1 + "_1"
135b80fb1ac2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
iuc
parents: 32
diff changeset
29 #set read2 = read2 + "_2"
135b80fb1ac2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
iuc
parents: 32
diff changeset
30 #end if
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
31 #else if $library_type == 'paired_collection'
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
32 #set paired = True
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
33 #set input_1 = $library.input_1.forward
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
34 #set input_2 = $library.input_1.reverse
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
35 #set read1 = re.sub('[^\w\-\s]', '_', str($library.input_1.name)) + "_1"
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
36 #set read2 = re.sub('[^\w\-\s]', '_', str($library.input_1.name)) + "_2"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
37 #else
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
38 #set input_1 = $library.input_1
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
39 #set read1 = re.sub('[^\w\-\s]', '_', str($library.input_1.element_identifier))
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
40 #end if
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
41
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
42 #if $input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
43 #set ext = ".fq.gz"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
44 #else if $input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
45 #set ext = ".fq.bz2"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
46 #else if $input_1.is_of_type('fasta'):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
47 #set ext = ".fa"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
48 #else:
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
49 #set ext = ".fq"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
50 #end if
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
51 #set read1 = $read1 + $ext
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
52 #set out1 = "out1" + $ext
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
53 #set rest_output = "rest_output" + $ext
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
54 #set wild_output = "wild_output" + $ext
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
55 #set too_short_output = "too_short_output" + $ext
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
56 #set too_long_output = "too_long_output" + $ext
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
57 #set untrimmed_output = "untrimmed_output" + $ext
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
58 ln -f -s '${input_1}' '$read1' &&
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
59
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
60 #if $paired:
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
61 #if $input_2.is_of_type("fastq.gz", "fastqsanger.gz"):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
62 #set ext2 = ".fq.gz"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
63 #else if $input_2.is_of_type("fastq.bz2", "fastqsanger.bz2"):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
64 #set ext2 = ".fq.gz"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
65 #else if $input_2.is_of_type('fasta'):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
66 #set ext2 = ".fa"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
67 #else:
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
68 #set ext2 = ".fq"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
69 #end if
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
70 #set read2 = $read2 + $ext2
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
71 #set out2 = "out2" + $ext2
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
72 #set too_short_paired_output = "too_short_paired_output" + $ext2
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
73 #set too_long_paired_output = "too_long_paired_output" + $ext2
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
74 #set untrimmed_paired_output = "untrimmed_paired_output" + $ext2
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
75 ln -f -s '${input_2}' '$read2' &&
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
76 #end if
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
77
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
78 ## Run Cutadapt
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
79
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
80 #if 'multiple_output' in $output_selector:
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
81 mkdir split &&
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
82 #end if
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
83
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
84 cutadapt
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
85
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
86 -j=\${GALAXY_SLOTS:-4}
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
87
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
88 #if 'json_stats' in $output_selector:
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
89 --json stats.json
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
90 #end if
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
91
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
92 #if str( $library.type ) == "single":
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
93 @read1_options@
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
94 #if 'multiple_output' in $output_selector:
18
5c7e7d905b33 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b58d6ff959a1d920fd0d9b02e43d2482667d61e8
iuc
parents: 17
diff changeset
95 --output='split/{name}.${input_1.ext}'
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
96 #else:
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
97 --output='$out1'
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
98 #end if
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
99 #else:
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
100 @read1_options@
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
101 @read2_options@
29
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
102 --output='$out1'
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
103 --paired-output='$out2'
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
104 #end if
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
105
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
106 --error-rate=$adapter_options.error_rate
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
107 --times=$adapter_options.times
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
108 --overlap=$adapter_options.overlap
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
109 $adapter_options.no_indels
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
110 $adapter_options.match_read_wildcards
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
111 --action=$adapter_options.action
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
112 $adapter_options.revcomp
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
113
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
114 $filter_options.discard_trimmed
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
115 $filter_options.discard_untrimmed
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
116
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
117 #if str($filter_options.minimum_length) and str($filter_options.length_R2_options.length_R2_status) == 'True':
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
118 --minimum-length=$filter_options.minimum_length:$filter_options.length_R2_options.R2_minimum
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
119 #else if str($filter_options.minimum_length):
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
120 --minimum-length=$filter_options.minimum_length
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
121 #end if
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
122 #if str($filter_options.maximum_length) and str($filter_options.length_R2_options.length_R2_status) == 'True':
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
123 --maximum-length=$filter_options.maximum_length:$filter_options.length_R2_options.R2_maximum
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
124 #else if str($filter_options.maximum_length):
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
125 --maximum-length=$filter_options.maximum_length
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
126 #end if
22
093678460093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 916aaa04992e36f9324299949b86cccd12d3081d"
iuc
parents: 21
diff changeset
127 #if str($filter_options.max_n):
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
128 --max-n=$filter_options.max_n
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
129 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
130 #if str( $library.type ) != "single":
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
131 #if $filter_options.pair_filter:
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
132 --pair-filter=$filter_options.pair_filter
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
133 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
134 #end if
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
135 #if str($filter_options.max_expected_errors):
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
136 --max-expected-errors=$filter_options.max_expected_errors
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
137 #end if
28
c053d4cad713 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 9ec830a98da45d5fb2f92a817c7cd0376504be90"
iuc
parents: 27
diff changeset
138 $filter_options.discard_cassava
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
139
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
140 #if str($read_mod_options.quality_cutoff) != '0':
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
141 --quality-cutoff=$read_mod_options.quality_cutoff
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
142 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
143 #if str($read_mod_options.nextseq_trim) != '0':
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
144 --nextseq-trim=$read_mod_options.nextseq_trim
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
145 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
146 $read_mod_options.trim_n
28
c053d4cad713 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 9ec830a98da45d5fb2f92a817c7cd0376504be90"
iuc
parents: 27
diff changeset
147 #if $read_mod_options.strip_suffix != ''
c053d4cad713 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 9ec830a98da45d5fb2f92a817c7cd0376504be90"
iuc
parents: 27
diff changeset
148 --strip-suffix $read_mod_options.strip_suffix
c053d4cad713 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 9ec830a98da45d5fb2f92a817c7cd0376504be90"
iuc
parents: 27
diff changeset
149 #end if
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
150 #if str($read_mod_options.shorten_options.shorten_values) == 'True':
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
151 #if str($read_mod_options.shorten_options.shorten_end) == '3prime'
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
152 --length=$read_mod_options.shorten_options.length
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
153 #else
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
154 --length=-$read_mod_options.shorten_options.length
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
155 #end if
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
156 #end if
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
157 #if str($read_mod_options.length_tag) != '':
22
093678460093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 916aaa04992e36f9324299949b86cccd12d3081d"
iuc
parents: 21
diff changeset
158 --length-tag='$read_mod_options.length_tag'
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
159 #end if
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
160 #if str($read_mod_options.rename) != '':
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
161 --rename='$read_mod_options.rename'
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
162 #end if
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
163 $read_mod_options.zero_cap
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
164
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
165
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
166 '${read1}'
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
167 #if $paired:
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
168 '${read2}'
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
169 #if $library.r2.quality_cutoff2:
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
170 -Q=$library.r2.quality_cutoff2
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
171 #end if
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
172 #end if
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
173
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
174 #if 'report' in $output_selector:
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
175 > report.txt
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
176 #end if
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
177 ]]></command>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
178 <inputs>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
179
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
180 <!-- Reads -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
181 <conditional name="library">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
182 <param name="type" type="select" label="Single-end or Paired-end reads?">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
183 <option value="single">Single-end</option>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
184 <option value="paired">Paired-end</option>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
185 <option value="paired_collection">Paired-end Collection</option>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
186 </param>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
187
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
188 <when value="single">
26
44e2cc14f75b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7cca91ac13859592f44b2f16d3aa70c28709af8d"
iuc
parents: 25
diff changeset
189 <param name="input_1" format="@FASTQ_TYPES@" type="data" label="FASTQ/A file" help="Should be of datatype &quot;fastq.gz&quot; or &quot;fasta&quot;" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
190 <expand macro="single_end_options" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
191 </when>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
192
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
193 <when value="paired">
26
44e2cc14f75b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7cca91ac13859592f44b2f16d3aa70c28709af8d"
iuc
parents: 25
diff changeset
194 <param name="input_1" format="@FASTQ_TYPES@" type="data" label="FASTQ/A file #1" help="Should be of datatype &quot;fastq.gz&quot;or &quot;fasta&quot;" />
44e2cc14f75b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7cca91ac13859592f44b2f16d3aa70c28709af8d"
iuc
parents: 25
diff changeset
195 <param name="input_2" format="@FASTQ_TYPES@" type="data" label="FASTQ/A file #2" help="Should be of datatype &quot;fastq.gz&quot;or &quot;fasta&quot;" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
196 <expand macro="paired_end_options" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
197 </when>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
198
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
199 <when value="paired_collection">
26
44e2cc14f75b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7cca91ac13859592f44b2f16d3aa70c28709af8d"
iuc
parents: 25
diff changeset
200 <param name="input_1" format="@FASTQ_TYPES@" type="data_collection" collection_type="paired" label="Paired Collection" help="Should be of datatype &quot;fastq.gz&quot; or &quot;fasta&quot;" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
201 <expand macro="paired_end_options" />
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
202 </when>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
203
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
204 </conditional>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
205
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
206 <!-- Adapter Options -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
207 <section name="adapter_options" title="Adapter Options">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
208 <param name="action" type="select" label="What to do if a match is found">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
209 <option value="trim" selected="True">Trim: trim adapter and upstream or downstream sequence</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
210 <option value="retain">Retain: the read is trimmed, but the adapter sequence is not removed</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
211 <option value="mask">Mask: mask adapters with 'N' characters instead of trimming them</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
212 <option value="lowercase">Lowercase: convert to lowercase</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
213 <option value="none">None: leave unchanged</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
214 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
215 <param name="internal" type="select" label="Disallow internal adaptor ocurrences" help="The non-internal 5’ and 3’ adapter types disallow internal occurrences of the adapter sequence. The adapter must always be at one of the ends of the read, but partial occurrences are also ok.">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
216 <option value="X">Enabled</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
217 <option value="" selected="True">Disabled</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
218 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
219 <param argument="--error-rate" type="float" min="0" max="1" value="0.1" label="Maximum error rate" help="Maximum allowed error rate (no. of errors divided by the length of the matching region)." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
220 <param argument="--no-indels" type="boolean" value="False" truevalue="--no-indels" falsevalue="" label="Do not allow indels (Use ONLY with anchored 5' (front) adapters)." help="Do not allow indels in the alignments. That is, allow only mismatches. This option is currently only supported for anchored 5' adapters ('^ADAPTER') (default: both mismatches and indels are allowed)." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
221 <param argument="--times" type="integer" min="1" value="1" label="Match times" help="Try to remove adapters at most COUNT times. Useful when an adapter gets appended multiple times." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
222 <param argument="--overlap" type="integer" min="1" value="3" label="Minimum overlap length" help="Minimum overlap length. If the overlap between the adapter and the sequence is shorter than LENGTH, the read is not modified. This reduces the number of bases trimmed purely due to short random adapter matches." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
223 <param name="match_read_wildcards" type="select" label="Match wildcards" help="Allow 'N's as matches. Default: in the adapters but not in the reads">
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
224 <option value=" " selected="True">In the adapters but not in the reads</option>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
225 <option value="--match-read-wildcards">In the adapters and in the reads</option>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
226 <option value="--no-match-adapter-wildcards">Nowhere</option>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
227 </param>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
228 <param argument="--revcomp" type="boolean" value="False" truevalue="--revcomp" falsevalue="" label="Look for adapters in the reverse complement" help="Check both the read and its reverse complement for adapter matches. If match is on reverse-complemented version, output that one. Default: check only read." />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
229 </section>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
230
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
231 <!-- Filter Options -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
232 <section name="filter_options" title="Filter Options">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
233 <param argument="--discard-trimmed" type="boolean" value="False" truevalue="--discard-trimmed" falsevalue="" label="Discard Trimmed Reads" help="Discard reads that contain the adapter instead of trimming them. Use the 'Minimum overlap length' option in order to avoid throwing away too many randomly matching reads!" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
234 <param argument="--discard_untrimmed" type="boolean" value="False" truevalue="--discard-untrimmed" falsevalue="" label="Discard Untrimmed Reads" help="Discard reads that do not contain the adapter." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
235 <param argument="--minimum-length" type="integer" min="0" optional="True" value="" label="Minimum length (R1)" help="Discard trimmed reads that are shorter than LENGTH. Reads that are too short even before adapter removal are also discarded." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
236 <param argument="--maximum-length" type="integer" min="0" optional="True" value="" label="Maximum length (R1)" help="Discard trimmed reads that are longer than LENGTH. Reads that are too long even before adapter removal are also discarded." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
237 <conditional name="length_R2_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
238 <param name="length_R2_status" type="select" label="Specify a minimum/maximum length for reverse reads (R2)" help="When trimming paired-end reads, the minimum/maximum lengths for R1 and R2 can be specified separately. If not provided, the same minimum length applies to both reads.">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
239 <option value="True">Enabled</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
240 <option value="False" selected="True">Disabled</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
241 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
242 <when value="True">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
243 <param name="R2_minimum" type="integer" min="0" value="" optional="True" label="Minimum length (R2)" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
244 <param name="R2_maximum" type="integer" min="0" value="" optional="True" label="Maximum length (R2)" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
245 </when>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
246 <when value="False">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
247 </when>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
248 </conditional>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
249 <param argument="--max-n" type="float" min="0" optional="True" label="Max N" help="Discard reads with more than this number of 'N' bases. A number between 0 and 1 is interpreted as a fraction of the read length." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
250 <param argument="--pair-filter" type="select" optional="True" label="Pair filter" help="Which of the reads in a paired-end read have to match the filtering criterion in order for the pair to be filtered. Default: any">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
251 <option value="any" selected="True">Any: a read pair is discarded (or redirected) if one of the reads (R1 or R2) fulfills the filtering criterion. </option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
252 <option value="both">Both: filtering criteria must apply to both reads in order for a read pair to be discarded. </option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
253 <option value="first">First: will make a decision about the read pair by inspecting whether the filtering criterion applies to the first read, ignoring the second read.</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
254
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
255 </param>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
256 <param argument="--max-expected-errors" type="integer" min="0" optional="True" value="" label="Max expected errors" help="Discard reads whose expected number of errors (computed from quality values) exceeds this value." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
257 <param argument="--discard-cassava" type="boolean" truevalue="--discard-cassava" falsevalue="" checked="False" label="Discard CASAVA filtering" help="Discard reads that did not pass CASAVA filtering (header has :Y:)." />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
258 </section>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
259
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
260 <!-- Read Modification Options -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
261 <section name="read_mod_options" title="Read Modification Options">
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
262 <param argument="--quality-cutoff" type="text" value="0" label="Quality cutoff" help=" Trim low-quality bases from 5' and/or 3' ends of each read before adapter removal. Applied to both reads for paired-end data, unless a separate value for the second read is specified. If one value is given, only the 3' end is trimmed. If two comma-separated cutoffs are given, the 5' end is trimmed with the first cutoff, the 3' end with the second.">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
263 <sanitizer>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
264 <valid initial="string.digits"><add value="," /></valid>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
265 </sanitizer>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
266 <validator type="regex">[0-9,]+</validator>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
267 </param>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
268 <param argument="--nextseq-trim" type="integer" value="0" label="NextSeq trimming" help="Experimental option for quality trimming of NextSeq data. This is necessary because that machine cannot distinguish between G and reaching the end of the fragment (it encodes G as ‘black’). This option works like regular quality trimming (where one would use -q 20 instead), except that the qualities of G bases are ignored." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
269 <param argument="--trim-n" type="boolean" truevalue="--trim-n" falsevalue="" checked="False" label="Trim Ns" help="Trim N's on ends of reads." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
270 <param argument="--strip-suffix" label="Strip suffix" type="text" help="Remove this suffix from read names if present." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
271 <conditional name="shorten_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
272 <param name="shorten_values" type="select" label="Shortening reads to a fixed length" help="If you want to remove a fixed number of bases from each read, use the –cut option instead.">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
273 <option value="True">Enabled</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
274 <option value="False" selected="True">Disabled</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
275 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
276 <when value="True">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
277 <param argument="--length" type="integer" value="0" label="Length" help="Shorten reads to this length. This modification is applied after adapter trimming." />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
278 <param name="shorten_end" type="select" label="End at which to apply the slice">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
279 <option value="3prime">3' ends</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
280 <option value="5prime">5' ends</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
281 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
282 </when>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
283 <when value="False">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
284 </when>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
285 </conditional>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
286 <param argument="--length-tag" label="Length tag" type="text" optional="True" help="Search for TAG followed by a decimal number in the name of the read (description/comment field of the FASTA or FASTQ file). Replace the decimal number with the correct length of the trimmed read. For example, use --length-tag 'length=' to search for fields like 'length=123'." >
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
287 <sanitizer invalid_char="">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
288 <valid initial="string.letters,string.digits">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
289 <add value="/" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
290 <add value="+" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
291 <add value="-" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
292 <add value="=" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
293 <add value=" " />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
294 <add value="_" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
295 </valid>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
296 </sanitizer>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
297 <validator type="regex">[A-Za-z0-9 =-_/+]+</validator>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
298 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
299 <param argument="--rename" label="Rename reads" type="text" optional="True" help="This option can be used to rename both single-end and paired-end reads. ">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
300 <sanitizer invalid_char="">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
301 <valid initial="string.letters,string.digits">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
302 <add value="{" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
303 <add value="}" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
304 <add value="_" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
305 <add value="=" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
306 <add value=" " />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
307 </valid>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
308 </sanitizer>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
309 <validator type="regex">[A-Za-z0-9 {}=_]+</validator>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
310 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
311 <param argument="--zero-cap" type="boolean" truevalue="--zero-cap" falsevalue="" checked="False" label="Change negative quality values to zero" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
312 </section>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
313
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
314 <!-- Output Options -->
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
315 <param name="output_selector" type="select" multiple="True" display="checkboxes" label="Outputs selector">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
316 <option value="report">Report: Cutadapt's per-adapter statistics. You can use this file with MultiQC.</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
317 <option value="info_file">Info file: write information about each read and its adapter matches.</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
318 <option value="rest_file">Rest of read: when the adapter matches in the middle of a read, write the rest (after the adapter).</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
319 <option value="wildcard_file">Wildcard file: when the adapter has wildcard bases (Ns) write adapter bases matching wildcard positions.</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
320 <option value="too_short_file">Too short reads: write reads that are too short according to minimum length specified (default: discard reads).</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
321 <option value="too_long_file">Too long reads: write reads that are too long (according to maximum length specified)</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
322 <option value="untrimmed_file">Untrimmed reads: write reads that do not contain the adapter to a separate file, instead of writing them to the regular output file (default: output to same file as trimmed)</option>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
323 <option value="multiple_output">Multiple output: create a separate file for each adapter trimmed (default: all trimmed reads are in a single file)</option>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
324 <option value="json_stats">Statistics in JSON format</option>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
325 </param>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
326 </inputs>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
327
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
328 <outputs>
15
660cffd8d92a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 11951898f7d8f09a6ad565128832c7717adb25b2
iuc
parents: 14
diff changeset
329 <data name="out1" format="fastqsanger" metadata_source="input_1" from_work_dir="out1*" label="${tool.name} on ${on_string}: Read 1 Output">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
330 <filter>library['type'] != 'paired_collection' and 'multiple_output' not in output_selector</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
331 <expand macro="inherit_format_1" />
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
332 </data>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
333
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
334 <data name="out2" format="fastqsanger" metadata_source="input_2" from_work_dir="out2*" label="${tool.name} on ${on_string}: Read 2 Output" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
335 <filter>library['type'] == 'paired' and 'multiple_output' not in output_selector</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
336 <expand macro="inherit_format_2" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
337 </data>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
338
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
339 <collection name="out_pairs" type="paired" format_source="input_1" label="${tool.name} on ${on_string}: Reads">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
340 <filter>library['type'] == 'paired_collection' and 'multiple_output' not in output_selector</filter>
29
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
341 <data name="forward" from_work_dir="out1.fq*" />
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
342 <data name="reverse" from_work_dir="out2.fq*" />
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
343 </collection>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
344
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
345 <data name="report" format="txt" from_work_dir="report.txt" label="${tool.name} on ${on_string}: Report">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
346 <filter>output_selector and 'report' in output_selector</filter>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
347 </data>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
348 <data name="info_file" format="txt" metadata_source="input_1" label="${tool.name} on ${on_string}: Info File" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
349 <filter>output_selector and 'info_file' in output_selector</filter>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
350 </data>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
351
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
352 <data name="rest_output" format="fastqsanger" metadata_source="input_1" from_work_dir="rest_output*" label="${tool.name} on ${on_string}: Rest of Reads (R1 only)" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
353 <filter>output_selector and 'rest_file' in output_selector</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
354 <expand macro="inherit_format_1" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
355 </data>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
356
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
357 <data name="wild_output" format="txt" metadata_source="input_1" from_work_dir="wild_output*" label="${tool.name} on ${on_string}: Wildcard File" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
358 <filter>output_selector and 'wildcard_file' in output_selector</filter>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
359 </data>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
360
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
361 <data name="untrimmed_output" format="fastqsanger" metadata_source="input_1" from_work_dir="untrimmed_output*" label="${tool.name} on ${on_string}: Untrimmed Read 1" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
362 <filter>output_selector and 'untrimmed_file' in output_selector</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
363 <expand macro="inherit_format_1" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
364 </data>
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
365 <data name="untrimmed_paired_output" format="fastqsanger" metadata_source="input_2" from_work_dir="untrimmed_paired_output*" label="${tool.name} on ${on_string}: Untrimmed Read 2" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
366 <filter>library['type'] == 'paired' or library['type'] == 'paired_collection'</filter>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
367 <filter>output_selector and 'untrimmed_file' in output_selector </filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
368 <expand macro="inherit_format_2" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
369 </data>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
370
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
371 <data name="too_short_output" format="fastqsanger" metadata_source="input_1" from_work_dir="too_short_output*" label="${tool.name} on ${on_string}: Too Short Read 1" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
372 <filter>output_selector and 'too_short_file' in output_selector</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
373 <expand macro="inherit_format_1" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
374 </data>
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
375 <data name="too_short_paired_output" format="fastqsanger" metadata_source="input_2" from_work_dir="too_short_paired_output*" label="${tool.name} on ${on_string}: Too Short Read 2" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
376 <filter>library['type'] == 'paired' or library['type'] == 'paired_collection'</filter>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
377 <filter>output_selector and 'too_short_file' in output_selector</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
378 <expand macro="inherit_format_2" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
379 </data>
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
380 <data name="too_long_output" format="fastqsanger" metadata_source="input_1" from_work_dir="too_long_output*" label="${tool.name} on ${on_string}: Too Long Read 1" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
381 <filter>output_selector and 'too_long_file' in output_selector</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
382 <expand macro="inherit_format_1" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
383 </data>
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
384 <data name="too_long_paired_output" format="fastqsanger" metadata_source="input_2" from_work_dir="too_long_paired_output*" label="${tool.name} on ${on_string}: Too Long Read 2" >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
385 <filter>library['type'] == 'paired' or library['type'] == 'paired_collection'</filter>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
386 <filter>output_selector and 'too_long_file' in output_selector</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
387 <expand macro="inherit_format_2" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
388 </data>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
389 <data name="json_stats" format="json" from_work_dir="stats.json" label="${tool.name} on ${on_string}: Statistics (JSON)" >
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
390 <filter>output_selector and 'json_stats' in output_selector</filter>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
391 </data>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
392 <collection name="split_output" type="list" label="${tool.name} on ${on_string}: Split outputs" format="fastqsanger" >
18
5c7e7d905b33 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b58d6ff959a1d920fd0d9b02e43d2482667d61e8
iuc
parents: 17
diff changeset
393 <discover_datasets pattern="(?P&lt;designation&gt;.+)\.(?P&lt;ext&gt;fastq.*)" directory="split" />
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
394 <filter>output_selector and 'multiple_output' in output_selector</filter>
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
395 </collection>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
396 </outputs>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
397
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
398 <tests>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
399 <!-- Ensure fastq works -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
400 <test expect_num_outputs="1">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
401 <param name="type" value="single" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
402 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
403 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
404 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
405 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
406 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
407 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
408 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
409 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
410 </section>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
411 <output name="out1" file="cutadapt_small.out" ftype="fastq"/>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
412 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
413 <!-- Ensure single end fastq.gz works -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
414 <test expect_num_outputs="1">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
415 <param name="type" value="single" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
416 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
417 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
418 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
419 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
420 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
421 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
422 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
423 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
424 </section>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
425 <output name="out1" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
426 </test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
427 <!-- Ensure paired end fastq.gz works -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
428 <test expect_num_outputs="2">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
429 <param name="type" value="paired" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
430 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
431 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
432 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
433 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
434 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
435 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
436 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
437 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
438 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
439 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
440 <section name="r2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
441 <repeat name="adapters2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
442 <conditional name="adapter_source2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
443 <param name="adapter_source_list2" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
444 <param name="adapter2" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
445 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
446 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
447 </section>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
448 <output name="out1" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
449 <output name="out2" decompress="True" file="cutadapt_out2.fq.gz" ftype="fastq.gz"/>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
450 <assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
451 <not_has_text text="--discard-trimmed"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
452 <not_has_text text="--discard-untrimmed"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
453 <not_has_text text="--minimum-length"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
454 <not_has_text text="--maximum-length"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
455 <not_has_text text="--max-n"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
456 <has_text text="--pair-filter=any"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
457 </assert_command>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
458 </test>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
459 <!-- Ensure paired collection works -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
460 <test expect_num_outputs="3">
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
461 <param name="type" value="paired_collection" />
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
462 <param name="input_1">
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
463 <collection type="paired">
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
464 <element name="forward" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
465 <element name="reverse" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" />
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
466 </collection>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
467 </param>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
468 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
469 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
470 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
471 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
472 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
473 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
474 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
475 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
476 <section name="r2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
477 <repeat name="adapters2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
478 <conditional name="adapter_source2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
479 <param name="adapter_source_list2" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
480 <param name="adapter2" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
481 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
482 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
483 </section>
29
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
484 <output_collection name="out_pairs" type="paired" count="2">
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
485 <element name="forward" decompress="true" file="cutadapt_out1.fq.gz" ftype="fastq.gz">
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
486 <assert_contents>
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
487 <has_size value="12000" delta="2000" />
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
488 </assert_contents>
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
489 </element>
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
490 <element name="reverse" decompress="true" file="cutadapt_out2.fq.gz" ftype="fastq.gz">
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
491 <assert_contents>
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
492 <has_size value="12000" delta="2000" />
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
493 </assert_contents>
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
494 </element>
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
495 </output_collection>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
496 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
497 <!-- Ensure built-in adapters work -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
498 <test expect_num_outputs="1">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
499 <param name="type" value="single" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
500 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
501 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
502 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
503 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
504 <param name="adapter_source_list" value="builtin"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
505 <param name="adapter" value="TGTAGGCC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
506 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
507 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
508 </section>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
509 <output name="out1" file="cutadapt_builtin.out" ftype="fastq"/>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
510 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
511 <!-- Ensure discard file output works -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
512 <test expect_num_outputs="1">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
513 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
514 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
515 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
516 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
517 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
518 <param name="adapter" value="TTAGACATATCTCCGTCG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
519 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
520 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
521 </section>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
522 <section name="filter_options">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
523 <param name="discard_trimmed" value="True"/>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
524 </section>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
525 <output name="out1" file="cutadapt_discard.out" ftype="fastq"/>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
526 <assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
527 <has_text text="--discard-trimmed"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
528 </assert_command>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
529 </test>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
530 <!-- Ensure rest file output works, test json output -->
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
531 <test expect_num_outputs="3">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
532 <param name="input_1" ftype="fasta" value="cutadapt_rest.fa" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
533 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
534 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
535 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
536 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
537 <param name="adapter" value="AAAGATG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
538 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
539 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
540 </section>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
541 <param name="output_selector" value="rest_file,json_stats"/>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
542 <output name="out1" file="cutadapt_rest.out" ftype="fasta"/>
32
5915ea1ec9b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d8c2d0e1ce530d9cceb06cbd516296876926f0dd
iuc
parents: 30
diff changeset
543 <!--allow for differing cutadapt and python version as well as two lines containing the number of cores -->
5915ea1ec9b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d8c2d0e1ce530d9cceb06cbd516296876926f0dd
iuc
parents: 30
diff changeset
544 <output name="json_stats" file="cutadapt_rest.json" ftype="json" lines_diff="8"/>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
545 <output name="rest_output" file="cutadapt_rest2.out" ftype="fasta"/>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
546 </test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
547 <!-- Ensure nextseq-trim option works -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
548 <test expect_num_outputs="1">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
549 <param name="type" value="single" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
550 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
551 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
552 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
553 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
554 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
555 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
556 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
557 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
558 </section>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
559 <param name="nextseq_trim" value="20" />
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
560 <output name="out1" decompress="True" file="cutadapt_nextseq_out.fq.gz" ftype="fastq.gz"/>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
561 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
562 <!-- Ensure Report and Info file output work -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
563 <test expect_num_outputs="3">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
564 <param name="type" value="single" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
565 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
566 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
567 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
568 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
569 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
570 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
571 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
572 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
573 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
574 <param name="output_selector" value="report,info_file" />
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
575 <output name="out1" value="cutadapt_small.out" ftype="fastq"/>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
576 <output name="report">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
577 <assert_contents>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
578 <has_text text="Summary"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
579 </assert_contents>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
580 </output>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
581 <output name="info_file" value="cutadapt_info_out.txt" ftype="txt"/>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
582 </test>
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
583
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
584
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
585 <test expect_num_outputs="1">
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
586 <conditional name="library">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
587 <param name="type" value="single" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
588 <param name="input_1" ftype="fastq" value="cutadapt_in_split.fastq" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
589 <section name="r1" >
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
590 <repeat name="front_adapters">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
591 <conditional name="front_adapter_source">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
592 <param name="front_adapter_source_list" value="user"/>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
593 <param name="front_adapter_name" value="A1" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
594 <param name="front_adapter" value="^GTCGGTAA" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
595 </conditional>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
596 </repeat>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
597 <repeat name="front_adapters">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
598 <conditional name="front_adapter_source">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
599 <param name="front_adapter_source_list" value="user"/>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
600 <param name="front_adapter_name" value="A2" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
601 <param name="front_adapter" value="^AGGTCACT" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
602 </conditional>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
603 </repeat>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
604 </section>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
605 </conditional>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
606 <param name="output_selector" value="multiple_output" />
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
607 <output_collection name="split_output" type="list" count="3">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
608 <element name="A1" value="A1.fastq" ftype="fastq">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
609 </element>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
610 <element name="A2" value="A2.fastq" ftype="fastq">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
611 </element>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
612 <element name="unknown" value="unknown.fastq" ftype="fastq">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
613 </element>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
614 </output_collection>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
615 </test>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
616
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
617 <test expect_num_outputs="1">
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
618 <conditional name="library">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
619 <param name="type" value="single" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
620 <param name="input_1" ftype="fastq.gz" value="cutadapt_in_split.fastq.gz" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
621 <section name="r1" >
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
622 <repeat name="front_adapters">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
623 <conditional name="front_adapter_source">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
624 <param name="front_adapter_source_list" value="file"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
625 <param name="front_adapter_file" ftype="fasta" value="barcodes.fasta" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
626 </conditional>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
627 </repeat>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
628 </section>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
629 </conditional>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
630 <param name="output_selector" value="multiple_output" />
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
631 <output_collection name="split_output" type="list" count="3">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
632 <element name="A1" decompress="True" file="A1.fastq.gz" ftype="fastq.gz">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
633 </element>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
634 <element name="A2" decompress="True" file="A2.fastq.gz" ftype="fastq.gz">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
635 </element>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
636 <element name="unknown" decompress="True" file="unknown.fastq.gz" ftype="fastq.gz">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
637 </element>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
638 </output_collection>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
639 </test>
18
5c7e7d905b33 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b58d6ff959a1d920fd0d9b02e43d2482667d61e8
iuc
parents: 17
diff changeset
640
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
641 <!-- Ensure untrimmed file output works -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
642 <test expect_num_outputs="2">
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
643 <param name="type" value="single" />
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
644 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
645 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
646 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
647 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
648 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
649 <param name="adapter" value="AAAT"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
650 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
651 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
652 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
653 <param name="output_selector" value="untrimmed_file" />
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
654 <output name="out1" file="cutadapt_trimmed.out" ftype="fastq"/>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
655 <output name="untrimmed_output" file="cutadapt_untrimmed.out" ftype="fastq"/>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
656 </test>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
657 <!-- Ensure untrimmed gzip file output works -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
658 <test expect_num_outputs="2">
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
659 <param name="type" value="single" />
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
660 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
661 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
662 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
663 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
664 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
665 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
666 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
667 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
668 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
669 <param name="output_selector" value="untrimmed_file" />
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
670 <output name="out1" decompress="True" file="cutadapt_trimmed.out.gz" ftype="fastq.gz"/>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
671 <!--
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
672 Do not use the decompress option for this assertion, since it does NOT test that the file is compressed
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
673 See discussion at https://github.com/galaxyproject/galaxy/issues/7671
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
674 `delta="4000" is more than the difference between gzip level 1 and gzip level 9, but much less than the
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
675 difference between level 1 compression and no compression
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
676 -->
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
677 <output name="untrimmed_output" file="cutadapt_untrimmed.out.gz" compare="sim_size" delta="4000" ftype="fastq.gz"/>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
678 </test>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
679 <!-- same as 1st test with paired data + filter options (because of discard_untrimmed no comparison is done) -->
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
680 <test expect_num_outputs="2">
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
681 <param name="type" value="paired" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
682 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
683 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
684 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
685 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
686 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
687 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
688 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
689 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
690 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
691 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
692 <section name="r2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
693 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
694 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
695 <param name="adapter_source_list2" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
696 <param name="adapter2" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
697 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
698 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
699 </section>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
700 <section name="filter_options">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
701 <param name="discard_untrimmed" value="true"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
702 <param name="minimun_length" value="1"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
703 <param name="maximum_length" value="1000"/>
22
093678460093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 916aaa04992e36f9324299949b86cccd12d3081d"
iuc
parents: 21
diff changeset
704 <param name="max_n" value="0"/>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
705 <param name="pair_filter" value="both"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
706 </section>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
707 <assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
708 <has_text text="--discard-untrimmed"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
709 <has_text text="--maximum-length=1000"/>
22
093678460093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 916aaa04992e36f9324299949b86cccd12d3081d"
iuc
parents: 21
diff changeset
710 <has_text text="--max-n=0"/>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
711 <has_text text="--pair-filter=both"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
712 </assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
713 </test>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
714 <!-- Test cut option -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
715 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
716 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
717 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
718 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
719 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
720 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
721 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
722 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
723 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
724 </repeat>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
725 <param name="cut" value="5"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
726 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
727 <output name="out1" file="cutadapt_small_cut.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
728 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
729 <!-- Test rename options -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
730 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
731 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
732 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
733 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
734 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
735 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
736 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
737 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
738 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
739 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
740 <param name="cut" value="5"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
741 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
742 <section name="read_mod_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
743 <param name="rename" value="{id} barcode={cut_prefix}"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
744 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
745 <output name="out1" file="cutadapt_small_rename.out" ftype="fastq">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
746 <assert_contents>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
747 <has_text text="@prefix:1_13_1259/1 barcode=AGCCG"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
748 </assert_contents>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
749 </output>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
750 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
751 <!-- Test action options -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
752 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
753 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
754 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
755 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
756 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
757 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
758 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
759 <param name="adapter" value="CGTCCGAANTAG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
760 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
761 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
762 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
763 <section name="adapter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
764 <param name="action" value="retain"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
765 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
766 <output name="out1" file="cutadapt_action_retain.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
767 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
768 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
769 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
770 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
771 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
772 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
773 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
774 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
775 <param name="adapter" value="CGTCCGAANTAG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
776 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
777 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
778 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
779 <section name="adapter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
780 <param name="action" value="mask"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
781 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
782 <output name="out1" file="cutadapt_action_mask.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
783 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
784 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
785 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
786 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
787 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
788 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
789 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
790 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
791 <param name="adapter" value="CGTCCGAANTAG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
792 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
793 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
794 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
795 <section name="adapter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
796 <param name="action" value="lowercase"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
797 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
798 <output name="out1" file="cutadapt_action_lowercase.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
799 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
800 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
801 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
802 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
803 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
804 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
805 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
806 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
807 <param name="adapter" value="CGTCCGAANTAG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
808 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
809 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
810 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
811 <section name="adapter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
812 <param name="action" value="none"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
813 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
814 <output name="out1" file="cutadapt_action_none.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
815 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
816 <!-- Test revcomp options -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
817 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
818 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
819 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
820 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
821 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
822 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
823 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
824 <param name="adapter" value="TAAACAGATTAGT"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
825 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
826 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
827 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
828 <section name="adapter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
829 <param name="revcomp" value="true"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
830 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
831 <output name="out1" file="cutadapt_revcomp.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
832 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
833 <!-- Test minimum lenghth paired-reads -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
834 <test expect_num_outputs="2">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
835 <param name="type" value="paired" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
836 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
837 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
838 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
839 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
840 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
841 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
842 <param name="adapter" value="ATCTGGTTCC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
843 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
844 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
845 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
846 <section name="r2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
847 <repeat name="adapters2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
848 <conditional name="adapter_source2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
849 <param name="adapter_source_list2" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
850 <param name="adapter2" value="CTACAAG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
851 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
852 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
853 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
854 <section name="filter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
855 <param name="minimum_length" value="30"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
856 <param name="pair_filter" value="both"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
857 <conditional name="length_R2_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
858 <param name="length_R2_status" value="True"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
859 <param name="R2_minimum" value="10"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
860 </conditional>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
861 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
862 <output name="out1" decompress="True" file="cutadapt_out1_min_length.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
863 <output name="out2" decompress="True" file="cutadapt_out2_min_length.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
864 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
865 <has_text text="--minimum-length=30:10"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
866 <has_text text="--pair-filter=both"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
867 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
868 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
869 <!-- Test maximum lenghth paired-reads -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
870 <test expect_num_outputs="2">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
871 <param name="type" value="paired" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
872 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
873 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
874 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
875 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
876 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
877 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
878 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
879 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
880 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
881 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
882 <section name="r2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
883 <repeat name="adapters2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
884 <conditional name="adapter_source2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
885 <param name="adapter_source_list2" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
886 <param name="adapter2" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
887 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
888 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
889 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
890 <section name="filter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
891 <param name="pair_filter" value="both"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
892 <param name="maximum_length" value="50"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
893 <conditional name="length_R2_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
894 <param name="length_R2_status" value="True"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
895 <param name="R2_maximum" value="30"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
896 </conditional>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
897 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
898 <output name="out1" decompress="True" file="cutadapt_out1_max_length.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
899 <output name="out2" decompress="True" file="cutadapt_out2_max_length.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
900 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
901 <has_text text="--maximum-length=50:30"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
902 <has_text text="--pair-filter=both"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
903 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
904 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
905 <!-- Test combination maximum and minimum length paired reads -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
906 <test expect_num_outputs="2">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
907 <param name="type" value="paired" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
908 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
909 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
910 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
911 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
912 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
913 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
914 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
915 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
916 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
917 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
918 <section name="r2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
919 <repeat name="adapters2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
920 <conditional name="adapter_source2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
921 <param name="adapter_source_list2" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
922 <param name="adapter2" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
923 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
924 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
925 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
926 <section name="filter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
927 <param name="pair_filter" value="both"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
928 <param name="minimum_length" value="10"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
929 <param name="maximum_length" value="50"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
930 <conditional name="length_R2_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
931 <param name="length_R2_status" value="True"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
932 <param name="R2_maximum" value="30"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
933 </conditional>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
934 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
935 <output name="out1" decompress="True" file="cutadapt_out1_max_min_01.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
936 <output name="out2" decompress="True" file="cutadapt_out2_max_min_01.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
937 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
938 <has_text text="--minimum-length=10:"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
939 <has_text text="--maximum-length=50:30"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
940 <has_text text="--pair-filter=both"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
941 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
942 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
943 <test expect_num_outputs="2">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
944 <param name="type" value="paired" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
945 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
946 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
947 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
948 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
949 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
950 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
951 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
952 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
953 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
954 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
955 <section name="r2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
956 <repeat name="adapters2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
957 <conditional name="adapter_source2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
958 <param name="adapter_source_list2" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
959 <param name="adapter2" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
960 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
961 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
962 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
963 <section name="filter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
964 <param name="pair_filter" value="both"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
965 <param name="minimum_length" value="10"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
966 <param name="maximum_length" value="50"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
967 <conditional name="length_R2_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
968 <param name="length_R2_status" value="True"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
969 <param name="R2_minimum" value="10"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
970 </conditional>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
971 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
972 <output name="out1" decompress="True" file="cutadapt_out1_max_min_02.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
973 <output name="out2" decompress="True" file="cutadapt_out2_max_min_02.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
974 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
975 <has_text text="--minimum-length=10:10"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
976 <has_text text="--maximum-length=50:"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
977 <has_text text="--pair-filter=both"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
978 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
979 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
980 <!-- Test length options -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
981 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
982 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
983 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
984 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
985 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
986 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
987 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
988 <param name="adapter" value="AGCCGCTANGACG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
989 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
990 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
991 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
992 <section name="read_mod_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
993 <conditional name="shorten_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
994 <param name="shorten_values" value="True"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
995 <param name="shorten_end" value="3prime"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
996 <param name="length" value="10"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
997 </conditional>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
998 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
999 <output name="out1" file="cutadapt_shorten_3prime.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1000 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1001 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1002 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1003 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1004 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1005 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1006 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1007 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1008 <param name="adapter" value="AGCCGCTANGACG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1009 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1010 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1011 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1012 <section name="read_mod_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1013 <conditional name="shorten_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1014 <param name="shorten_values" value="True"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1015 <param name="shorten_end" value="5prime"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1016 <param name="length" value="10"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1017 </conditional>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1018 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1019 <output name="out1" file="cutadapt_shorten_5prime.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1020 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1021 <!-- Test max expected errors options -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1022 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1023 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1024 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1025 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1026 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1027 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1028 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1029 <param name="adapter" value="AGCGGCTTAGACG"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1030 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1031 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1032 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1033 <section name="filter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1034 <param name="max_expected_errors" value="10"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1035 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1036 <output name="out1" file="cutadapt_shorten_expected_errors.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1037 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1038 <!-- Test disallow internal adaptors option -->
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1039 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1040 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1041 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1042 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1043 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1044 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1045 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1046 <param name="adapter" value="GAANTAGCTACCAC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1047 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1048 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1049 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1050 <section name="adapter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1051 <param name="internal" value="X"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1052 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1053 <output name="out1" file="cutadapt_shorten_internal_adapters.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1054 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1055 <has_text text="GAANTAGCTACCACX"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1056 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1057 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1058 <test expect_num_outputs="2">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1059 <param name="type" value="paired" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1060 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1061 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1062 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1063 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1064 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1065 <param name="adapter_source_list" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1066 <param name="adapter" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1067 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1068 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1069 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1070 <section name="r2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1071 <repeat name="adapters2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1072 <conditional name="adapter_source2">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1073 <param name="adapter_source_list2" value="user"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1074 <param name="adapter2" value="AGATCGGAAGAGC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1075 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1076 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1077 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1078 <section name="adapter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1079 <param name="internal" value="X"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1080 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1081 <output name="out1" decompress="True" file="cutadapt_out1_internal_adapter.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1082 <output name="out2" decompress="True" file="cutadapt_out2_internal_adapter.fq.gz" ftype="fastq.gz"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1083 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1084 <has_text text="AGATCGGAAGAGCX"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1085 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1086 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1087 <test expect_num_outputs="1">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1088 <param name="type" value="single" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1089 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1090 <section name="r1">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1091 <repeat name="adapters">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1092 <conditional name="adapter_source">
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1093 <param name="adapter_source_list" value="builtin"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1094 <param name="adapter" value="TGTAGGCC"/>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1095 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1096 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1097 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1098 <section name="adapter_options">
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1099 <param name="internal" value="X"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1100 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1101 <output name="out1" file="cutadapt_builtin_internal_adapter.out" ftype="fastq"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1102 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1103 <has_text text="TGTAGGCCX"/>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1104 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1105 </test>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1106 <!-- Ensure individual per adapter noindels parameter works -->
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1107 <test expect_num_outputs="3">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1108 <param name="type" value="paired_collection" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1109 <param name="input_1">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1110 <collection type="paired">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1111 <element name="forward" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1112 <element name="reverse" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1113 </collection>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1114 </param>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1115 <section name="r1">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1116 <repeat name="adapters">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1117 <conditional name="adapter_source">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1118 <param name="adapter_source_list" value="user"/>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1119 <param name="adapter" value="AGATCGGAAGAGC"/>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1120 </conditional>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1121 <param name="single_noindels" value=";noindels" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1122 </repeat>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1123 </section>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1124 <section name="r2">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1125 <repeat name="adapters2">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1126 <conditional name="adapter_source2">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1127 <param name="adapter_source_list2" value="user"/>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1128 <param name="adapter2" value="AGATCGGAAGAGC"/>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1129 </conditional>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1130 <param name="single_noindels" value=";noindels" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1131 </repeat>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1132 </section>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1133 <output_collection name="out_pairs" type="paired">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1134 <element name="forward" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1135 <element name="reverse" decompress="True" file="cutadapt_out2.fq.gz" ftype="fastq.gz" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1136 </output_collection>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1137 </test>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1138 <!-- Ensure specifying quality cutoff (for both reads) works -->
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1139 <test expect_num_outputs="3">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1140 <param name="type" value="paired_collection" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1141 <param name="input_1">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1142 <collection type="paired">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1143 <element name="forward" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1144 <element name="reverse" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1145 </collection>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1146 </param>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1147 <param name="quality_cutoff" value="5" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1148 <section name="r1">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1149 <repeat name="adapters">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1150 <conditional name="adapter_source">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1151 <param name="adapter_source_list" value="user"/>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1152 <param name="adapter" value="AGATCGGAAGAGC"/>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1153 </conditional>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1154 </repeat>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1155 </section>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1156 <section name="r2">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1157 <repeat name="adapters2">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1158 <conditional name="adapter_source2">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1159 <param name="adapter_source_list2" value="user"/>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1160 <param name="adapter2" value="AGATCGGAAGAGC"/>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1161 </conditional>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1162 </repeat>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1163 <param name="quality_cutoff2" value="15,20"/>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1164 </section>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1165 <output_collection name="out_pairs" type="paired">
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1166 <element name="forward" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1167 <element name="reverse" decompress="True" file="cutadapt_out2_cutoff.fq.gz" ftype="fastq.gz" />
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1168 </output_collection>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1169 </test>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1170 </tests>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1171
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1172 <help><![CDATA[
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1173
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1174 .. class:: infomark
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1175
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1176 **What it does**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1177
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1178 -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1179
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1180 **Cutadapt** finds and removes adapter sequences, primers, poly-A tails and other types of unwanted sequence from your high-throughput sequencing reads.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1181
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1182 Cleaning your data in this way is often required: Reads from small-RNA sequencing contain the 3’ sequencing adapter because the read is longer than the molecule that is sequenced, such as in microRNA, or CRISPR data, or Poly-A tails that are useful for pulling out RNA from your sample but often you don’t want them to be in your reads.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1183
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1184 Cutadapt_ helps with these trimming tasks by finding the adapter or primer sequences in an error-tolerant way. It can also modify and filter reads in various ways. Cutadapt searches for the adapter in all reads and removes it when it finds it. Unless you use a filtering option, all reads that were present in the input file will also be present in the output file, some of them trimmed, some of them not. Even reads that were trimmed entirely (because the adapter was found in the very beginning) are output. All of this can be changed with options in the tool form above.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1185
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1186 The tool is based on the **Open Source** Cutadapt_ tool. See the complete `Cutadapt documentation`_ for additional details. If you use Cutadapt, please cite *Marcel, 2011* under **Citations** below.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1187
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1188 -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1189
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1190 **Inputs**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1191
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1192 -------------------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1193
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1194 Input files for Cutadapt need to be:
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1195
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1196 - FASTQ.GZ, FASTQ.BZ2, FASTQ or FASTA
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1197
19
49370cb85f0f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 6318c53e772ed592862729f3048ed9bd3a711969
iuc
parents: 18
diff changeset
1198 To trim an adapter, input the ADAPTER sequence in plain text or in a FASTA file e.g. AACCGGTT (with the characters: **$**, **^**, **...**, if anchored or linked).
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1199
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1200 ============================================= ===================
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1201 **Option** **Sequence**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1202 --------------------------------------------- -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1203 3’ (End) Adapter ADAPTER
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1204 Anchored 3’ Adapter ADAPTER$
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1205
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1206 5’ (Front) Adapter ADAPTER
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1207 Anchored 5’ Adapter ^ADAPTER
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1208
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1209 5’ or 3’ (Both possible) ADAPTER
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1210
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1211 Linked Adapter - 3' (End) only ADAPTER1...ADAPTER2
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1212 Non-anchored Linked Adapter - 5' (Front) only ADAPTER1...ADAPTER2
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1213 ============================================= ===================
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1214
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1215 Below is an illustration of the allowed adapter locations relative to the read and depending on the adapter type:
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1216
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1217 .. image:: $PATH_TO_IMAGES/adapters.svg
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1218
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1219
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1220 -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1221
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1222 *Example: Illumina TruSeq Adapters*
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1223
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1224 -------------------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1225
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1226 If you have reads containing Illumina TruSeq adapters, for example, follow these steps.
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1227
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1228
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1229 For Single-end reads as well as the first reads of Paired-end data:
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1230
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1231 **Read 1**
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1232
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1233 In the **3' (End) Adapters** option above, insert A + the “TruSeq Indexed Adapter” prefix that is common to all Indexed Adapter sequences, e.g insert:
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1234
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1235 AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1236
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1237
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1238 For the second reads of Paired-end data:
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1239
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1240 **Read 2**
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1241
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1242 In the **3' (End) Adapters** option above, insert the reverse complement of the “TruSeq Universal Adapter”:
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1243
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1244 AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1245
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1246 The adapter sequences can be found in the document `Illumina TruSeq Adapters De-Mystified`_.
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1247
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1248 -----------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1249
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1250 **Outputs**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1251
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1252 -----------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1253
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1254 - Trimmed reads
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1255
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1256 Optionally, under **Output Options** you can choose to output
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1257
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1258 * Report
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1259 * Info file
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1260
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1261
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1262 **Report**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1263
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1264 Cutadapt can output per-adapter statistics if you select to output the report above.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1265
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1266 Example:
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1267
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1268 ::
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1269
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1270 This is cutadapt 3.4 with Python 3.9.2
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1271
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1272 Command line parameters: -j=1 -a AGATCGGAAGAGC -A AGATCGGAAGAGC --output=out1.fq.gz --paired-output=out2.fq.gz --error-rate=0.1 --times=1
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1273 --overlap=3 --action=trim --minimum-length=30:40 --pair-filter=both --cut=0 bwa-mem-fastq1_assimetric_fq_gz.fq.gz bwa-mem-fastq2_assimetric_fq_gz.fq.gz
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1274
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1275 Processing reads on 1 core in paired-end mode ...
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1276 Finished in 0.01 s (129 µs/read; 0.46 M reads/minute).
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1277
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1278 === Summary ===
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1279
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1280 Total read pairs processed: 99
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1281 Read 1 with adapter: 2 (2.0%)
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1282 Read 2 with adapter: 4 (4.0%)
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1283 Pairs that were too short: 3 (3.0%)
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1284 Pairs written (passing filters): 96 (97.0%)
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1285
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1286 Total basepairs processed: 48,291 bp
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1287 Read 1: 24,147 bp
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1288 Read 2: 24,144 bp
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1289 Total written (filtered): 48,171 bp (99.8%)
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1290 Read 1: 24,090 bp
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1291 Read 2: 24,081 bp
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1292
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1293
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1294 **Info file**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1295
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1296 The info file contains information about the found adapters. The output is a tab-separated text file. Each line corresponds to one read of the input file.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1297
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1298 Columns contain the following data:
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1299
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1300 * **1st**: Read name
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1301 * **2nd**: Number of errors
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1302 * **3rd**: 0-based start coordinate of the adapter match
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1303 * **4th**: 0-based end coordinate of the adapter match
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1304 * **5th**: Sequence of the read to the left of the adapter match (can be empty)
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1305 * **6th**: Sequence of the read that was matched to the adapter
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1306 * **7th**: Sequence of the read to the right of the adapter match (can be empty)
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1307 * **8th**: Name of the found adapter
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1308 * **9th**: Quality values corresponding to sequence left of the adapter match (can be empty)
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1309 * **10th**: Quality values corresponding to sequence matched to the adapter (can be empty)
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1310 * **11th**: Quality values corresponding to sequence to the right of the adapter (can be empty)
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1311
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1312 The concatenation of columns 5-7 yields the full read sequence. Column 8 identifies the found adapter. Adapters without a name are numbered starting from 1. Fields 9-11 are empty if quality values are not available. Concatenating them yields the full sequence of quality values.
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1313
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1314 If no adapter was found, the format is as follows:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1315
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1316 #. Read name
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1317 #. The value -1
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1318 #. The read sequence
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1319 #. Quality values
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1320
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1321 When parsing the file, be aware that additional columns may be added in the future. Note also that some fields can be empty, resulting in consecutive tabs within a line.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1322
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1323 If the --times option is used and greater than 1, each read can appear more than once in the info file. There will be one line for each found adapter, all with identical read names. Only for the first of those lines will the concatenation of columns 5-7 be identical to the original read sequence (and accordingly for columns 9-11). For subsequent lines, the shown sequence are the ones that were used in subsequent rounds of adapter trimming, that is, they get successively shorter.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1324
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1325
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1326 --------------------
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1327
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1328 **Rename Reads**
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1329
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1330 --------------------
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1331
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1332
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1333 The --rename option expects a template string such as {id} extra_info {adapter_name} as a parameter. It can contain regular text and placeholders that consist of a name enclosed in curly braces ({placeholdername}).
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1334
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1335 The read name will be set to the template string in which the placeholders are replaced with the actual values relevant for the current read.
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1336
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1337 The following placeholders are currently available for single-end reads:
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1338
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1339 * {header} – the full, unchanged header
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1340 * {id} – the read ID, that is, the part of the header before the first whitespace
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1341 * {comment} – the part of the header after the whitespace following the ID
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1342 * {adapter_name} – the name of adapter that was found in this read or no_adapter if there was none adapter match. If you use --times to do multiple rounds of adapter matching, this is the name of the last found adapter.
30
c5e2e5902201 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
iuc
parents: 29
diff changeset
1343 * {match_sequence} – the sequence of the read that matched the adapter (including errors). If there was no adapter match, this is set to an empty string. If you use a linked adapter, this is to the two matching strings, separated by a comma.
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1344 * {cut_prefix} – the prefix removed by the --cut (or -u) option (that is, when used with a positive length argument)
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1345 * {cut_suffix} – the suffix removed by the --cut (or -u) option (that is, when used with a negative length argument)
30
c5e2e5902201 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
iuc
parents: 29
diff changeset
1346 * {rc} – this is replaced with the string rc if the read was reverse complemented. This only applies when reverse complementing was requested
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1347
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1348 If the --rename option is used with paired-end data, the template is applied separately to both R1 and R2. That is, for R1, the placeholders are replaced with values from R1, and for R2, the placeholders are replaced with values from R2. For example, {comment} becomes R1’s comment in R1 and it becomes R2’s comment in R2.
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1349
30
c5e2e5902201 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
iuc
parents: 29
diff changeset
1350 For paired-end data, the placeholder {rn} is available (“read number”), and it is replaced with 1 in R1 and with 2 in R2.
c5e2e5902201 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
iuc
parents: 29
diff changeset
1351
c5e2e5902201 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
iuc
parents: 29
diff changeset
1352 In addition, it is possible to write a placeholder as {r1.placeholdername} or {r2.placeholdername}, which always takes the replacement value from R1 or R2, respectively.
c5e2e5902201 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
iuc
parents: 29
diff changeset
1353 The {r1.placeholder} and {r2.placeholder} notation is available for all placeholders except {rn} and {id} because the read ID needs to be identical for both reads.
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1354
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1355 --------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1356
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1357 **More Information**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1358
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1359 --------------------
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1360
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1361 See the excellent `Cutadapt documentation`_
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1362
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1363 .. _Cutadapt: https://cutadapt.readthedocs.io/en/stable/
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1364 .. _`Cutadapt documentation`: https://cutadapt.readthedocs.io/en/latest/index.html
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1365 .. _`Illumina TruSeq Adapters De-Mystified`: http://tucf-genomics.tufts.edu/documents/protocols/TUCF_Understanding_Illumina_TruSeq_Adapters.pdf
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1366
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1367
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1368 --------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1369
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1370 **Galaxy Wrapper Development**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1371
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1372 --------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1373
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1374 Author: Lance Parsons <lparsons@princeton.edu>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1375
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1376 ]]></help>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1377 <expand macro="citations" />
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1378 </tool>