annotate cutadapt.xml @ 39:fe74900d6dc7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
author iuc
date Fri, 17 May 2024 13:32:03 +0000
parents 944ae523bacb
children aa784cb3810d
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>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
10 <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
11 #import re
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
12
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
13 ## set things up for handling inputs and outputs in single- vs paired-end modes
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
14 #set library_type = str($library.type)
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
15 #if $library_type == 'single':
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
16 #set paired = False
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
17 #else:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
18 #set paired = True
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
19 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
20
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
21 #if $library_type == 'paired':
33
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_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
23 #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
24 ## 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
25 ## 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
26 #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
27 #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
28 #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
29 #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
30 #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
31 #end if
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
32 #elif $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
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
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
42 #if $input_1.is_of_type("fastq", "fastq.gz", "fastq.bz2"):
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
43 #set ext = ".fq"
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
44 #else
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 = ".fa"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
46 #end if
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
47 #if $input_1.ext.endswith(".gz"):
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
48 #set ext=ext+".gz"
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
49 #elif $input_1.ext.endswith(".bz2")
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
50 #set ext=ext+".bz2"
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
51 #end if
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
52
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
53 #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
54 #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
55 #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
56 #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
57 #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
58 #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
59 #set untrimmed_output = "untrimmed_output" + $ext
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
60
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
61 #if $paired:
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
62 #if $input_2.is_of_type("fastq", "fastq.gz", "fastq.bz2"):
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
63 #set ext2 = ".fq"
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
64 #else
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
65 #set ext2 = ".fa"
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
66 #end if
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
67 #if $input_2.ext.endswith(".gz"):
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
68 #set ext2=ext2+".gz"
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
69 #elif $input_2.ext.endswith(".bz2")
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
70 #set ext2=ext2+".bz2"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
71 #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
72 #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
73 #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
74 #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
75 #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
76 #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
77 #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
78
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
79 ## Link in the input and output files, so Cutadapt can tell their type
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
80 ln -f -s '$input_1' '$read1' &&
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
81 #if $paired:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
82 ln -f -s '$input_2' '$read2' &&
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
83 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
84 ## Create dedicated output folder if needed
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
85 #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
86 mkdir split &&
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
87 #end if
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
88
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
89 ## Run Cutadapt
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
90 cutadapt
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
91
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
92 -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
93
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
94 ## Read1 trimming
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
95 #set ADAPTER_ARGUMENT="-a"
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
96 #for $a in $library.r1.adapters
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
97 @adapter_cli@
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
98 #end for
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
99 #set ADAPTER_ARGUMENT="-b"
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
100 #for $a in $library.r1.anywhere_adapters
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
101 @adapter_cli@
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
102 #end for
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
103 #set ADAPTER_ARGUMENT="-g"
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
104 #for $a in $library.r1.front_adapters
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
105 @adapter_cli@
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
106 #end for
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
107
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
108 #if $paired:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
109 ## Read2 trimming
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
110 #set ADAPTER_ARGUMENT="-A"
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
111 #for $a in $library.r2.adapters2
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
112 @adapter_cli@
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
113 #end for
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
114 #set ADAPTER_ARGUMENT="-B"
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
115 #for $a in $library.r2.anywhere_adapters2
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
116 @adapter_cli@
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
117 #end for
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
118 #set ADAPTER_ARGUMENT="-G"
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
119 #for $a in $library.r2.front_adapters2
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
120 @adapter_cli@
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
121 #end for
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
122 $library.pair_adapters
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
123 #end if
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
124
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
125 --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
126 --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
127 --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
128 $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
129 $adapter_options.match_read_wildcards
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
130 $adapter_options.no_match_adapter_wildcards
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
131 --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
132 $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
133
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
134 #if $other_trimming_options.cut != 0:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
135 --cut=$other_trimming_options.cut
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
136 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
137 #if $paired and $other_trimming_options.cut2 != 0:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
138 -U $other_trimming_options.cut2
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
139 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
140 #if str($other_trimming_options.quality_cutoff) != '0':
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
141 --quality-cutoff=$other_trimming_options.quality_cutoff
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
142 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
143 #if $paired and str($other_trimming_options.quality_cutoff2) != '':
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
144 -Q $other_trimming_options.quality_cutoff2
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
145 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
146 #if str($other_trimming_options.nextseq_trim) != '0':
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
147 --nextseq-trim=$other_trimming_options.nextseq_trim
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
148 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
149 $other_trimming_options.trim_n
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
150 $other_trimming_options.poly_a
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
151 #if str($other_trimming_options.shorten_options.shorten_values) == 'True':
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
152 #if str($other_trimming_options.shorten_options.shorten_end) == '3prime'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
153 --length=$other_trimming_options.shorten_options.length
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
154 #else
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
155 --length=-$other_trimming_options.shorten_options.length
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
156 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
157 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
158
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
159 $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
160 $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
161
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
162 #if $paired and str($filter_options.minimum_length2):
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
163 --minimum-length=$filter_options.minimum_length:$filter_options.minimum_length2
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
164 #elif $filter_options.minimum_length > 0:
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
165 --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
166 #end if
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
167 #if $paired and str($filter_options.maximum_length2):
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
168 --maximum-length=$filter_options.maximum_length:$filter_options.maximum_length2
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
169 #elif str($filter_options.maximum_length):
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
170 --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
171 #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
172 #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
173 --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
174 #end if
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
175 #if str($filter_options.max_expected_errors):
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
176 --max-ee=$filter_options.max_expected_errors
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
177 #end if
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
178 #if str($filter_options.max_average_error_rate):
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
179 --max-aer=$filter_options.max_average_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
180 #end if
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
181 $filter_options.discard_casava
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
182 #if $paired and str($filter_options.pair_filter) != 'any':
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
183 --pair-filter=$filter_options.pair_filter
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
184 #end if
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
185
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
186 #if $input_1.ext.startswith("fastqillumina") or $input_1.ext.startswith("fastqsolexa")
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
187 --quality-base=64
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
188 #end if
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
189
28
c053d4cad713 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 9ec830a98da45d5fb2f92a817c7cd0376504be90"
iuc
parents: 27
diff changeset
190 #if $read_mod_options.strip_suffix != ''
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
191 --strip-suffix='$read_mod_options.strip_suffix'
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
192 #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
193 #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
194 --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
195 #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
196 #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
197 --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
198 #end if
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
199 $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
200
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
201 ## Outputs handling
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
202 #if 'json_stats' in $output_selector:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
203 --json=stats.json
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
204 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
205 #if 'info_file' in $output_selector:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
206 --info-file='$info_file'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
207 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
208 #if 'rest_file' in $output_selector:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
209 -r='${rest_output}'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
210 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
211 #if 'wildcard_file' in $output_selector:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
212 --wildcard-file='${wild_output}'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
213 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
214 #if 'too_short_file' in $output_selector:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
215 --too-short-output='${too_short_output}'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
216 #if $paired:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
217 --too-short-paired-output='${too_short_paired_output}'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
218 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
219 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
220 #if 'too_long_file' in $output_selector:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
221 --too-long-output='${too_long_output}'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
222 #if $paired:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
223 --too-long-paired-output='${too_long_paired_output}'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
224 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
225 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
226 #if 'untrimmed_file' in $output_selector:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
227 --untrimmed-output='${untrimmed_output}'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
228 #if $paired:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
229 --untrimmed-paired-output='${untrimmed_paired_output}'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
230 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
231 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
232 #if not $paired and 'multiple_output' in $output_selector:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
233 -o 'split/{name}.${input_1.ext}'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
234 #else:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
235 -o '$out1'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
236 #if $paired:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
237 -p '$out2'
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
238 #end if
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
239 #end if
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
240
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
241 '$read1'
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
242 #if $paired:
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
243 '$read2'
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
244 #end if
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
245
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
246 #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
247 > report.txt
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
248 #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
249 ]]></command>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
250 <inputs>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
251 <!-- Reads -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
252 <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
253 <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
254 <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
255 <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
256 <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
257 </param>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
258 <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
259 <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;" />
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
260 <expand macro="read1_adapters" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
261 </when>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
262 <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
263 <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
264 <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;" />
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
265 <expand macro="read1_adapters" />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
266 <expand macro="read2_adapters" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
267 </when>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
268 <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
269 <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;" />
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
270 <expand macro="read1_adapters" />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
271 <expand macro="read2_adapters" />
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
272 </when>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
273 </conditional>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
274 <!-- Adapter Options -->
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
275 <section name="adapter_options" title="Adapter Handling Options">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
276 <param name="action" type="select" label="What to do if a match is found">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
277 <option value="trim" selected="true">Trim: trim adapter and upstream or downstream sequence</option>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
278 <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
279 <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
280 <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
281 <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
282 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
283 <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)." />
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
284 <param argument="--no-indels" type="boolean" checked="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)." />
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
285 <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
286 <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." />
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
287 <param argument="--match-read-wildcards" type="boolean" checked="false" truevalue="--match-read-wildcards" falsevalue="" label="Match wilcards in reads" help="Interpret IUPAC wildcards in reads"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
288 <param argument="--no-match-adapter-wildcards" type="boolean" checked="true" truevalue="" falsevalue="--no-match-adapter-wildcards" label="Match wildcards in adapters" help="Interpret IUPAC wildcards in adapters."/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
289 <param name="revcomp" argument="--rc" type="boolean" checked="false" truevalue="--rc" 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
290 </section>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
291 <section name="other_trimming_options" title="Other Read Trimming Options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
292 <param argument="--cut" type="integer" value="0" label="Bases to cut from R1 reads before adapter trimming" help="Remove bases from each read (first read only if paired). If positive, remove bases from the beginning. If negative, remove bases from the end. This is applied *before* adapter trimming." />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
293 <param name="cut2" argument="-U" type="integer" value="0" label="Bases to cut from R2 reads before adapter trimming" help="For paired-end data, you can define here a cut value to apply to R2 reads. Usage is identical to the R1 setting. Default: 0; ignored for single-end data." />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
294 <param argument="--quality-cutoff" type="text" value="0" label="Quality cutoff(s) (R1)" help="Trim low-quality bases from 5' and/or 3' ends of each read before adapter removal. 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.">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
295 <sanitizer>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
296 <valid initial="string.digits"><add value="," /></valid>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
297 </sanitizer>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
298 <validator type="regex">[0-9]+(,[0-9])?</validator>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
299 </param>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
300 <param name="quality_cutoff2" argument="-Q" type="text" optional="true" value="" label="Quality cutoff(s) R2" help="For paired-end data, you can set here a separate quality cutoff to apply to R2 reads specifically. Leave empty to reuse the R1 cutoff setting. Ignored for single-end data. Syntax is identical to the R1 setting.">
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
301 <sanitizer>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
302 <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
303 </sanitizer>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
304 <validator type="regex">[0-9]+(,[0-9])?</validator>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
305 </param>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
306 <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." />
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
307 <param argument="--trim-n" type="boolean" truevalue="--trim-n" falsevalue="" checked="false" label="Trim Ns" help="Trim N's on ends of reads." />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
308 <param argument="--poly-a" type="boolean" truevalue="--poly-a" falsevalue="" checked="false" label="Trim poly-A tails" help="Note, this trim poly-T 'heads' on R2"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
309 <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
310 <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
311 <option value="True">Enabled</option>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
312 <option value="False" selected="true">Disabled</option>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
313 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
314 <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
315 <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
316 <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
317 <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
318 <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
319 </param>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
320 </when>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
321 <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
322 </when>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
323 </conditional>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
324 </section>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
325 <!-- Filter Options -->
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
326 <section name="filter_options" title="Read Filtering Options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
327 <param argument="--discard-trimmed" type="boolean" checked="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!" />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
328 <param argument="--discard_untrimmed" type="boolean" checked="false" truevalue="--discard-untrimmed" falsevalue="" label="Discard Untrimmed Reads" help="Discard reads that do not contain the adapter." />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
329 <param argument="--minimum-length" type="integer" min="0" value="1" label="Minimum length (R1)" help="Discard reads that, after processing, are shorter than LENGTH. Note: You can set this parameter to zero to keep empty reads (with zero-length sequence and quality string) in the output, but some downstream tools may have problems with these. Default: 1" />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
330 <param name="minimum_length2" type="integer" min="0" value="" optional="true" label="Minimum length (R2)" help="For paired-end data, you can specify here a separate minimum length cutoff to apply to R2 reads. Leave empty to reuse the R1 cutoff set above. Ignored for single-end data." />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
331 <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." />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
332 <param name="maximum_length2" type="integer" min="0" value="" optional="true" label="Maximum length (R2)" help="For paired-end data, you can specify here a separate maximum length cutoff to apply to R2 reads. Leave empty to reuse the R1 cutoff set above. Ignored for single-end data." />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
333 <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." />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
334 <param name="max_expected_errors" argument="--max-ee" type="float" min="0" optional="true" value="" label="Max expected errors" help="Discard reads whose expected number of errors (computed from quality values) exceeds this value." />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
335 <param name="max_average_error_rate" argument="--max-aer" type="float" min="0" max="1" optional="true" value="" label="Max average expected errors" help="As --max-expected-errors (see above), but divided by length to account for reads of varying length" />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
336 <param argument="--discard-casava" type="boolean" truevalue="--discard-casava" falsevalue="" checked="false" label="Discard CASAVA-filtered reads" help="Discard reads that did not pass CASAVA filtering (header has :Y:)." />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
337 <param argument="--pair-filter" type="select" label="Pair filter" help="Which of the reads in a paired-end read have to match the filtering critera above in order for the pair to be filtered. Default: any">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
338 <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>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
339 <option value="both">Both: filtering criteria must apply to both reads in order for a read pair to be discarded.</option>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
340 <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>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
341 </param>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
342 </section>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
343 <!-- Read Modification Options -->
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
344 <section name="read_mod_options" title="Read Modification Options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
345 <param argument="--strip-suffix" label="Strip suffix" type="text" help="Remove this suffix from read names if present." />
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
346 <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'." >
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
347 <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
348 <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
349 <add value="/" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
350 <add value="+" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
351 <add value="-" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
352 <add value="=" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
353 <add value=" " />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
354 <add value="_" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
355 </valid>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
356 </sanitizer>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
357 <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
358 </param>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
359 <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. ">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
360 <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
361 <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
362 <add value="{" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
363 <add value="}" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
364 <add value="_" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
365 <add value="=" />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
366 <add value=" " />
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
367 </valid>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
368 </sanitizer>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
369 <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
370 </param>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
371 <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
372 </section>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
373 <!-- Output Options -->
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
374 <param name="output_selector" type="select" multiple="true" display="checkboxes" label="Additional outputs to generate">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
375 <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
376 <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
377 <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
378 <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
379 <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
380 <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
381 <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
382 <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
383 <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
384 </param>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
385 </inputs>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
386 <outputs>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
387 <data name="out1" format="fastqsanger" metadata_source="library|input_1" default_identifier_source="library|input_1" from_work_dir="out1.*" label="${tool.name} on ${on_string}: Read 1 Output">
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
388 <filter>library['type'] != 'paired_collection'</filter>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
389 <filter>not output_selector or '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
390 <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
391 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
392 <data name="out2" format="fastqsanger" metadata_source="library|input_2" default_identifier_source="library|input_2" from_work_dir="out2.*" label="${tool.name} on ${on_string}: Read 2 Output" >
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
393 <filter>library['type'] == 'paired'</filter>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
394 <filter>not output_selector or '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
395 <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
396 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
397 <collection name="out_pairs" type="paired" format_source="library|input_1" label="${tool.name} on ${on_string}: Reads">
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
398 <filter>library['type'] == 'paired_collection'</filter>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
399 <filter>not output_selector or 'multiple_output' not in output_selector</filter>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
400 <data name="forward" from_work_dir="out1.*" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
401 <data name="reverse" from_work_dir="out2.*" />
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
402 </collection>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
403 <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
404 <filter>output_selector and 'report' in output_selector</filter>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
405 </data>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
406 <data name="info_file" format="txt" metadata_source="library|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
407 <filter>output_selector and 'info_file' in output_selector</filter>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
408 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
409 <data name="rest_output" format="fastqsanger" metadata_source="library|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
410 <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
411 <expand macro="inherit_format_1" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
412 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
413 <data name="wild_output" format="txt" metadata_source="library|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
414 <filter>output_selector and 'wildcard_file' in output_selector</filter>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
415 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
416 <data name="untrimmed_output" format="fastqsanger" metadata_source="library|input_1" default_identifier_source="library|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
417 <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
418 <expand macro="inherit_format_1" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
419 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
420 <data name="untrimmed_paired_output" format="fastqsanger" metadata_source="library|input_2" default_identifier_source="library|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
421 <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
422 <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
423 <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
424 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
425 <data name="too_short_output" format="fastqsanger" metadata_source="library|input_1" default_identifier_source="library|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
426 <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
427 <expand macro="inherit_format_1" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
428 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
429 <data name="too_short_paired_output" format="fastqsanger" metadata_source="library|input_2" default_identifier_source="library|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
430 <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
431 <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
432 <expand macro="inherit_format_2" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
433 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
434 <data name="too_long_output" format="fastqsanger" metadata_source="library|input_1" default_identifier_source="library|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
435 <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
436 <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
437 </data>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
438 <data name="too_long_paired_output" format="fastqsanger" metadata_source="library|input_2" default_identifier_source="library|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
439 <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
440 <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
441 <expand macro="inherit_format_2" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
442 </data>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
443 <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
444 <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
445 </data>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
446 <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
447 <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
448 <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
449 </collection>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
450 </outputs>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
451 <tests>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
452 <!-- 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
453 <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
454 <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
455 <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
456 <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
457 <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
458 <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
459 <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
460 <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
461 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
462 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
463 </section>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
464 <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
465 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
466 <!-- 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
467 <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
468 <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
469 <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
470 <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
471 <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
472 <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
473 <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
474 <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
475 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
476 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
477 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
478 <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
479 </test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
480 <!-- 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
481 <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
482 <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
483 <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
484 <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
485 <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
486 <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
487 <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
488 <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
489 <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
490 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
491 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
492 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
493 <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
494 <repeat name="adapters2">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
495 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
496 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
497 <param name="adapter" value="AGATCGGAAGAGC"/>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
498 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
499 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
500 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
501 <output name="out1" decompress="true" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
502 <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
503 <assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
504 <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
505 <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
506 <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
507 <not_has_text text="--max-n"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
508 <has_text text="--minimum-length=1 "/>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
509 </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
510 </test>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
511 <!-- 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
512 <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
513 <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
514 <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
515 <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
516 <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
517 <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
518 </collection>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
519 </param>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
520 <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
521 <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
522 <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
523 <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
524 <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
525 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
526 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
527 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
528 <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
529 <repeat name="adapters2">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
530 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
531 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
532 <param name="adapter" value="AGATCGGAAGAGC"/>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
533 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
534 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
535 </section>
29
48f587c13075 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
iuc
parents: 28
diff changeset
536 <output_collection name="out_pairs" type="paired" count="2">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
537 <element name="forward" decompress="true" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
538 <element name="reverse" decompress="true" file="cutadapt_out2.fq.gz" ftype="fastq.gz"/>
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
539 </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
540 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
541 <!-- 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
542 <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
543 <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
544 <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
545 <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
546 <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
547 <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
548 <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
549 <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
550 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
551 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
552 </section>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
553 <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
554 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
555 <!-- 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
556 <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
557 <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
558 <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
559 <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
560 <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
561 <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
562 <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
563 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
564 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
565 </section>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
566 <section name="filter_options">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
567 <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
568 </section>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
569 <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
570 <assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
571 <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
572 </assert_command>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
573 </test>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
574 <!-- Ensure pair-adapters option works -->
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
575 <test expect_num_outputs="2">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
576 <param name="type" value="paired" />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
577 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
578 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
579 <section name="r1">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
580 <repeat name="adapters">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
581 <conditional name="adapter_source">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
582 <param name="adapter_source_list" value="user"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
583 <param name="adapter" value="AGATCGGAAGAGC"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
584 </conditional>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
585 </repeat>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
586 </section>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
587 <section name="r2">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
588 <repeat name="adapters2">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
589 <conditional name="adapter_source">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
590 <param name="adapter_source_list" value="user"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
591 <param name="adapter" value="AGATCGGAAGAGC"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
592 </conditional>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
593 </repeat>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
594 </section>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
595 <param name="pair_adapters" value="true"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
596 <output name="out1" decompress="true" file="cutadapt_out1_pair_adapters.fq.gz" ftype="fastq.gz"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
597 <output name="out2" decompress="true" file="cutadapt_out2_pair_adapters.fq.gz" ftype="fastq.gz"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
598 <assert_command>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
599 <not_has_text text="--discard-trimmed"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
600 <not_has_text text="--discard-untrimmed"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
601 <not_has_text text="--maximum-length"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
602 <not_has_text text="--max-n"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
603 <has_text text="--pair-adapters"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
604 <has_text text="--minimum-length=1 "/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
605 </assert_command>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
606 </test>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
607 <!-- 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
608 <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
609 <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
610 <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
611 <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
612 <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
613 <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
614 <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
615 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
616 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
617 </section>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
618 <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
619 <output name="out1" file="cutadapt_rest.out" ftype="fasta"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
620 <!-- compare to expected reproducible part of json output -->
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
621 <output name="json_stats" file="cutadapt_rest_json.txt" compare="contains"/>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
622 <output name="rest_output" file="cutadapt_rest2.out" ftype="fasta"/>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
623 </test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
624 <!-- 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
625 <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
626 <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
627 <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
628 <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
629 <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
630 <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
631 <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
632 <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
633 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
634 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
635 </section>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
636 <section name="other_trimming_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
637 <param name="nextseq_trim" value="20" />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
638 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
639 <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
640 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
641 <!-- 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
642 <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
643 <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
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="AGATCGGAAGAGC"/>
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="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
654 <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
655 <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
656 <assert_contents>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
657 <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
658 </assert_contents>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
659 </output>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
660 <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
661 </test>
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
662 <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
663 <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
664 <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
665 <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
666 <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
667 <repeat name="front_adapters">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
668 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
669 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
670 <param name="adapter_name" value="A1" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
671 <param name="adapter" value="^GTCGGTAA" />
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
672 </conditional>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
673 </repeat>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
674 <repeat name="front_adapters">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
675 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
676 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
677 <param name="adapter_name" value="A2" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
678 <param name="adapter" value="^AGGTCACT" />
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
679 </conditional>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
680 </repeat>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
681 </section>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
682 </conditional>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
683 <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
684 <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
685 <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
686 </element>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
687 <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
688 </element>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
689 <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
690 </element>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
691 </output_collection>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
692 </test>
23
c4b82dce8335 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit d1e907795fa943b505723dd6f7bf0a61723d8818"
iuc
parents: 22
diff changeset
693 <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
694 <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
695 <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
696 <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
697 <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
698 <repeat name="front_adapters">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
699 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
700 <param name="adapter_source_list" value="file"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
701 <param name="adapter_file" ftype="fasta" value="barcodes.fasta" />
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
702 </conditional>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
703 </repeat>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
704 </section>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
705 </conditional>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
706 <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
707 <output_collection name="split_output" type="list" count="3">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
708 <element name="A1" decompress="true" file="A1.fastq.gz" ftype="fastq.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
709 <element name="A2" decompress="true" file="A2.fastq.gz" ftype="fastq.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
710 <element name="unknown" decompress="true" file="unknown.fastq.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
711 </output_collection>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
712 </test>
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
713 <!-- 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
714 <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
715 <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
716 <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
717 <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
718 <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
719 <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
720 <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
721 <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
722 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
723 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
724 </section>
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="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
726 <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
727 <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
728 </test>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
729 <!-- 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
730 <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
731 <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
732 <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
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 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
741 <param name="output_selector" value="untrimmed_file" />
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
742 <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
743 <!--
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
744 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
745 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
746 `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
747 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
748 -->
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
749 <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
750 </test>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
751 <!-- 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
752 <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
753 <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
754 <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
755 <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
756 <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
757 <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
758 <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
759 <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
760 <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
761 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
762 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
763 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
764 <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
765 <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
766 <conditional name="adapter_source">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
767 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
768 <param name="adapter" value="AGATCGGAAGAGC"/>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
769 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
770 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
771 </section>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
772 <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
773 <param name="discard_untrimmed" value="true"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
774 <param name="minimum_length" value="1"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
775 <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
776 <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
777 <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
778 </section>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
779 <assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
780 <has_text text="--discard-untrimmed"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
781 <has_text text="--minimum-length=1 " />
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
782 <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
783 <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
784 <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
785 </assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
786 </test>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
787 <!-- 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
788 <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
789 <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
790 <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
791 <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
792 <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
793 <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
794 <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
795 <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
796 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
797 </repeat>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
798 </section>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
799 <section name="other_trimming_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
800 <param name="cut" value="5"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
801 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
802 <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
803 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
804 <!-- 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
805 <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
806 <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
807 <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
808 <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
809 <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
810 <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
811 <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
812 <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
813 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
814 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
815 </section>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
816 <section name="other_trimming_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
817 <param name="cut" value="5"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
818 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
819 <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
820 <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
821 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
822 <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
823 <assert_contents>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
824 <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
825 </assert_contents>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
826 </output>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
827 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
828 <!-- 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
829 <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
830 <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
831 <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
832 <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
833 <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
834 <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
835 <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
836 <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
837 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
838 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
839 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
840 <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
841 <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
842 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
843 <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
844 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
845 <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
846 <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
847 <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
848 <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
849 <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
850 <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
851 <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
852 <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
853 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
854 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
855 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
856 <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
857 <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
858 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
859 <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
860 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
861 <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
862 <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
863 <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
864 <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
865 <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
866 <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
867 <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
868 <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
869 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
870 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
871 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
872 <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
873 <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
874 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
875 <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
876 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
877 <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
878 <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
879 <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
880 <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
881 <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
882 <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
883 <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
884 <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
885 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
886 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
887 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
888 <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
889 <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
890 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
891 <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
892 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
893 <!-- 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
894 <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
895 <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
896 <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
897 <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
898 <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
899 <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
900 <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
901 <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
902 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
903 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
904 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
905 <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
906 <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
907 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
908 <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
909 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
910 <!-- 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
911 <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
912 <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
913 <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
914 <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
915 <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
916 <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
917 <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
918 <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
919 <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
920 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
921 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
922 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
923 <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
924 <repeat name="adapters2">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
925 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
926 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
927 <param name="adapter" value="CTACAAG"/>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
928 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
929 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
930 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
931 <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
932 <param name="minimum_length" value="30"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
933 <param name="minimum_length2" value="10"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
934 <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
935 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
936 <output name="out1" decompress="true" file="cutadapt_out1_min_length.fq.gz" ftype="fastq.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
937 <output name="out2" decompress="true" file="cutadapt_out2_min_length.fq.gz" ftype="fastq.gz"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
938 <assert_command>
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="--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
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>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
943 <!-- Test maximum length paired-reads -->
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
944 <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
945 <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
946 <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
947 <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
948 <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
949 <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
950 <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
951 <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
952 <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
953 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
954 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
955 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
956 <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
957 <repeat name="adapters2">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
958 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
959 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
960 <param name="adapter" value="AGATCGGAAGAGC"/>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
961 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
962 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
963 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
964 <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
965 <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
966 <param name="maximum_length" value="50"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
967 <param name="maximum_length2" value="30"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
968 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
969 <output name="out1" decompress="true" file="cutadapt_out1_max_length.fq.gz" ftype="fastq.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
970 <output name="out2" decompress="true" file="cutadapt_out2_max_length.fq.gz" ftype="fastq.gz"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
971 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
972 <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
973 <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
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 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
976 <!-- 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
977 <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
978 <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
979 <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
980 <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
981 <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
982 <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
983 <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
984 <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
985 <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
986 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
987 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
988 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
989 <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
990 <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
991 <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
992 <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
993 <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
994 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
995 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
996 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
997 <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
998 <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
999 <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
1000 <param name="maximum_length" value="50"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1001 <param name="maximum_length2" value="30"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1002 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1003 <output name="out1" decompress="true" file="cutadapt_out1_max_min_01.fq.gz" ftype="fastq.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1004 <output name="out2" decompress="true" file="cutadapt_out2_max_min_01.fq.gz" ftype="fastq.gz"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1005 <assert_command>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1006 <has_text text="--minimum-length=10 "/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1007 <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
1008 <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
1009 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1010 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1011 <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
1012 <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
1013 <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
1014 <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
1015 <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
1016 <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
1017 <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
1018 <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
1019 <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
1020 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1021 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1022 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1023 <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
1024 <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
1025 <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
1026 <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
1027 <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
1028 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1029 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1030 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1031 <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
1032 <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
1033 <param name="minimum_length" value="10"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1034 <param name="minimum_length2" value="10"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1035 <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
1036 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1037 <output name="out1" decompress="true" file="cutadapt_out1_max_min_02.fq.gz" ftype="fastq.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1038 <output name="out2" decompress="true" file="cutadapt_out2_max_min_02.fq.gz" ftype="fastq.gz"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1039 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1040 <has_text text="--minimum-length=10:10"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1041 <has_text text="--maximum-length=50 "/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1042 <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
1043 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1044 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1045 <!-- 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
1046 <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
1047 <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
1048 <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
1049 <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
1050 <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
1051 <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
1052 <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
1053 <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
1054 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1055 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1056 </section>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1057 <section name="other_trimming_options">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1058 <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
1059 <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
1060 <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
1061 <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
1062 </conditional>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1063 </section>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1064 <section name="filter_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1065 <param name="minimum_length" value="0"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1066 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1067 <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
1068 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1069 <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
1070 <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
1071 <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
1072 <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
1073 <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
1074 <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
1075 <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
1076 <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
1077 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1078 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1079 </section>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1080 <section name="other_trimming_options">
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1081 <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
1082 <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
1083 <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
1084 <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
1085 </conditional>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1086 </section>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1087 <section name="filter_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1088 <param name="minimum_length" value="0"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1089 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1090 <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
1091 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1092 <!-- 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
1093 <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
1094 <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
1095 <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
1096 <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
1097 <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
1098 <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
1099 <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
1100 <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
1101 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1102 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1103 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1104 <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
1105 <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
1106 </section>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1107 <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
1108 </test>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1109
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1110 <!-- 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
1111 <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
1112 <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
1113 <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
1114 <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
1115 <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
1116 <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
1117 <param name="adapter_source_list" value="user"/>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1118 <param name="adapter" value="GAANTAGCTACCACX"/>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1119 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1120 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1121 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1122 <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
1123 <assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1124 <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
1125 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1126 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1127 <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
1128 <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
1129 <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
1130 <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
1131 <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
1132 <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
1133 <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
1134 <param name="adapter_source_list" value="user"/>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1135 <param name="adapter" value="AGATCGGAAGAGCX"/>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1136 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1137 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1138 </section>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1139 <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
1140 <repeat name="adapters2">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1141 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1142 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1143 <param name="adapter" value="AGATCGGAAGAGCX"/>
25
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1144 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1145 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1146 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1147 <output name="out1" decompress="true" file="cutadapt_out1_internal_adapter.fq.gz" ftype="fastq.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1148 <output name="out2" decompress="true" file="cutadapt_out2_internal_adapter.fq.gz" ftype="fastq.gz"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1149 <assert_command>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1150 <has_text text="'AGATCGGAAGAGCX'" n="2"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1151 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1152 </test>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1153 <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
1154 <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
1155 <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
1156 <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
1157 <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
1158 <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
1159 <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
1160 <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
1161 </conditional>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1162 </repeat>
4e5056fefd88 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
iuc
parents: 24
diff changeset
1163 </section>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1164 <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
1165 <assert_command>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1166 <has_text text="'TGTAGGCC'"/>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1167 </assert_command>
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1168 </test>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1169 <!-- 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
1170 <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
1171 <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
1172 <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
1173 <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
1174 <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
1175 <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
1176 </collection>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1177 </param>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1178 <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
1179 <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
1180 <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
1181 <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
1182 <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
1183 </conditional>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1184 <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
1185 </repeat>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1186 </section>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1187 <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
1188 <repeat name="adapters2">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1189 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1190 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1191 <param name="adapter" value="AGATCGGAAGAGC"/>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1192 </conditional>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1193 <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
1194 </repeat>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1195 </section>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1196 <output_collection name="out_pairs" type="paired">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1197 <element name="forward" decompress="true" file="cutadapt_out1.fq.gz" ftype="fastq.gz" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1198 <element name="reverse" decompress="true" file="cutadapt_out2.fq.gz" ftype="fastq.gz" />
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1199 </output_collection>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1200 </test>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1201 <!-- 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
1202 <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
1203 <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
1204 <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
1205 <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
1206 <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
1207 <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
1208 </collection>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1209 </param>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1210 <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
1211 <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
1212 <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
1213 <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
1214 <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
1215 </conditional>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1216 </repeat>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1217 </section>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1218 <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
1219 <repeat name="adapters2">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1220 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1221 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1222 <param name="adapter" value="AGATCGGAAGAGC"/>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1223 </conditional>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1224 </repeat>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1225 </section>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1226 <section name="other_trimming_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1227 <param name="quality_cutoff" value="5"/>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1228 <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
1229 </section>
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1230 <output_collection name="out_pairs" type="paired">
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1231 <element name="forward" decompress="true" file="cutadapt_out1.fq.gz" ftype="fastq.gz" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1232 <element name="reverse" decompress="true" file="cutadapt_out2_cutoff.fq.gz" ftype="fastq.gz" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1233 </output_collection>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1234 <assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1235 <has_text text="--quality-cutoff=5"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1236 <has_text text="-Q 15,20"/>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1237 </assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1238 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1239
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1240 <!-- ployA trimmining https://github.com/marcelm/cutadapt/blob/e04cc32e392e1cbe0c518b4e0637cdf03533d440/tests/test_paired.py#L768 -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1241 <test expect_num_outputs="3">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1242 <param name="type" value="paired_collection" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1243 <param name="input_1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1244 <collection type="paired">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1245 <element name="forward" ftype="fasta" value="cutadapt/data/polya.1.fasta" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1246 <element name="reverse" ftype="fasta" value="cutadapt/data/polya.2.fasta" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1247 </collection>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1248 </param>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1249 <section name="other_trimming_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1250 <param name="poly_a" value="true"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1251 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1252 <output_collection name="out_pairs" type="paired">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1253 <element name="forward" file="cutadapt/cut/polya.1.fasta" ftype="fasta" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1254 <element name="reverse" file="cutadapt/cut/polya.2.fasta" ftype="fasta" />
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1255 </output_collection>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1256 <assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1257 <has_text text="--poly-a"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1258 </assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1259 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1260
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1261 <!-- polyA legacy https://github.com/marcelm/cutadapt/blob/e04cc32e392e1cbe0c518b4e0637cdf03533d440/tests/test_commandline.py#L267 -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1262 <test expect_num_outputs="1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1263 <param name="type" value="single" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1264 <param name="input_1" ftype="fasta" value="cutadapt/data/polya.1.fasta" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1265 <section name="r1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1266 <repeat name="adapters">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1267 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1268 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1269 <param name="adapter" value="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1270 </conditional>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1271 </repeat>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1272 </section>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1273 <param name="overlap" value="10"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1274 <output name="out1" file="cutadapt/cut/polya.legacy.1.fasta" ftype="fasta"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1275 <assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1276 <has_text text="-a 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1277 <has_text text="--overlap=10"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1278 </assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1279 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1280
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1281 <!-- polyA legacy brace notation https://github.com/marcelm/cutadapt/blob/e04cc32e392e1cbe0c518b4e0637cdf03533d440/tests/test_commandline.py#L276 -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1282 <test expect_num_outputs="1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1283 <param name="type" value="single" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1284 <param name="input_1" ftype="fasta" value="cutadapt/data/polya.1.fasta" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1285 <section name="r1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1286 <repeat name="adapters">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1287 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1288 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1289 <param name="adapter" value="A{35}"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1290 </conditional>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1291 </repeat>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1292 </section>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1293 <param name="overlap" value="10"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1294 <output name="out1" file="cutadapt/cut/polya.legacy.1.fasta" ftype="fasta"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1295 <assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1296 <has_text text="-a 'A{35}'"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1297 <has_text text="--overlap=10"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1298 </assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1299 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1300
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1301 <!-- polyA https://github.com/marcelm/cutadapt/blob/e04cc32e392e1cbe0c518b4e0637cdf03533d440/tests/test_commandline.py#L281 -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1302 <test expect_num_outputs="1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1303 <param name="type" value="single" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1304 <param name="input_1" ftype="fasta" value="cutadapt/data/polya.1.fasta" />
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1305 <section name="other_trimming_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1306 <param name="poly_a" value="true"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1307 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1308 <output name="out1" file="cutadapt/cut/polya.1.fasta" ftype="fasta"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1309 <assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1310 <has_text text="--poly-a"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1311 </assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1312 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1313 <!-- fasta.gz input https://github.com/marcelm/cutadapt/blob/e04cc32e392e1cbe0c518b4e0637cdf03533d440/tests/test_commandline.py#L78
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1314 in contrast to the original test the tool automatically compresses the output -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1315 <test expect_num_outputs="1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1316 <param name="type" value="single" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1317 <param name="input_1" ftype="fasta.gz" value="cutadapt/data/simple.fasta.gz" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1318 <output name="out1" decompress="true" file="cutadapt/cut/simple.fasta.gz" ftype="fasta.gz"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1319 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1320 <!-- fatstqillumina input https://github.com/marcelm/cutadapt/blob/e04cc32e392e1cbe0c518b4e0637cdf03533d440/tests/test_commandline.py#L252 -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1321 <test expect_num_outputs="1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1322 <param name="type" value="single" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1323 <param name="input_1" ftype="fastqillumina" value="cutadapt/data/illumina64.fastq" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1324 <section name="r1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1325 <repeat name="adapters">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1326 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1327 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1328 <param name="adapter" value="XXXXXX"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1329 </conditional>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1330 </repeat>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1331 </section>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1332 <section name="other_trimming_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1333 <param name="quality_cutoff" value="10"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1334 </section>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1335 <section name="filter_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1336 <param name="minimum_length" value="0"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1337 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1338 <output name="out1" file="cutadapt/cut/illumina64.fastq" ftype="fastqillumina"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1339 <assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1340 <has_text text="-a 'XXXXXX'"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1341 <has_text text="--quality-cutoff=10"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1342 <has_text text="--quality-base=64"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1343 <not_has_text text="--minimum-length "/>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1344 </assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1345 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1346 <!-- fatstqillumina input https://github.com/marcelm/cutadapt/blob/e04cc32e392e1cbe0c518b4e0637cdf03533d440/tests/test_commandline.py#L257 -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1347 <test expect_num_outputs="1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1348 <param name="type" value="single" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1349 <param name="input_1" ftype="fastqillumina" value="cutadapt/data/illumina64.fastq" />
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1350 <section name="other_trimming_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1351 <param name="quality_cutoff" value="10"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1352 </section>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1353 <section name="filter_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1354 <param name="minimum_length" value="0"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1355 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1356 <output name="out1" file="cutadapt/cut/illumina64.fastq" ftype="fastqillumina"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1357 <assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1358 <has_text text="--quality-cutoff=10"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1359 <has_text text="--quality-base=64"/>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1360 <not_has_text text="--minimum-length"/>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1361 </assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1362 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1363 <!-- https://github.com/marcelm/cutadapt/blame/3407ac0004d04b11ae7157934a6665ecaf82c328/tests/test_commandline.py#L1028 -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1364 <test expect_num_outputs="3">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1365 <param name="type" value="single" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1366 <param name="input_1" ftype="fastqillumina" value="cutadapt/data/maxee.fastq" />
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1367 <section name="filter_options">
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1368 <param name="minimum_length" value="0"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1369 <param name="max_expected_errors" value="0.9"/>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1370 </section>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1371 <param name="output_selector" value="report,info_file"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1372 <output name="out1" file="cutadapt/cut/maxee.fastq" ftype="fastqillumina"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1373 <output name="report">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1374 <assert_contents>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1375 <has_text text="Reads with too many exp. errors: 2"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1376 </assert_contents>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1377 </output>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1378 <output name="info_file">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1379 <assert_contents>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1380 <has_n_lines n="4"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1381 <has_text text="ee_0.8&#09;-1&#09;ACGTTGCA&#09;++++++++"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1382 </assert_contents>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1383 </output>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1384 <assert_command>
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1385 <has_text text="--max-ee=0.9"/>
35
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1386 </assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1387 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1388 <!-- https://github.com/marcelm/cutadapt/blob/3407ac0004d04b11ae7157934a6665ecaf82c328/tests/test_commandline.py#L335 -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1389 <test expect_num_outputs="1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1390 <param name="type" value="single" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1391 <param name="input_1" ftype="fasta" value="cutadapt/data/wildcard.fa" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1392 <section name="r1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1393 <repeat name="anywhere_adapters">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1394 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1395 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1396 <param name="adapter" value="ACGTACGT"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1397 </conditional>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1398 </repeat>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1399 </section>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1400 <section name="adapter_options">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1401 <param name="match_read_wildcards" value="true"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1402 </section>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1403 <output name="out1" file="cutadapt/cut/wildcard.fa" ftype="fasta" sort="true"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1404 <assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1405 <has_text text="--match-read-wildcards"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1406 <has_text text="-b 'ACGTACGT'"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1407 </assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1408 </test>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1409 <!-- https://github.com/marcelm/cutadapt/blob/3407ac0004d04b11ae7157934a6665ecaf82c328/tests/test_commandline.py#L368 -->
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1410 <test expect_num_outputs="1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1411 <param name="type" value="single" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1412 <param name="input_1" ftype="fasta" value="cutadapt/data/wildcardN.fa" />
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1413 <section name="r1">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1414 <repeat name="adapters">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1415 <conditional name="adapter_source">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1416 <param name="adapter_source_list" value="user"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1417 <param name="adapter" value="GGGGGGG"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1418 </conditional>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1419 </repeat>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1420 </section>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1421 <section name="adapter_options">
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1422 <param name="match_read_wildcards" value="true"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1423 <param name="error_rate" value="0"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1424 </section>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1425 <output name="out1" file="cutadapt/cut/wildcardN.fa" ftype="fasta" sort="true"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1426 <assert_command>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1427 <has_text text="--match-read-wildcards"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1428 <has_text text="--error-rate=0.0"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1429 <has_text text="-a 'GGGGGGG'"/>
9845c649f41b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c37e2aeba811fd041c08f0e119a3cbe90bfa7418
iuc
parents: 33
diff changeset
1430 </assert_command>
27
de6cebe3c043 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
iuc
parents: 26
diff changeset
1431 </test>
36
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1432 <!-- 44. Test mispaired read detection -->
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1433 <test expect_failure="true">
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1434 <param name="type" value="paired" />
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1435 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1436 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq_mispaired2.fq.gz" />
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1437 <section name="r1">
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1438 <repeat name="adapters">
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1439 <conditional name="adapter_source">
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1440 <param name="adapter_source_list" value="user"/>
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1441 <param name="adapter" value="AGATCGGAAGAGC"/>
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1442 </conditional>
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1443 </repeat>
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1444 </section>
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1445 <section name="r2">
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1446 <repeat name="adapters2">
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1447 <conditional name="adapter_source">
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1448 <param name="adapter_source_list" value="user"/>
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1449 <param name="adapter" value="AGATCGGAAGAGC"/>
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1450 </conditional>
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1451 </repeat>
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1452 </section>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
1453 <assert_stderr>
36
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1454 <has_text text="Reads are improperly paired"/>
37
944ae523bacb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f
iuc
parents: 36
diff changeset
1455 </assert_stderr>
36
64172f1c1202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit f0294a3e33257aee83aa7c507d2abddccebf0239
iuc
parents: 35
diff changeset
1456 </test>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1457 </tests>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1458
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1459 <help><![CDATA[
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1460
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1461 .. class:: infomark
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1462
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1463 **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
1464
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1465 **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
1466
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1467 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
1468
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1469 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.
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1470
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1471 See the complete `Cutadapt documentation`_ for additional details.
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1472
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1473 If you use Cutadapt, please cite *Marcel, 2011* under **Citations** below.
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1474
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1475 -----
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1476
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1477 Input Sequences
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1478 ***************
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1479
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1480 Accepted input formats for the tool are:
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1481
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1482 - FASTQ.GZ
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1483 - FASTQ.BZ2
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1484 - FASTQ or
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1485 - FASTA
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1486
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1487 -----
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1488
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1489 Specifying Adapters
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1490 *******************
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1491
19
49370cb85f0f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 6318c53e772ed592862729f3048ed9bd3a711969
iuc
parents: 18
diff changeset
1492 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
1493
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1494 ============================================= ===================
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1495 **Option** **Sequence**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1496 --------------------------------------------- -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1497 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
1498 Anchored 3’ Adapter ADAPTER$
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1499
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1500 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
1501 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
1502
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1503 5’ or 3’ (Both possible) ADAPTER
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1504
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1505 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
1506 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
1507 ============================================= ===================
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1508
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1509 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
1510
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1511 .. image:: $PATH_TO_IMAGES/adapters.svg
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1512
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1513
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1514 -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1515
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1516 *Example: Illumina TruSeq Adapters*
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1517
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1518 -------------------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1519
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1520 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
1521
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1522
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1523 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
1524
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1525 **Read 1**
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1526
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1527 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
1528
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1529 AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1530
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1531
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1532 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
1533
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1534 **Read 2**
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1535
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1536 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
1537
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1538 AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1539
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1540 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
1541
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1542
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1543 -----------
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1544
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1545 **Paired Adapters**
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1546
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1547 -----------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1548
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1549 Normally, the tool looks for adapters on R1 and R2 reads independently. That is, the best matching R1 adapter of each type (3' End, 5' End, Anywhere) is removed from R1 and the best matching R2 adapter of each type is removed from R2.
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1550
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1551 To change this, you can use the **Pairwise adapter search** (--pair-adapters) option, which causes each R1 adapter to be paired up with its corresponding R2 adapter. The first R1 adapter of a given type that you specify will be paired up with the first R2 adapter of that type, and so on. The adapters are then always removed in pairs from a read pair.
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1552
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1553 For example, if you specify the following two 3'-end adapters for the R1 reads:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1554
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1555 - ``AAAAA``
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1556 - ``GGGGG``
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1557
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1558 and these two 3'-end adapters for the R2 reads:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1559
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1560 - ``CCCC``
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1561 - ``TTTT``
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1562
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1563 then, with this option enabled, the tool will trim a pair of reads only if:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1564
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1565 - either ``AAAAA`` is found in R1 and ``CCCCC`` is found in R2,
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1566 - or ``GGGG`` is found in R1 and ``TTTT`` is found in R2.
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1567
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1568 Two limitations exist in this mode:
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1569
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1570 1. You need to provide equal numbers of R1 and R2 adapters of each type to allow pair formation, or the tool run will fail.
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1571 2. The algorithm identifies the best-matching R1 adapter first and then checks whether it can find its corresponding R2 adapter. If not, the read pair remains unchanged, even though it is, in theory, possible that a different R1 adapter that does not fit as well would have had a corresponding R2 adapter present, i.e., some legitimate adapter pairs might remain unhandled.
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1572
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1573 This mode is useful, for example, for `demultiplexing Illumina unique dual indices (UDIs)`_.
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1574
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1575 -----
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1576
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1577 Outputs
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1578 *******
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1579
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1580 - Trimmed reads
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1581
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1582 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
1583
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1584 * Report
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1585 * Info file
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1586
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1587 -----------
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1588
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1589 **Report**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1590
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1591 -----------
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1592
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1593 Cutadapt can output per-adapter statistics if you select to generate the report above.
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1594
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1595 Example:
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
1596
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1597 ::
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1598
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1599 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
1600
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1601 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
1602 --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
1603
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1604 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
1605 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
1606
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1607 === Summary ===
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1608
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1609 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
1610 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
1611 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
1612 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
1613 Pairs written (passing filters): 96 (97.0%)
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1614
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1615 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
1616 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
1617 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
1618 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
1619 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
1620 Read 2: 24,081 bp
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1621
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1622 -----------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1623
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1624 **Info file**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1625
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1626 -----------
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1627
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1628 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
1629
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1630 Columns contain the following data:
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1631
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1632 * **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
1633 * **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
1634 * **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
1635 * **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
1636 * **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
1637 * **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
1638 * **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
1639 * **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
1640 * **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
1641 * **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
1642 * **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
1643
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1644 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
1645
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1646 If no adapter was found, the format is as follows:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1647
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1648 #. Read name
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1649 #. 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
1650 #. 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
1651 #. Quality values
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1652
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1653 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
1654
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1655 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
1656
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1657 --------------------
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1658
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1659 Renaming Reads
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1660 **************
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1661
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1662 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
1663
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1664 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
1665
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1666 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
1667
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1668 * {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
1669 * {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
1670 * {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
1671 * {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
1672 * {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
1673 * {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
1674 * {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
1675 * {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
1676
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1677 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
1678
30
c5e2e5902201 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
iuc
parents: 29
diff changeset
1679 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
1680
c5e2e5902201 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
iuc
parents: 29
diff changeset
1681 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
1682 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
1683
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1684 -----
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1685
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1686 **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
1687
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1688 Original author: Lance Parsons <lparsons@princeton.edu>
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1689
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1690 -----
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1691
39
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1692 .. _`Cutadapt documentation`: https://cutadapt.readthedocs.io
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1693 .. _`Illumina TruSeq Adapters De-Mystified`: http://tucf-genomics.tufts.edu/documents/protocols/TUCF_Understanding_Illumina_TruSeq_Adapters.pdf
fe74900d6dc7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit a5b6cb44f81abe57a4269bded1fa4d41f462f9d5
iuc
parents: 37
diff changeset
1694 .. _`demultiplexing Illumina unique dual indices (UDIs)`: https://cutadapt.readthedocs.io/en/stable/guide.html#unique-dual-indices
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
1695 ]]></help>
24
288f97432497 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 23
diff changeset
1696 <expand macro="citations" />
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
1697 </tool>