annotate cutadapt.xml @ 22:093678460093 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 916aaa04992e36f9324299949b86cccd12d3081d"
author iuc
date Sat, 04 Jul 2020 06:52:59 -0400
parents 104d86c98776
children c4b82dce8335
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22
093678460093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 916aaa04992e36f9324299949b86cccd12d3081d"
iuc
parents: 21
diff changeset
1 <tool id="cutadapt" name="Cutadapt" version="1.16.8" profile="17.09">
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
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>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
6 <requirements>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
7 <requirement type="package" version="1.16">cutadapt</requirement>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
8 </requirements>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
9
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
10 <version_command>cutadapt --version</version_command>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
11
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
12 <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
13 ## Link in the input and output files, so Cutadapt can tell their type
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
14
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
15 #import re
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
16 #set read1 = "input_f"
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
17 #set read2 = "input_r"
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
18 #set paired = False
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
19 #set library_type = str($library.type)
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
20 #if $library_type == 'paired':
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
21 #set paired = True
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
22 #set read1 = re.sub('[^\w\-\s]', '_', str($library.input_1.element_identifier))
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
23 #set read2 = re.sub('[^\w\-\s]', '_', str($library.input_2.element_identifier))
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
24 #set input_1 = $library.input_1
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
25 #set input_2 = $library.input_2
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
26 #else if $library_type == 'paired_collection'
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
27 #set paired = True
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
28 #set input_1 = $library.input_1.forward
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
29 #set input_2 = $library.input_1.reverse
14
c76ee709ffb9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 32b4794bb410494ffcfa0da397aaca7fd830a705
iuc
parents: 13
diff changeset
30 #set read1 = re.sub('[^\w\-\s]', '_', str($library.input_1.name)) + "_1"
c76ee709ffb9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 32b4794bb410494ffcfa0da397aaca7fd830a705
iuc
parents: 13
diff changeset
31 #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
32 #else
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
33 #set input_1 = $library.input_1
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
34 #set read1 = re.sub('[^\w\-\s]', '_', str($library.input_1.element_identifier))
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
35 #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
36
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
37 #if $input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
38 #set ext = ".fq.gz"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
39 #else if $input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
40 #set ext = ".fq.bz2"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
41 #else if $input_1.is_of_type('fasta'):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
42 #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
43 #else:
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
44 #set ext = ".fq"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
45 #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
46 #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
47 #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
48 #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
49 #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
50 #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
51 #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
52 #set untrimmed_output = "untrimmed_output" + $ext
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
53 ln -f -s '${input_1}' '$read1' &&
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
54
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
55 #if $paired:
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
56 #if $input_2.is_of_type("fastq.gz", "fastqsanger.gz"):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
57 #set ext2 = ".fq.gz"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
58 #else if $input_2.is_of_type("fastq.bz2", "fastqsanger.bz2"):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
59 #set ext2 = ".fq.gz"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
60 #else if $input_2.is_of_type('fasta'):
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
61 #set ext2 = ".fa"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
62 #else:
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
63 #set ext2 = ".fq"
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
64 #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
65 #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
66 #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
67 #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
68 #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
69 #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
70 ln -f -s '${input_2}' '$read2' &&
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
71 #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
72
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
73 ## Run Cutadapt
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
74
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
75 #if $output_options.multiple_output:
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
76 mkdir split &&
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
77 #end if
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
78
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
79 cutadapt
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
80
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
81 ## cutadapt (up to version 1.16) can't be run in multicore mode with these options
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
82 #if not any(($output_options.info_file, $output_options.rest_file, $output_options.wildcard_file, $output_options.too_short_file, $output_options.too_long_file, $output_options.untrimmed_file))
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
83 -j \${GALAXY_SLOTS:-1}
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
84 #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
85
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
86 #if str( $library.type ) == "single":
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
87 @read1_options@
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
88 #if $output_options.multiple_output:
18
5c7e7d905b33 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b58d6ff959a1d920fd0d9b02e43d2482667d61e8
iuc
parents: 17
diff changeset
89 --output='split/{name}.${input_1.ext}'
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
90 #else:
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
91 --output='$out1'
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
92 #end if
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
93 #else:
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
94 @read1_options@
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
95 @read2_options@
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
96 --output='$out1'
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
97 --paired-output='$out2'
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
98 #end if
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
99
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
100 --error-rate=$adapter_options.error_rate
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
101 --times=$adapter_options.count
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
102 --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
103 $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
104 $adapter_options.match_read_wildcards
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
105 $adapter_options.no_trim
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
106 $adapter_options.mask_adapter
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
107
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
108 $filter_options.discard
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
109 $filter_options.discard_untrimmed
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
110 #if str($filter_options.min):
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
111 --minimum-length=$filter_options.min
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
112 #end if
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
113 #if str($filter_options.max):
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
114 --maximum-length=$filter_options.max
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
115 #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
116 #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
117 --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
118 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
119 #if str( $library.type ) != "single":
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
120 #if $filter_options.pair_filter:
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
121 --pair-filter=$filter_options.pair_filter
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
122 #end if
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
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
124
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
125
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
126 #if str($read_mod_options.quality_cutoff) != '0':
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
127 --quality-cutoff=$read_mod_options.quality_cutoff
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
128 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
129 #if str($read_mod_options.nextseq_trim) != '0':
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
130 --nextseq-trim=$read_mod_options.nextseq_trim
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
131 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
132 $read_mod_options.trim_n
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
133 #if $read_mod_options.prefix != '':
22
093678460093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 916aaa04992e36f9324299949b86cccd12d3081d"
iuc
parents: 21
diff changeset
134 --prefix='$read_mod_options.prefix'
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
135 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
136 #if $read_mod_options.suffix != '':
22
093678460093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 916aaa04992e36f9324299949b86cccd12d3081d"
iuc
parents: 21
diff changeset
137 --suffix='$read_mod_options.suffix'
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
138 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
139 #if str($read_mod_options.length) != '0':
17
52ef1be47553 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5b7bf5d9a56f6aabaf7951d3e32a082c91937360
iuc
parents: 16
diff changeset
140 --length=$read_mod_options.length
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
141 #end if
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
142 #if $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
143 --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
144 #end if
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
145
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
146 '${read1}'
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
147 #if $paired:
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
148 '${read2}'
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
149 #end if
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
150
13
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
151 #if $output_options.report:
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
152 > report.txt
f5fdf41c08b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1663496ce146a311569a340b0b809dc5127e0830
iuc
parents: 12
diff changeset
153 #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
154 ]]></command>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
155 <inputs>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
156
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
157 <!-- Reads -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
158 <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
159 <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
160 <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
161 <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
162 <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
163 </param>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
164
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
165 <when value="single">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
166 <param name="input_1" format="fastq.gz,fastq,fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTQ/A file" help="Should be of datatype &quot;fastq.gz&quot; or &quot;fasta&quot;" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
167 <expand macro="single_end_options" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
168 </when>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
169
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
170 <when value="paired">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
171 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTQ/A file #1" help="Should be of datatype &quot;fastq.gz&quot;or &quot;fasta&quot;" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
172 <param name="input_2" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTQ/A file #2" help="Should be of datatype &quot;fastq.gz&quot;or &quot;fasta&quot;" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
173 <expand macro="paired_end_options" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
174 </when>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
175
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
176 <when value="paired_collection">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
177 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data_collection" collection_type="paired" label="Paired Collection" help="Should be of datatype &quot;fastq.gz&quot; or &quot;fasta&quot;" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
178 <expand macro="paired_end_options" />
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
179 </when>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
180
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
181 </conditional>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
182
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
183 <!-- Adapter Options -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
184 <section name="adapter_options" title="Adapter Options">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
185 <param name="error_rate" 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)." />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
186 <param name="no_indels" argument="--no-indels" type="boolean" value="False" truevalue="--no-indels" falsevalue="" label="Do not allow indels (Use ONLY with anchored 5' (front) adapters)." help="Do not allow indels in the alignments. That is, allow only mismatches. This option is currently only supported for anchored 5' adapters ('^ADAPTER') (default: both mismatches and indels are allowed)." />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
187 <param name="count" 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." />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
188 <param name="overlap" 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." />
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
189 <param name="match_read_wildcards" type="select" label="Match Wildcards" help="Allow 'N's as matches. Default: In the adapters but not in the reads">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
190 <option value=" " selected="True">In the adapters but not in the reads</option>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
191 <option value="--match-read-wildcards">In the adapters and in the reads</option>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
192 <option value="--no-match-adapter-wildcards">Nowhere</option>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
193 </param>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
194 <param name="no_trim" argument="--no-trim" type="boolean" value="False" truevalue="--no-trim" falsevalue="" label="Do not trim adapters" help="Match and redirect reads to output/untrimmed-output as usual, but don't remove the adapters (default: trim the adapters)." />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
195 <param name="mask_adapter" argument="--mask-adapter" type="boolean" value="False" truevalue="--mask-adapter" falsevalue="" label="Mask Adapters" help="Mask adapter bases with 'N' instead of trimming them (default: trim adapters)." />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
196 </section>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
197
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
198 <!-- Filter Options -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
199 <section name="filter_options" title="Filter Options">
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
200 <param name="discard" argument="--discard-trimmed" type="boolean" value="False" truevalue="--discard-trimmed" falsevalue="" label="Discard Trimmed Reads" help="Discard reads that contain the adapter instead of trimming them. Use the 'Minimum overlap length' option in order to avoid throwing away too many randomly matching reads!" />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
201 <param name="discard_untrimmed" argument="--discard_untrimmed" type="boolean" value="False" truevalue="--discard-untrimmed" falsevalue="" label="Discard Untrimmed Reads" help="Discard reads that do not contain the adapter." />
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
202 <param name="min" argument="--minimum-length" type="integer" min="0" optional="True" value="" label="Minimum length" help="Discard trimmed reads that are shorter than LENGTH. Reads that are too short even before adapter removal are also discarded. In colorspace, an initial primer is not counted." />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
203 <param name="max" argument="--maximum-length" type="integer" min="0" optional="True" value="" label="Maximum length" help="Discard trimmed reads that are longer than LENGTH. Reads that are too long even before adapter removal are also discarded. In colorspace, an initial primer is not counted." />
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
204 <param name="max_n" 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." />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
205 <param name="pair_filter" argument="--pair-filter" type="select" optional="True" label="Pair filter" help="Which of the reads in a paired-end read have to match the filtering criterion in order for the pair to be filtered. Default: any">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
206 <option value="any" selected="True">any</option>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
207 <option value="both">both</option>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
208 </param>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
209 </section>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
210
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
211 <!-- Read Modification Options -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
212 <section name="read_mod_options" title="Read Modification Options">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
213 <param name="quality_cutoff" argument="--quality-cutoff" type="text" value="0" label="Quality cutoff" help=" Trim low-quality bases from 5' and/or 3' ends of each read before adapter removal. Applied to both reads if data is paired. 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.">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
214 <sanitizer>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
215 <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
216 </sanitizer>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
217 </param>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
218 <param name="nextseq_trim" 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." />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
219 <param name="trim_n" argument="--trim-n" type="boolean" truevalue="--trim-n" falsevalue="" checked="False" label="Trim Ns" help="Trim N's on ends of reads." />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
220 <param name="prefix" argument="--prefix" label="Prefix" type="text" help="Add this prefix to read names" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
221 <param name="suffix" argument="--suffix" label="Suffix" type="text" help="Add this suffix to read names" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
222 <param name="strip_suffix" argument="--strip-suffix" label="Strip suffix" type="text" help="Remove this suffix from read names if present." />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
223 <param name="length" argument="--length" type="integer" value="0" label="Length" help="Shorten reads to this length. This modification is applied after adapter trimming." />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
224 <param name="length_tag" argument="--length-tag" label="Length Tag" type="text" 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'." />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
225 </section>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
226
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
227 <!-- Output Options -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
228 <section name="output_options" title="Output Options">
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
229 <param name="report" type="boolean" value="False" label="Report" help="Cutadapt's per-adapter statistics. You can use this file with MultiQC."/>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
230 <param name="info_file" argument="--info-file" type="boolean" value="False" label="Info File" help="Write information about each read and its adapter matches to a file."/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
231 <param name="rest_file" argument="--rest-file" type="boolean" value="False" label="Rest of Read" help="When the adapter matches in the middle of a read, write the rest (after the adapter) into a file."/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
232 <param name="wildcard_file" argument="--wildcard-file" type="boolean" value="False" label="Wildcard File" help="When the adapter has wildcard bases ('N's) write adapter bases matching wildcard positions to file."/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
233 <param name="too_short_file" argument="--too-short-output" type="boolean" value="False" label="Too Short Reads" help="Write reads that are too short (according to minimum length specified) to a file. (default: discard reads)"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
234 <param name="too_long_file" argument="--too-long-output" type="boolean" value="False" label="Too Long Reads" help="Write reads that are too long (according to maximum length specified) to a file. (default: discard reads)"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
235 <param name="untrimmed_file" argument="--untrimmed-output" type="boolean" value="False" label="Untrimmed Reads" help="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)"/>
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
236 <param name="multiple_output" argument="" type="boolean" value="False" label="Multiple output" help="Create a separate file for each adapter trimmed (default: all trimmed reads are in a single file)"/>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
237 </section>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
238
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
239 </inputs>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
240
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
241 <outputs>
15
660cffd8d92a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 11951898f7d8f09a6ad565128832c7717adb25b2
iuc
parents: 14
diff changeset
242 <data name="out1" format="fastqsanger" metadata_source="input_1" from_work_dir="out1*" label="${tool.name} on ${on_string}: Read 1 Output">
18
5c7e7d905b33 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b58d6ff959a1d920fd0d9b02e43d2482667d61e8
iuc
parents: 17
diff changeset
243 <filter>(output_options['multiple_output'] is False)</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
244 <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
245 </data>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
246 <data name="out2" format="fastqsanger" metadata_source="input_2" from_work_dir="out2*" label="${tool.name} on ${on_string}: Read 2 Output" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
247 <filter>(library['type'] == 'paired' or library['type'] == 'paired_collection')</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
248 <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
249 </data>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
250
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
251 <data name="report" format="txt" from_work_dir="report.txt" label="${tool.name} on ${on_string}: Report">
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
252 <filter>(output_options['report'] is True)</filter>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
253 </data>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
254
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
255 <data name="info_file" format="txt" metadata_source="input_1" label="${tool.name} on ${on_string}: Info File" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
256 <filter>(output_options['info_file'] is True)</filter>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
257 </data>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
258
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
259 <data name="rest_output" format="fastqsanger" metadata_source="input_1" from_work_dir="rest_output*" label="${tool.name} on ${on_string}: Rest of Reads (R1 only)" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
260 <filter>(output_options['rest_file'] is True)</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
261 <expand macro="inherit_format_1" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
262 </data>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
263
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
264 <data name="wild_output" format="txt" metadata_source="input_1" from_work_dir="wild_output*" label="${tool.name} on ${on_string}: Wildcard File" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
265 <filter>(output_options['wildcard_file'] is True)</filter>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
266 </data>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
267
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
268 <data name="untrimmed_output" format="fastqsanger" metadata_source="input_1" from_work_dir="untrimmed_output*" label="${tool.name} on ${on_string}: Untrimmed Read 1" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
269 <filter>(output_options['untrimmed_file'] is True)</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
270 <expand macro="inherit_format_1" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
271 </data>
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
272 <data name="untrimmed_paired_output" format="fastqsanger" metadata_source="input_2" from_work_dir="untrimmed_paired_output*" label="${tool.name} on ${on_string}: Untrimmed Read 2" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
273 <filter>(library['type'] == 'paired' or library['type'] == 'paired_collection')</filter>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
274 <filter>(output_options['untrimmed_file'] is True)</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
275 <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
276 </data>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
277
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
278 <data name="too_short_output" format="fastqsanger" metadata_source="input_1" from_work_dir="too_short_output*" label="${tool.name} on ${on_string}: Too Short Read 1" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
279 <filter>(output_options['too_short_file'] is True)</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
280 <expand macro="inherit_format_1" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
281 </data>
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
282 <data name="too_short_paired_output" format="fastqsanger" metadata_source="input_2" from_work_dir="too_short_paired_output*" label="${tool.name} on ${on_string}: Too Short Read 2" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
283 <filter>(library['type'] == 'paired' or library['type'] == 'paired_collection')</filter>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
284 <filter>(output_options['too_short_file'] is True)</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
285 <expand macro="inherit_format_2" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
286 </data>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
287
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
288 <data name="too_long_output" format="fastqsanger" metadata_source="input_1" from_work_dir="too_long_output*" label="${tool.name} on ${on_string}: Too Long Read 1" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
289 <filter>(output_options['too_long_file'] is True)</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
290 <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
291 </data>
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
292 <data name="too_long_paired_output" format="fastqsanger" metadata_source="input_2" from_work_dir="too_long_paired_output*" label="${tool.name} on ${on_string}: Too Long Read 2" >
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
293 <filter>(library['type'] == 'paired' or library['type'] == 'paired_collection')</filter>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
294 <filter>(output_options['too_long_file'] is True)</filter>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
295 <expand macro="inherit_format_2" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
296 </data>
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
297
18
5c7e7d905b33 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b58d6ff959a1d920fd0d9b02e43d2482667d61e8
iuc
parents: 17
diff changeset
298 <collection name="split_output" type="list" label="${tool.name} on ${on_string}: Split outputs" >
5c7e7d905b33 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b58d6ff959a1d920fd0d9b02e43d2482667d61e8
iuc
parents: 17
diff changeset
299 <discover_datasets pattern="(?P&lt;designation&gt;.+)\.(?P&lt;ext&gt;fastq.*)" directory="split" />
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
300 <filter>(output_options['multiple_output'] is True)</filter>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
301 </collection>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
302
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
303 </outputs>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
304
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
305 <tests>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
306 <!-- Ensure fastq works -->
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
307 <test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
308 <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
309 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
310 <param name="adapter_source_list" value="user"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
311 <param name="adapter" value="AGATCGGAAGAGC"/>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
312 <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
313 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
314 <!-- Ensure single end fastq.gz works -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
315 <test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
316 <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
317 <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
318 <param name="adapter_source_list" value="user"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
319 <param name="adapter" value="AGATCGGAAGAGC"/>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
320 <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
321 </test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
322 <!-- Ensure paired end fastq.gz works -->
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
323 <test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
324 <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
325 <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
326 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
327 <param name="adapter_source_list" value="user"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
328 <param name="adapter" value="AGATCGGAAGAGC"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
329 <param name="adapter_source_list2" value="user"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
330 <param name="adapter2" value="AGATCGGAAGAGC"/>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
331 <output name="out1" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
332 <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
333 <assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
334 <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
335 <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
336 <not_has_text text="--minimum-length"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
337 <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
338 <not_has_text text="--max-n"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
339 <has_text text="--pair-filter=any"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
340 </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
341 </test>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
342 <!-- Ensure paired collection works -->
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
343 <test>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
344 <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
345 <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
346 <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
347 <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
348 <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
349 </collection>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
350 </param>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
351 <param name="adapter_source_list" value="user"/>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
352 <param name="adapter" value="AGATCGGAAGAGC"/>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
353 <param name="adapter_source_list2" value="user"/>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
354 <param name="adapter2" value="AGATCGGAAGAGC"/>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
355 <output name="out1" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
356 <output name="out2" decompress="True" file="cutadapt_out2.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
357 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
358 <!-- Ensure built-in adapters work -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
359 <test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
360 <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
361 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
362 <param name="adapter_source_list" value="builtin"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
363 <param name="adapter" value="TGTAGGCC"/>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
364 <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
365 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
366 <!-- Ensure discard file output works -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
367 <test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
368 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
369 <param name="adapter_source_list" value="user"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
370 <param name="adapter" value="TTAGACATATCTCCGTCG"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
371 <param name="output_filtering" value="filter"/>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
372 <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
373 <param name="discard" value="True"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
374 </section>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
375 <param name="read_modification" value="none"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
376 <param name="output_type" value="default"/>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
377 <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
378 <assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
379 <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
380 </assert_command>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
381 </test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
382 <!-- Ensure rest file output works -->
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
383 <test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
384 <param name="input_1" ftype="fasta" value="cutadapt_rest.fa" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
385 <param name="adapter_source_list" value="user"/>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
386 <param name="adapter" value="AAAGATG"/>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
387 <param name="output_filtering" value="default"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
388 <param name="read_modification" value="none"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
389 <param name="output_type" value="additional"/>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
390 <param name="rest_file" value="True"/>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
391 <output name="out1" file="cutadapt_rest.out" ftype="fasta"/>
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
392 <output name="rest_output" file="cutadapt_rest2.out" ftype="fasta"/>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
393 </test>
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
394 <!-- Ensure nextseq-trim option works -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
395 <test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
396 <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
397 <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
398 <param name="adapter_source_list" value="user"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
399 <param name="adapter" value="AGATCGGAAGAGC"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
400 <param name="read_modification" value="modify"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
401 <param name="nextseq_trim" value="20" />
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
402 <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
403 </test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
404 <!-- Ensure Report and Info file output work -->
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
405 <test>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
406 <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
407 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
408 <param name="adapter_source_list" value="user"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
409 <param name="adapter" value="AGATCGGAAGAGC"/>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
410 <param name="report" value="True" />
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
411 <param name="info_file" value="True" />
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
412 <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
413 <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
414 <assert_contents>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
415 <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
416 </assert_contents>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
417 </output>
12
78e1cf88d133 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 195c6112eff237b20a6744e82e2c4e7641f7c488
iuc
parents: 11
diff changeset
418 <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
419 </test>
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
420
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
421
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
422 <test>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
423 <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
424 <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
425 <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
426 <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
427 <repeat name="front_adapters">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
428 <conditional name="front_adapter_source">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
429 <param name="front_adapter_source_list" value="user"/>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
430 <param name="front_adapter_name" value="A1" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
431 <param name="front_adapter" value="^GTCGGTAA" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
432 </conditional>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
433 </repeat>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
434 <repeat name="front_adapters">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
435 <conditional name="front_adapter_source">
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
436 <param name="front_adapter_source_list" value="user"/>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
437 <param name="front_adapter_name" value="A2" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
438 <param name="front_adapter" value="^AGGTCACT" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
439 </conditional>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
440 </repeat>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
441 </section>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
442 </conditional>
18
5c7e7d905b33 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b58d6ff959a1d920fd0d9b02e43d2482667d61e8
iuc
parents: 17
diff changeset
443 <param name="report" value="False" />
16
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
444 <param name="info_file" value="False" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
445 <param name="multiple_output" value="True" />
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
446 <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
447 <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
448 </element>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
449 <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
450 </element>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
451 <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
452 </element>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
453 </output_collection>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
454 </test>
8f1df515eb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 15
diff changeset
455
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
456 <test>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
457 <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
458 <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
459 <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
460 <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
461 <repeat name="front_adapters">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
462 <conditional name="front_adapter_source">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
463 <param name="front_adapter_source_list" value="file"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
464 <param name="front_adapter_file" ftype="fasta" value="barcodes.fasta" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
465 </conditional>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
466 </repeat>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
467 </section>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
468 </conditional>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
469 <param name="report" value="False" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
470 <param name="info_file" value="False" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
471 <param name="multiple_output" value="True" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
472 <output_collection name="split_output" type="list" count="3">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
473 <element name="A1" decompress="True" file="A1.fastq.gz" ftype="fastq.gz">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
474 </element>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
475 <element name="A2" decompress="True" file="A2.fastq.gz" ftype="fastq.gz">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
476 </element>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
477 <element name="unknown" decompress="True" file="unknown.fastq.gz" ftype="fastq.gz">
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
478 </element>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
479 </output_collection>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
480 </test>
18
5c7e7d905b33 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b58d6ff959a1d920fd0d9b02e43d2482667d61e8
iuc
parents: 17
diff changeset
481
20
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
482 <!-- Ensure untrimmed file output works -->
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
483 <test>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
484 <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
485 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" />
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
486 <param name="adapter_source_list" value="user"/>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
487 <param name="adapter" value="AAAT"/>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
488 <param name="untrimmed_file" value="True" />
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
489 <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
490 <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
491 </test>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
492 <!-- Ensure untrimmed gzip file output works -->
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
493 <test>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
494 <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
495 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" />
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
496 <param name="adapter_source_list" value="user"/>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
497 <param name="adapter" value="AGATCGGAAGAGC"/>
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
498 <param name="untrimmed_file" value="True" />
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
499 <output name="out1" decompress="True" file="cutadapt_trimmed.out.gz" 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
500 <!--
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
501 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
502 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
503 `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
504 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
505 -->
e4691e1589d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8
iuc
parents: 19
diff changeset
506 <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
507 </test>
21
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
508 <!-- same as 1st test with paired data + filter options (because of discard_untrimmed no comparison is done) -->
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
509 <test>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
510 <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
511 <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
512 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" />
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
513 <param name="adapter_source_list" value="user"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
514 <param name="adapter" value="AGATCGGAAGAGC"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
515 <param name="adapter_source_list2" value="user"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
516 <param name="adapter2" value="AGATCGGAAGAGC"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
517 <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
518 <param name="discard_untrimmed" value="true"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
519 <param name="min" value="1"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
520 <param name="max" 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
521 <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
522 <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
523 </section>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
524 <assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
525 <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
526 <has_text text="--minimum-length=1"/>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
527 <has_text text="--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
528 <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
529 <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
530 </assert_command>
104d86c98776 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1e4c2d05b7f1052a16101cb4fc0d9ca4393e9e96"
iuc
parents: 20
diff changeset
531 </test>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
532 </tests>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
533
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
534 <help><![CDATA[
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
535
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
536 .. class:: infomark
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
537
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
538 **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
539
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
540 -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
541
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
542 **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
543
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
544 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
545
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
546 Cutadapt_ helps with these trimming tasks by finding the adapter or primer sequences in an error-tolerant way. It can also modify and filter reads in various ways. Cutadapt searches for the adapter in all reads and removes it when it finds it. Unless you use a filtering option, all reads that were present in the input file will also be present in the output file, some of them trimmed, some of them not. Even reads that were trimmed entirely (because the adapter was found in the very beginning) are output. All of this can be changed with options in the tool form above.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
547
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
548 The tool is based on the **Open Source** Cutadapt_ tool. See the complete `Cutadapt documentation`_ for additional details. If you use Cutadapt, please cite *Marcel, 2011* under **Citations** below.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
549
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
550 -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
551
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
552 **Inputs**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
553
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
554 -------------------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
555
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
556 Input files for Cutadapt need to be:
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
557
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
558 - FASTQ.GZ, FASTQ.BZ2, FASTQ or FASTA
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
559
19
49370cb85f0f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 6318c53e772ed592862729f3048ed9bd3a711969
iuc
parents: 18
diff changeset
560 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
561
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
562 ============================================= ===================
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
563 **Option** **Sequence**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
564 --------------------------------------------- -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
565 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
566 Anchored 3’ Adapter ADAPTER$
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
567
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
568 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
569 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
570
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
571 5’ or 3’ (Both possible) ADAPTER
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
572
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
573 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
574 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
575 ============================================= ===================
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
576
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
577 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
578
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
579 .. image:: $PATH_TO_IMAGES/adapters.svg
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
580
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
581
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
582 -------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
583
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
584 *Example: Illumina TruSeq Adapters*
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
585
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
586 -------------------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
587
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
588 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
589
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
590
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
591 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
592
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
593 **Read 1**
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
594
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
595 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
596
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
597 AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
598
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
599
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
600 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
601
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
602 **Read 2**
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
603
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
604 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
605
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
606 AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
607
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
608 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
609
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
610 -----------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
611
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
612 **Outputs**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
613
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
614 -----------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
615
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
616 - Trimmed reads
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
617
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
618 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
619
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
620 * Report
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
621 * Info file
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
622
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
623
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
624 **Report**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
625
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
626 Cutadapt can output per-adapter statistics if you select to output the report above.
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
627
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
628 Example:
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
629
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
630 *This is cutadapt 1.16 with Python 3.6.4*
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
631
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
632 *Command line parameters: -j 1 --format=fastq -a AGATCGGAAGAGC --info-file=/tmp/tmpX0DlY1/files/000/dataset_21.dat --output=out1.fq --error-rate=0.1 --times=1 --overlap=3 input_f.fastq*
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
633 *Running on 1 core*
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
634 *Trimming 1 adapter with at most 10.0% errors in single-end mode ...*
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
635 *Finished in 0.00 s (1426 us/read; 0.04 M reads/minute).*
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
636
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
637 *=== Summary ===*
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
638
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
639 * Total reads processed: 3*
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
640 * Reads with adapters: 0 (0.0%)*
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
641 * Reads written (passing filters): 3 (100.0%)*
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
642
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
643 * Total basepairs processed: 102 bp*
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
644 * Total written (filtered): 102 bp (100.0%)*
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
645
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
646 *=== Adapter 1 ===*
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
647
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
648 *Sequence: AGATCGGAAGAGC; Type: regular 3'; Length: 13; Trimmed: 0 times.*
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
649
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
650
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
651 **Info file**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
652
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
653 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
654
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
655 Columns contain the following data:
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
656
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
657 * **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
658 * **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
659 * **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
660 * **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
661 * **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
662 * **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
663 * **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
664 * **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
665 * **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
666 * **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
667 * **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
668
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
669 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
670
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
671 If no adapter was found, the format is as follows:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
672
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
673 #. Read name
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
674 #. 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
675 #. 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
676 #. Quality values
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
677
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
678 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
679
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
680 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
681
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
682 --------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
683
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
684 **More Information**
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
685
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
686 --------------------
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
687
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
688 See the excellent `Cutadapt documentation`_
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
689
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
690 .. _Cutadapt: https://cutadapt.readthedocs.io/en/stable/
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
691 .. _`Cutadapt documentation`: https://cutadapt.readthedocs.io/en/latest/index.html
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
692 .. _`Illumina TruSeq Adapters De-Mystified`: http://tucf-genomics.tufts.edu/documents/protocols/TUCF_Understanding_Illumina_TruSeq_Adapters.pdf
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
693
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
694
11
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
695 --------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
696
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
697 **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
698
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
699 --------------------
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
700
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
701 Author: Lance Parsons <lparsons@princeton.edu>
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
702
8665bcc8b847 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents: 10
diff changeset
703 ]]></help>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
704
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
705 <citations>
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
706 <citation type="bibtex">
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
707 @article{marcel_cutadapt_2011,
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
708 title = {Cutadapt removes adapter sequences from high-throughput sequencing reads},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
709 volume = {17},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
710 copyright = {Authors who publish with this journal agree to the following terms: Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access ).},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
711 url = {http://journal.embnet.org/index.php/embnetjournal/article/view/200},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
712 abstract = {When small RNA is sequenced on current sequencing machines, the resulting reads are usually longer than the RNA and therefore contain parts of the 3' adapter. That adapter must be found and removed error-tolerantly from each read before read mapping. Previous solutions are either hard to use or do not offer required features, in particular support for color space data. As an easy to use alternative, we developed the command-line tool cutadapt, which supports 454, Illumina and SOLiD (color space) data, offers two adapter trimming algorithms, and has other useful features.
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
713
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
714 Cutadapt, including its MIT-licensed source code, is available for download at http://code.google.com/p/cutadapt/},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
715 number = {1},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
716 urldate = {2011-08-02},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
717 journal = {EMBnet.journal},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
718 author = {Marcel, Martin},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
719 year = {2011},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
720 note = {When small RNA is sequenced on current sequencing machines, the resulting reads are usually longer than the RNA and therefore contain parts of the 3' adapter. That adapter must be found and removed error-tolerantly from each read before read mapping. Previous solutions are either hard to use or do not offer required features, in particular support for color space data. As an easy to use alternative, we developed the command-line tool cutadapt, which supports 454, Illumina and SOLiD (color space) data, offers two adapter trimming algorithms, and has other useful features. Cutadapt, including its MIT-licensed source code, is available for download at http://code.google.com/p/cutadapt/},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
721 keywords = {Adapter removal;, fastq, MicroRNA, Sequencing, Small RNA, software},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
722 file = {Cutadapt removes adapter sequences from high-throughput sequencing reads | Martin | EMBnet.journal:/Users/lparsons/Library/Application Support/Firefox/Profiles/thd2t4je.default/zotero/storage/ZXZT4PSE/200.html:text/html}
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
723 }
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
724 </citation>
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
725 </citations>
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
726
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
727 </tool>