annotate macros.xml @ 28:e16d8d40fe1c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 411c71bcdd51a196ee7d4cfe5e7d4bdd2185b710
author iuc
date Sat, 08 Feb 2025 20:30:11 +0000
parents a0e3176a3bb5
children 665420a51151
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
a018169c73d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents:
diff changeset
1 <macros>
28
e16d8d40fe1c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 411c71bcdd51a196ee7d4cfe5e7d4bdd2185b710
iuc
parents: 27
diff changeset
2 <token name="@TOOL_VERSION@">5.0</token>
e16d8d40fe1c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 411c71bcdd51a196ee7d4cfe5e7d4bdd2185b710
iuc
parents: 27
diff changeset
3 <token name="@VERSION_SUFFIX@">0</token>
26
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
4 <token name="@FASTQ_TYPES@">fastq.bz2,fastq.gz,fastq,fasta.bz2,fasta.gz,fasta</token>
15
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
5 <xml name="edam_ontology">
26
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
6 <edam_topics>
15
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
7 <edam_topic>topic_0632</edam_topic>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
8 </edam_topics>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
9 <edam_operations>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
10 <edam_operation>operation_0231</edam_operation>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
11 </edam_operations>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
12 </xml>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
13 <xml name="requirements">
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
14 <requirements>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
15 <requirement type="package" version="@TOOL_VERSION@">cutadapt</requirement>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
16 </requirements>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
17 </xml>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
18 <xml name="citations">
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
19 <citations>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
20 <citation type="doi">10.14806/ej.17.1.200</citation>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
21 </citations>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
22 </xml>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
23 <xml name="xrefs">
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
24 <xrefs>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
25 <xref type='bio.tools'>cutadapt</xref>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
26 </xrefs>
0a6402ed2416 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf"
iuc
parents: 14
diff changeset
27 </xml>
26
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
28 <!-- parametrized token - you need to set `$ADAPTER_ARGUMENT` -->
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
29 <token name="@adapter_cli@">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
30 #if $a.adapter_source.adapter_source_list == 'builtin':
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
31 $ADAPTER_ARGUMENT '${a.adapter_source.adapter.fields.name}'='${a.adapter_source.adapter}${a.single_noindels}'
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
32 #elif $a.adapter_source.adapter_source_list == 'file':
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
33 $ADAPTER_ARGUMENT file:'${a.adapter_source.adapter_file}${a.single_noindels}'
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
34 #elif str($a.adapter_source.adapter_name) != "":
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
35 $ADAPTER_ARGUMENT '${a.adapter_source.adapter_name}'='${a.adapter_source.adapter}${a.single_noindels}'
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
36 #else:
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
37 $ADAPTER_ARGUMENT '${a.adapter_source.adapter}${a.single_noindels}'
2
a018169c73d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 07c4e473990f522bbe8254ddeded47ed5f3b2fe4
iuc
parents:
diff changeset
38 #end if
26
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
39 </token>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
40 <xml name="adapter_sanitizer">
27
a0e3176a3bb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit fff23da3bceafb57de06af03d4c8ab4d66d4b098
iuc
parents: 26
diff changeset
41 <sanitizer sanitize="false" />
a0e3176a3bb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit fff23da3bceafb57de06af03d4c8ab4d66d4b098
iuc
parents: 26
diff changeset
42 <validator type="regex" message="Invalid adapter sequence. Allowed are strings consisting of digits IUPAC nucleotides (including wildcards) and any of the following '{}^$.()'. See https://cutadapt.readthedocs.io/en/stable/guide.html#specifying-adapter-sequences"><![CDATA[[0-9ATCGURYSWKMBDHVNX{}^$.()]+$]]></validator>
26
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
43 </xml>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
44 <xml name="adapter_conditional" tokens="adapter_type,argument">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
45 <conditional name="adapter_source">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
46 <param name="adapter_source_list" type="select" label="Source" >
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
47 <option value="builtin" selected="true">Standard (select from the list below)</option>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
48 <option value="user">Enter custom sequence</option>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
49 <option value="file">File from history</option>
13
9ede565f6b0c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 916aaa04992e36f9324299949b86cccd12d3081d"
iuc
parents: 11
diff changeset
50 </param>
26
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
51 <when value="user">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
52 <param name="adapter_name" type="text" value="" optional="true" label="Custom @ADAPTER_TYPE@ adapter name" help="Optional if 'Multiple output' is selected in the Outputs selector'" />
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
53 <param name="adapter" argument="@ARGUMENT@" type="text" value="AATTGGCC" label="Custom @ADAPTER_TYPE@ adapter sequence">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
54 <expand macro="adapter_sanitizer"/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
55 </param>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
56 </when>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
57 <when value="builtin">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
58 <param name="adapter" argument="@ARGUMENT@" type="select" label="@ADAPTER_TYPE@ adapter">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
59 <options from_data_table="adapters">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
60 <filter type="sort_by" column="1" />
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
61 </options>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
62 <expand macro="adapter_sanitizer"/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
63 </param>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
64 </when>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
65 <when value="file">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
66 <param name="adapter_file" argument="@ARGUMENT@" format="fasta" type="data" label="File containing @ADAPTER_TYPE@ adapters" help="Should be of datatype FASTA" />
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
67 </when>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
68 </conditional>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
69 <param name="single_noindels" type="boolean" truevalue=";noindels" falsevalue="" checked="false" label="Disallow indels for this adapter"/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
70 </xml>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
71 <xml name="read1_adapters" >
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
72 <section name="r1" title="Read 1 Adapters" expanded="true">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
73 <repeat name="adapters" title="3' (End) Adapters" help="Sequence of an adapter ligated to the 3' end (paired data: of the first read). The adapter and subsequent bases are trimmed. If a '$' character is appended ('anchoring'), the adapter is only found if it is a suffix of the read. To search for a linked adapter, separate the 2 sequences with 3 dots (ADAPTER1...ADAPTER2), see Help below.">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
74 <expand macro="adapter_conditional" argument="-a" adapter_type="3'"/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
75 </repeat>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
76 <repeat name="front_adapters" title="5' (Front) Adapters" help="Sequence of an adapter ligated to the 5' end (paired data: of the first read). The adapter and any preceding bases are trimmed. Partial matches at the 5' end are allowed. If a '^' character is prepended ('anchoring'), the adapter is only found if it is a prefix of the read. To search for a linked adapter, separate the 2 sequences with 3 dots (ADAPTER1...ADAPTER2), see Help below.">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
77 <expand macro="adapter_conditional" argument="-g" adapter_type="5'"/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
78 </repeat>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
79 <repeat name="anywhere_adapters" title="5' or 3' (Anywhere) Adapters" help="Sequence of an adapter that may be ligated to the 5' or 3' end (paired data: of the first read). Both types of matches as described under 3' und 5' Adapters are allowed. If the first base of the read is part of the match, the behavior is as with 5' Adapters, otherwise as with 3' Adapters. This option is mostly for rescuing failed library preparations - do not use if you know which end your adapter was ligated to!">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
80 <expand macro="adapter_conditional" argument="-b" adapter_type="5' or 3'"/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
81 </repeat>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
82 </section>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
83 </xml>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
84 <xml name="read2_adapters">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
85 <section name="r2" title="Read 2 Adapters" expanded="true">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
86 <repeat name="adapters2" title="3' (End) Adapters" help="Sequence of an adapter ligated to the 3' end of the second read in each pair. The adapter and subsequent bases are trimmed. If a '$' character is appended ('anchoring'), the adapter is only found if it is a suffix of the read. To search for a linked adapter, separate the 2 sequences with 3 dots (ADAPTER1...ADAPTER2), see Help below.">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
87 <expand macro="adapter_conditional" argument="-A" adapter_type="3'"/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
88 </repeat>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
89 <repeat name="front_adapters2" title="5' (Front) Adapters" help="Sequence of an adapter ligated to the 5' end of the second read in each pair. The adapter and any preceding bases are trimmed. Partial matches at the 5' end are allowed. If a '^' character is prepended ('anchoring'), the adapter is only found if it is a prefix of the read. To search for a linked adapter, separate the 2 sequences with 3 dots (ADAPTER1...ADAPTER2), see Help below.">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
90 <expand macro="adapter_conditional" argument="-G" adapter_type="5'"/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
91 </repeat>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
92 <repeat name="anywhere_adapters2" title="5' or 3' (Anywhere) Adapters" help="Sequence of an adapter that may be ligated to the 5' or 3' end of the second read in each pair. Both types of matches as described under under 3' und 5' Adapters are allowed. If the first base of the read is part of the match, the behavior is as with 5' Adapters, otherwise as with 3' Adapters. This option is mostly for rescuing failed library preparations - do not use if you know which end your adapter was ligated to!">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
93 <expand macro="adapter_conditional" argument="-B" adapter_type="5' or 3'"/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
94 </repeat>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
95 </section>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
96 <param argument="--pair-adapters" type="boolean" truevalue="--pair-adapters" falsevalue="" label="Pairwise adapter search" help="The tool will normally look for R1 and R2 read adapters independently. By enabling this option you can have the lists of R1 and R2 read adapters handled pairwise instead. In this mode you need to provide equal numbers of R1 and R2 adapters of each type, or the tool will fail. For a more detailed explanation see the section Paired Adapters in the tool help below."/>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
97 </xml>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
98 <xml name="inherit_format_1">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
99 <actions>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
100 <conditional name="library.type">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
101 <when value="single">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
102 <action type="format">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
103 <option type="from_param" name="library.input_1" param_attribute="ext" />
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
104 </action>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
105 </when>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
106 <when value="paired">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
107 <action type="format">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
108 <option type="from_param" name="library.input_1" param_attribute="ext" />
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
109 </action>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
110 </when>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
111 </conditional>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
112 </actions>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
113 </xml>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
114 <xml name="inherit_format_2">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
115 <actions>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
116 <conditional name="library.type">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
117 <when value="paired">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
118 <action type="format">
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
119 <option type="from_param" name="library.input_2" param_attribute="ext" />
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
120 </action>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
121 </when>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
122 </conditional>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
123 </actions>
07bfd96c2c81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 8bdd212b8708a9d080e87303dd543fb93bc05c2f
iuc
parents: 25
diff changeset
124 </xml>
7
b58d26072ded planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 034c93600ce3279644d05f3675b4820ef7180851
iuc
parents: 3
diff changeset
125 </macros>