annotate cutadapt.xml @ 10:01d94df2e32a draft

planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
author lparsons
date Tue, 26 May 2015 16:02:19 -0400
parents 93d58ffe39f1
children 8665bcc8b847
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
1 <tool id="cutadapt" name="Cutadapt" version="1.6">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
2 <description>Remove adapter sequences from Fastq/Fasta</description>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
3 <requirements>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
4 <requirement type="package" version="1.6">cutadapt</requirement>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
5 </requirements>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
6
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
7 <stdio>
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
8 <exit_code range="1" level="fatal" description="IOError, FormatError, or Interrupt" />
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
9 <exit_code range="2" level="fatal" description="Invalid options specified" />
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
10 <exit_code range="3:" level="fatal" description="Unknown error" />
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
11 </stdio>
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
12
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
13 <version_command>cutadapt --version</version_command>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
14
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
15 <command>cutadapt
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
16 #if $input.extension.startswith( "fastq"):
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
17 --format=fastq
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
18 #if $input.extension == "fastqillumina":
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
19 --quality-base=64
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
20 #end if
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
21 #if $input.extension == "fastqsolexa":
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
22 --quality-base=64
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
23 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
24 #else
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
25 --format=$input.extension
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
26 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
27 #for $a in $adapters
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
28 #if $a.adapter_source.adapter_source_list == 'prebuilt':
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
29 --adapter="${a.adapter_source.adapter.fields.name}"='${a.adapter_source.adapter}'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
30 #else if str($a.adapter_source.adapter_name) != "":
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
31 --adapter='${a.adapter_source.adapter_name}'='${a.adapter_source.adapter}'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
32 #else
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
33 --adapter='${a.adapter_source.adapter}'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
34 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
35 #end for
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
36 #for $aa in $anywhere_adapters
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
37 #if $aa.anywhere_adapter_source.anywhere_adapter_source_list == 'prebuilt':
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
38 --anywhere="${aa.anywhere_adapter_source.anywhere_adapter.fields.name}"='${aa.anywhere_adapter_source.anywhere_adapter}'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
39 #else if str($aa.anywhere_adapter_source.anywhere_adapter_name) != "":
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
40 --anywhere='${aa.anywhere_adapter_source.anywhere_adapter_name}'='${aa.anywhere_adapter_source.anywhere_adapter}'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
41 #else
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
42 --anywhere='${aa.anywhere_adapter_source.anywhere_adapter}'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
43 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
44 #end for
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
45 #for $fa in $front_adapters
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
46 #if $fa.front_adapter_source.front_adapter_source_list == 'prebuilt':
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
47 --front="${fa.front_adapter_source.front_adapter.fields.name}"='${fa.front_adapter_source.front_adapter}'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
48 #else if str($fa.front_adapter_source.front_adapter_name) != "":
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
49 --front='${fa.front_adapter_source.front_adapter_name}'='${fa.front_adapter_source.front_adapter}'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
50 #else
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
51 --front='${fa.front_adapter_source.front_adapter}'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
52 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
53 #end for
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
54 --error-rate=$error_rate
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
55 --times=$count
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
56 --overlap=$overlap
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
57 $no_indels
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
58 $match_read_wildcards
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
59
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
60 #if str( $output_filtering_options.output_filtering) == "filter":
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
61 $output_filtering_options.discard
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
62 $output_filtering_options.discard_untrimmed
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
63 $output_filtering_options.no_trim
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
64 $output_filtering_options.mask_adapter
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
65 #if str($output_filtering_options.min) != '0':
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
66 --minimum-length=$output_filtering_options.min
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
67 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
68 #if str($output_filtering_options.max) != '0':
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
69 --maximum-length=$output_filtering_options.max
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
70 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
71 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
72
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
73 --output='$output'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
74
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
75 #if $paired_end.paired_end_boolean:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
76 --paired-output='$paired_output'
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
77 #end if
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
78
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
79 #if str( $output_params.output_type ) == "additional":
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
80 #if $output_params.rest_file:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
81 --rest-file=$rest_output
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
82 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
83 #if $output_params.wildcard_file:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
84 --wildcard-file=$wild_output
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
85 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
86 #if $output_params.too_short_file:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
87 --too-short-output=$too_short_output
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
88 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
89 #if $output_params.too_long_file:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
90 --too-long-output=$too_long_output
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
91 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
92 #if $output_params.untrimmed_file:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
93 --untrimmed-output=$untrimmed_output
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
94 #if $paired_end.paired_end_boolean:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
95 --untrimmed-paired-output=$untrimmed_paired_output
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
96 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
97 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
98 #if $output_params.info_file:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
99 --info-file=$info_file
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
100 #end if
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
101
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
102 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
103
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
104 #if str( $read_modification_params.read_modification) == "modify":
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
105 #if str($read_modification_params.quality_cutoff) != '0':
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
106 --quality-cutoff=$read_modification_params.quality_cutoff
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
107 #end if
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
108 #if str($read_modification_params.cut) != '0':
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
109 --cut=$read_modification_params.cut
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
110 #end if
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
111 #if $read_modification_params.prefix != '':
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
112 --prefix="$read_modification_params.prefix"
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
113 #end if
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
114 #if $read_modification_params.suffix != '':
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
115 --suffix="$read_modification_params.suffix"
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
116 #end if
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
117 #if $read_modification_params.length_tag != '':
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
118 --length-tag="$read_modification_params.length_tag"
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
119 #end if
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
120 $read_modification_params.zero_cap
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
121 #end if
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
122
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
123 '$input'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
124
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
125 #if $paired_end.paired_end_boolean:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
126 '$input2'
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
127 #end if
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
128
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
129 > $report
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
130 </command>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
131
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
132 <inputs>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
133 <param format="fastq, fastqsanger, fastqillumina, fastqsolexa, fasta" name="input" type="data" optional="false" label="Fastq file to trim" length="100"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
134 <conditional name="paired_end">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
135 <param name="paired_end_boolean" type="boolean" value="false" label="Track Paired Reads" help="This option will keep a second file synchronized if you use one of the filtering options that discards reads. It will NOT trim adapters off of the second read. You must run Cutadapt a second time on the output of the first run to trim adapters from both reads (see Cutadapt documentation for details)." />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
136 <when value="true">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
137 <param format="fastq, fastqsanger, fastqillumina, fastqsolexa, fasta" name="input2" type="data" optional="false" label="Paired fastq file (NOT trimmed)" length="100"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
138 </when>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
139 <when value="false" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
140 </conditional>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
141
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
142 <repeat name="adapters" title="3' Adapters" help="Sequence of an adapter that was ligated to the 3' end. The adapter itself and anything that follows is trimmed.">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
143 <conditional name="adapter_source">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
144 <param name="adapter_source_list" type="select" label="Source" >
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
145 <option value="prebuilt" selected="true">Standard (select from the list below)</option>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
146 <option value="user">Enter custom sequence</option>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
147 </param>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
148
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
149 <when value="user">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
150 <param name="adapter_name" size="30" label="Enter custom 3' adapter name (Optional)" type="text" value="" />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
151 <param name="adapter" size="30" label="Enter custom 3' adapter sequence" type="text" value="AATTGGCC" />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
152 </when>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
153
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
154 <when value="prebuilt">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
155 <param name="adapter" type="select" label="Choose 3' adapter">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
156 <options from_file="cutadapt_adapters.txt">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
157 <column name="name" index="1"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
158 <column name="value" index="0"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
159 </options>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
160 </param>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
161 </when>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
162 </conditional>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
163 </repeat>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
164
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
165 <repeat name="anywhere_adapters" title="5' or 3' (Anywhere) Adapters" help="Sequence of an adapter that was ligated to the 5' or 3' end. If the adapter is found within the read or overlapping the 3' end of the read, the behavior is the same as for the -a option. If the adapter overlaps the 5' end (beginning of the read), the initial portion of the read matching the adapter is trimmed, but anything that follows is kept. If multiple -a or -b options are given, only the best matching adapter is trimmed.">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
166 <conditional name="anywhere_adapter_source">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
167 <param name="anywhere_adapter_source_list" type="select" label="Source">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
168 <option value="prebuilt" selected="true">Standard (select from the list below)</option>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
169 <option value="user">Enter custom sequence</option>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
170 </param>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
171
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
172 <when value="user">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
173 <param name="anywhere_adapter_name" size="30" label="Enter custom 5' or 3' adapter name (Optional)" type="text" value="" />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
174 <param name="anywhere_adapter" size="30" label="Enter custom 5' or 3' adapter sequence" type="text" value="AATTGGCC" />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
175 </when>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
176 <when value="prebuilt">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
177 <param name="anywhere_adapter" type="select" label="Choose 5' or 3' adapter">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
178 <options from_file="cutadapt_adapters.txt">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
179 <column name="name" index="1"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
180 <column name="value" index="0"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
181 </options>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
182 </param>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
183 </when>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
184 </conditional>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
185 </repeat>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
186
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
187 <repeat name="front_adapters" title="5' (Front) Adapters" help="Sequence of an adapter that was ligated to the 5' end. If the adapter sequence starts with the character '^', the adapter is 'anchored'. An anchored adapter must appear in its entirety at the 5' end of the read (it is a prefix of the read). A non-anchored adapter may appear partially at the 5' end, or it may occur within the read. If it is found within a read, the sequence preceding the adapter is also trimmed. In all cases the adapter itself is trimmed.">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
188 <conditional name="front_adapter_source">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
189 <param name="front_adapter_source_list" type="select" label="Source">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
190 <option value="prebuilt" selected="true">Standard (select from the list below)</option>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
191 <option value="user">Enter custom sequence</option>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
192 </param>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
193
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
194 <when value="user">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
195 <param name="front_adapter_name" size="30" label="Enter custom 5' adapter name (Optional)" type="text" value="" />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
196 <param name="front_adapter" size="30" label="Enter custom 5' adapter sequence" type="text" value="AATTGGCC" />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
197 </when>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
198 <when value="prebuilt">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
199 <param name="front_adapter" type="select" label="Choose 5' adapter">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
200 <options from_file="cutadapt_adapters.txt">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
201 <column name="name" index="1"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
202 <column name="value" index="0"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
203 </options>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
204 </param>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
205 </when>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
206 </conditional>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
207 </repeat>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
208
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
209 <param name="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)." />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
210 <param name="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)." />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
211 <param name="count" 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." />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
212 <param name="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." />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
213 <param name="match_read_wildcards" type="boolean" value="false" truevalue="--match-read-wildcards" falsevalue="" label="Match Read Wildcards" help="Allow 'N's in the read as matches to the adapter." />
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
214
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
215 <conditional name="output_filtering_options">
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
216 <param name="output_filtering" type="select" label="Output filtering options" help="Options for filtering processed reads by those that contain the adapter or by minimum or maximum length">
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
217 <option value="default">Default (no filtering)</option>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
218 <option value="filter">Set Filters</option>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
219 </param>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
220 <when value="default" />
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
221 <when value="filter">
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
222 <param name="discard" type="boolean" value="false" truevalue="--discard" 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!" />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
223 <param name="discard_untrimmed" type="boolean" value="false" truevalue="--discard-untrimmed" falsevalue="" label="Discard Untrimmed Reads" help="Discard reads that do not contain the adapter." />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
224 <param name="min" type="integer" min="0" optional="true" value="0" 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. Value of 0 means no minimum length." />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
225 <param name="max" type="integer" min="0" optional="true" value="0" 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. Value of 0 means no maximum length." />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
226 <param name="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)." />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
227 <param name="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)." />
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
228 </when>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
229 </conditional>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
230
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
231 <conditional name="output_params">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
232 <param name="output_type" type="select" label="Additional output options" help="By default all reads will be put in the same file. However, reads with adapters matching in the middle, unmatched reads, and too-short reads can be saved in separate files.">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
233 <option value="default">Default</option>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
234 <option value="additional">Additional output files</option>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
235 </param>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
236 <when value="default" />
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
237 <when value="additional">
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
238 <param name="info_file" type="boolean" value="false" label="Info File" help="Write information about each read and its adapter matches to a file."/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
239 <param name="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."/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
240 <param name="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."/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
241 <param name="too_short_file" 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)"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
242 <param name="too_long_file" 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)"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
243 <param name="untrimmed_file" 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)"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
244 </when>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
245 </conditional>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
246
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
247 <conditional name="read_modification_params">
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
248 <param name="read_modification" type="select" label="Additional modifications to reads" help="Various options to trim reads based on quality, modify read names and quality scores">
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
249 <option value="none">No Read Modifications</option>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
250 <option value="modify">Set Modification Options</option>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
251 </param>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
252 <when value="none" />
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
253 <when value="modify">
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
254 <param name="cut" type="integer" optional="true" value="0" label="Cut bases from reads before adapter trimming" help="Remove bases from the beginning or end of each read before trimming adapters. If positive, the bases are removed from the beginning of each read. If negative, the bases are removed from the end of each read." />
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
255 <param name="quality_cutoff" type="integer" min="0" optional="true" value="0" label="Quality cutoff" help="Trim low-quality ends from reads before adapter removal. The algorithm is the same as the one used by BWA (Subtract CUTOFF from all qualities; compute partial sums from all indices to the end of the sequence; cut sequence at the index at which the sum is minimal). Value of 0 means no quality trimming." />
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
256 <param name="prefix" label="Prefix" type="text" help="Add this prefix to read names" />
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
257 <param name="suffix" label="Suffix" type="text" help="Add this suffix to read names" />
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
258 <param name="strip_suffix" label="Strip suffix" type="text" help="Remove this suffix from read names if present." />
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
259 <param name="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'." />
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
260 <param name="zero_cap" type="boolean" value="false" label="Change negative quality values to zero (0)" truevalue="--zero-cap" falsevalue="" help="Workaround to avoid segmentation faults in BWA" />
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
261 </when>
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
262 </conditional>
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
263 </inputs>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
264
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
265 <outputs>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
266 <data format="txt" name="report" label="${tool.name} on ${on_string} (Report)" />
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
267 <data format_source="input" name="output" metadata_source="input" label="${tool.name} on ${on_string} (Reads)"/>
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
268 <data format_source="input" name="paired_output" metadata_source="input" label="${tool.name} on ${on_string} (Paired Reads)" >
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
269 <filter>(paired_end['paired_end_boolean'] is True)</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
270 </data>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
271 <data format_source="input" name="rest_output" metadata_source="input" label="${tool.name} on ${on_string} (Rest of Reads)" >
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
272 <filter>(output_params['output_type'] == "additional")</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
273 <filter>(output_params['rest_file'] is True)</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
274 </data>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
275 <data format_source="txt" name="wild_output" metadata_source="input" label="${tool.name} on ${on_string} (Wildcard File)" >
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
276 <filter>(output_params['output_type'] == "additional")</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
277 <filter>(output_params['wildcard_file'] is True)</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
278 </data>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
279 <data format_source="input" name="too_short_output" metadata_source="input" label="${tool.name} on ${on_string} (Too Short Reads)" >
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
280 <filter>(output_params['output_type'] == "additional")</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
281 <filter>(output_params['too_short_file'] is True)</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
282 </data>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
283 <data format_source="input" name="too_long_output" metadata_source="input" label="${tool.name} on ${on_string} (Too Long Reads)" >
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
284 <filter>(output_params['output_type'] == "additional")</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
285 <filter>(output_params['too_long_file'] is True)</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
286 </data>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
287 <data format_source="input" name="untrimmed_output" metadata_source="input" label="${tool.name} on ${on_string} (Untrimmed Reads)" >
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
288 <filter>(output_params['output_type'] == "additional")</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
289 <filter>(output_params['untrimmed_file'] is True)</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
290 </data>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
291 <data format_source="input" name="untrimmed_paired_output" metadata_source="input" label="${tool.name} on ${on_string} (Untrimmed Paired Reads)" >
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
292 <filter>(paired_end['paired_end_boolean'] is True)</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
293 <filter>(output_params['output_type'] == "additional")</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
294 <filter>(output_params['untrimmed_file'] is True)</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
295 </data>
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
296 <data format_source="txt" name="info_file" metadata_source="input" label="${tool.name} on ${on_string} (Info File)" >
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
297 <filter>(output_params['output_type'] == "additional")</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
298 <filter>(output_params['info_file'] is True)</filter>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
299 </data>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
300 </outputs>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
301
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
302 <tests>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
303 <test>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
304 <param name="input" value="cutadapt_small.fastq" ftype="fastqsanger"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
305 <param name="anywhere_adapter_source_list" value="user"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
306 <param name="anywhere_adapter" value="TTAGACATATCTCCGTCG"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
307 <param name="output_filtering" value="default"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
308 <param name="read_modification" value="none"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
309 <param name="output_type" value="default"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
310 <output name="output" file="cutadapt_small.out"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
311 </test>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
312 <test>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
313 <param name="input" value="cutadapt_small.fastq" ftype="fastqsanger"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
314 <param name="adapter_source_list" value="user"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
315 <param name="adapter" value="TTAGACATATCTCCGTCG"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
316 <param name="output_filtering" value="filter"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
317 <param name="discard" value="true"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
318 <param name="read_modification" value="none"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
319 <param name="output_type" value="default"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
320 <output name="output" file="cutadapt_discard.out"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
321 </test>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
322 <test>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
323 <param name="input" value="cutadapt_rest.fa" ftype="fasta"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
324 <param name="adapter_source_list" value="user"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
325 <param name="adapter" value="ADAPTER"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
326 <param name="output_filtering" value="default"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
327 <param name="read_modification" value="none"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
328 <param name="output_type" value="additional"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
329 <param name="rest_file" value="true"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
330 <output name="output" file="cutadapt_rest.out"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
331 <output name="rest_output" file="cutadapt_rest2.out"/>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
332 </test>
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
333 </tests>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
334
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
335 <help>
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
336 Summary
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
337 -------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
338 This tool removes adapter sequences from DNA high-throughput
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
339 sequencing data. This is usually necessary when the read length of the
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
340 machine is longer than the molecule that is sequenced, such as in
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
341 microRNA data.
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
342
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
343 The tool is based on the opensource `cutadapt
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
344 &lt;http://code.google.com/p/cutadapt/>`_ tool. See the `complete cutadapt
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
345 documentation &lt;https://cutadapt.readthedocs.org/en/latest/index.html>`_ for additional details.
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
346
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
347 -----
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
348
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
349 Algorithm
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
350 ---------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
351
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
352 cutadapt uses a simple semi-global alignment algorithm, without any special optimizations.
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
353 For speed, the algorithm is implemented as a Python extension module in ``calignmodule.c``.
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
354
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
355
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
356 Partial adapter matches
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
357 -----------------------
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
358
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
359 Cutadapt correctly deals with partial adapter matches. As an example, suppose
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
360 your adapter sequence is ``ADAPTER`` (specified via 3' Adapters parameter).
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
361 If you have these input sequences::
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
362
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
363 MYSEQUENCEADAPTER
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
364 MYSEQUENCEADAP
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
365 MYSEQUENCEADAPTERSOMETHINGELSE
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
366
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
367 All of them will be trimmed to ``MYSEQUENCE``. If the sequence starts with an
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
368 adapter, like this::
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
369
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
370 ADAPTERSOMETHING
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
371
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
372 It will be empty after trimming.
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
373
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
374 When the allowed error rate is sufficiently high, errors in
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
375 the adapter sequence are allowed. For example, ``ADABTER`` (1 mismatch), ``ADAPTR`` (1 deletion),
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
376 and ``ADAPPTER`` (1 insertion) will all be recognized if the error rate is set to 0.15.
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
377
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
378
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
379 Anchoring 5' adapters
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
380 ---------------------
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
381
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
382 If you specify a 5' (Front) adapter, the adapter may overlap the beginning of the read or
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
383 occur anywhere whithin it. If it appears withing the read, the sequence that precedes it
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
384 will also be trimmed in addition to the adapter. For example when the adapter sequence is
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
385 ``ADAPTER``::
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
386
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
387 HELLOADAPTERTHERE
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
388 APTERTHERE
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
389
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
390 will both be trimmed to ``THERE``. To avoid this, you can prefix the adapter with the character
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
391 ``^``. This will restrict the search, forcing the adapter to be a prefix of the read. With
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
392 the adapter sequence set to ``^ADAPTER``, only reads like this will be trimmed::
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
393
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
394 ADAPTERHELLO
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
395
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
396
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
397 Allowing adapters anywhere
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
398 --------------------------
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
399
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
400 Cutadapt assumes that any adapter specified via the 3' Adapter parameter
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
401 was ligated to the 3\' end of the sequence. This is the correct assumption for
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
402 at least the SOLiD and Illumina small RNA protocols and probably others.
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
403 The assumption is enforced by the alignment algorithm, which only finds the adapter
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
404 when its starting position is within the read. In other words, the 5' base of
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
405 the adapter must appear within the read. The adapter and all bases following
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
406 it are removed.
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
407
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
408 If, on the other hand, your adapter can also be ligated to the 5' end (on
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
409 purpose or by accident), you should tell cutadapt so by using the Anywhere Adapter
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
410 parameter. It will then use a slightly different alignment algorithm
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
411 (so-called semiglobal alignment), which allows any type of overlap between the
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
412 adapter and the sequence. In particular, the adapter may appear only partially
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
413 in the beginning of the read, like this::
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
414
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
415 PTERMYSEQUENCE
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
416
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
417 The decision which part of the read to remove is made as follows: If there is at
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
418 least one base before the found adapter, then the adapter is considered to be
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
419 a 3' adapter and the adapter itself and everything following it is removed.
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
420 Otherwise, the adapter is considered to be a 5' adapter and it is removed from
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
421 the read.
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
422
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
423 Here are some examples, which may make this clearer (left: read, right: trimmed
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
424 read)::
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
425
8
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
426 MYSEQUENCEADAPTER -> MYSEQUENCE (3' adapter)
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
427 MADAPTER -> M (3' adapter)
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
428 ADAPTERMYSEQUENCE -> MYSEQUENCE (5' adapter)
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
429 PTERMYSEQUENCE -> MYSEQUENCE (5' adapter)
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
430
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
431 The regular algorithm (3' Adapter) would trim the first two examples in the same way,
2d6671b10919 Updated to support cutadapt version 1.1 (also include automatic dependency installation)
lparsons
parents: 5
diff changeset
432 but trim the third to an empty sequence and trim the fourth not at all.
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
433
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
434
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
435 Format of the info file
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
436 -----------------------
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
437 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. The fields are:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
438
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
439 1. Read name
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
440 2. Number of errors
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
441 3. 0-based start coordinate of the adapter match
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
442 4. 0-based end coordinate of the adapter match
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
443 5. Sequence of the read to the left of the adapter match (can be empty)
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
444 6. Sequence of the read that was matched to the adapter
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
445 7. Sequence of the read to the right of the adapter match (can be empty)
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
446 8. Name of the found adapter.
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
447
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
448 The concatenation of the fields 5-7 yields the full read sequence. In column 8, adapters without a name are numbered starting from 1.
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
449
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
450 If no adapter was found, the format is as follows:
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
451
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
452 1. Read name
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
453 2. The value -1
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
454 3. The read sequence
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
455
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
456 When parsing that 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. Also, in the current version, when the *Match times* option is set to a value other than 1 (the default value), multiple lines are written to the info file for each read.
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
457
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
458 .. _cutadapt: http://code.google.com/p/cutadapt/
9
93d58ffe39f1 Updated to version 1.6
lparsons
parents: 8
diff changeset
459 </help>
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
460
10
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
461 <citations>
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
462 <citation type="bibtex">
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
463 @article{marcel_cutadapt_2011,
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
464 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
465 volume = {17},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
466 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
467 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
468 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
469
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
470 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
471 number = {1},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
472 urldate = {2011-08-02},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
473 journal = {EMBnet.journal},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
474 author = {Marcel, Martin},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
475 year = {2011},
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
476 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
477 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
478 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
479 }
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
480 </citation>
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
481 </citations>
01d94df2e32a planemo upload for repository https://bitbucket.org/lance_parsons/cutadapt_galaxy_wrapper
lparsons
parents: 9
diff changeset
482
0
8b064ea16722 Initial version with multiple adapter support
Lance Parsons <lparsons@princeton.edu>
parents:
diff changeset
483 </tool>