Mercurial > repos > lparsons > cutadapt
diff macros.xml @ 27:de6cebe3c043 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 5eacc4a26d9cd55d1d34d1c35ab200733da6948f"
author | iuc |
---|---|
date | Mon, 01 Nov 2021 12:14:05 +0000 |
parents | 44e2cc14f75b |
children | c053d4cad713 |
line wrap: on
line diff
--- a/macros.xml Thu Oct 21 16:06:55 2021 +0000 +++ b/macros.xml Mon Nov 01 12:14:05 2021 +0000 @@ -1,6 +1,6 @@ <macros> - <token name="@TOOL_VERSION@">3.4</token> - <token name="@VERSION_SUFFIX@">2</token> + <token name="@TOOL_VERSION@">3.5</token> + <token name="@VERSION_SUFFIX@">0</token> <token name="@FASTQ_TYPES@">fastq.gz,fastq,fasta</token> <xml name="edam_ontology"> <edam_topics> @@ -31,35 +31,35 @@ #for $a in $library.r1.adapters #if $a.adapter_source.adapter_source_list == 'builtin': - -a '${a.adapter_source.adapter.fields.name}'='${a.adapter_source.adapter}${adapter_options.internal}' + -a '${a.adapter_source.adapter.fields.name}'='${a.adapter_source.adapter}${adapter_options.internal}${a.single_noindels}' #else if $a.adapter_source.adapter_source_list == 'file': - -a file:'${a.adapter_source.adapter_file}${adapter_options.internal}' + -a file:'${a.adapter_source.adapter_file}${adapter_options.internal}${a.single_noindels}' #else if str($a.adapter_source.adapter_name) != "": - -a '${a.adapter_source.adapter_name}'='${a.adapter_source.adapter}${adapter_options.internal}' + -a '${a.adapter_source.adapter_name}'='${a.adapter_source.adapter}${adapter_options.internal}${a.single_noindels}' #else - -a '${a.adapter_source.adapter}${adapter_options.internal}' + -a '${a.adapter_source.adapter}${adapter_options.internal}${a.single_noindels}' #end if #end for #for $aa in $library.r1.anywhere_adapters #if $aa.anywhere_adapter_source.anywhere_adapter_source_list == 'builtin': - -b '${aa.anywhere_adapter_source.anywhere_adapter.fields.name}'='${aa.anywhere_adapter_source.anywhere_adapter}' + -b '${aa.anywhere_adapter_source.anywhere_adapter.fields.name}'='${aa.anywhere_adapter_source.anywhere_adapter}${aa.single_noindels}' #else if $aa.anywhere_adapter_source.anywhere_adapter_source_list == 'file': - -b file:'${aa.anywhere_adapter_source.anywhere_adapter_file}' + -b file:'${aa.anywhere_adapter_source.anywhere_adapter_file}${aa.single_noindels}' #else if str($aa.anywhere_adapter_source.anywhere_adapter_name) != "": - -b '${aa.anywhere_adapter_source.anywhere_adapter_name}'='${aa.anywhere_adapter_source.anywhere_adapter}' + -b '${aa.anywhere_adapter_source.anywhere_adapter_name}'='${aa.anywhere_adapter_source.anywhere_adapter}${aa.single_noindels}' #else - -b '${aa.anywhere_adapter_source.anywhere_adapter}' + -b '${aa.anywhere_adapter_source.anywhere_adapter}${aa.single_noindels}' #end if #end for #for $fa in $library.r1.front_adapters #if $fa.front_adapter_source.front_adapter_source_list == 'builtin': - -g '${fa.front_adapter_source.front_adapter.fields.name}'='${adapter_options.internal}${fa.front_adapter_source.front_adapter}' + -g '${fa.front_adapter_source.front_adapter.fields.name}'='${adapter_options.internal}${fa.front_adapter_source.front_adapter}${fa.single_noindels}' #else if $fa.front_adapter_source.front_adapter_source_list == 'file': - -g file:'${adapter_options.internal}${fa.front_adapter_source.front_adapter_file}' + -g file:'${adapter_options.internal}${fa.front_adapter_source.front_adapter_file}${fa.single_noindels}' #else if str($fa.front_adapter_source.front_adapter_name) != "": - -g '${fa.front_adapter_source.front_adapter_name}'='${adapter_options.internal}${fa.front_adapter_source.front_adapter}' + -g '${fa.front_adapter_source.front_adapter_name}'='${adapter_options.internal}${fa.front_adapter_source.front_adapter}${fa.single_noindels}' #else - -g '${adapter_options.internal}${fa.front_adapter_source.front_adapter}' + -g '${adapter_options.internal}${fa.front_adapter_source.front_adapter}${fa.single_noindels}' #end if #end for @@ -96,35 +96,35 @@ #for $a in $library.r2.adapters2 #if $a.adapter_source2.adapter_source_list2 == 'builtin': - -A '${a.adapter_source2.adapter2.fields.name}'='${a.adapter_source2.adapter2}${adapter_options.internal}' + -A '${a.adapter_source2.adapter2.fields.name}'='${a.adapter_source2.adapter2}${adapter_options.internal}${a.single_noindels}' #else if $a.adapter_source2.adapter_source_list2 == 'file': - -A file:'${a.adapter_source2.adapter_file2}${adapter_options.internal}' + -A file:'${a.adapter_source2.adapter_file2}${adapter_options.internal}${a.single_noindels}' #else if str($a.adapter_source2.adapter_name2) != "": - -A '${a.adapter_source2.adapter_name2}'='${a.adapter_source2.adapter2}${adapter_options.internal}' + -A '${a.adapter_source2.adapter_name2}'='${a.adapter_source2.adapter2}${adapter_options.internal}${a.single_noindels}' #else - -A '${a.adapter_source2.adapter2}${adapter_options.internal}' + -A '${a.adapter_source2.adapter2}${adapter_options.internal}${a.single_noindels}' #end if #end for #for $aa in $library.r2.anywhere_adapters2 #if $aa.anywhere_adapter_source2.anywhere_adapter_source_list2 == 'builtin': - -B '${aa.anywhere_adapter_source2.anywhere_adapter2.fields.name}'='${aa.anywhere_adapter_source2.anywhere_adapter2}' + -B '${aa.anywhere_adapter_source2.anywhere_adapter2.fields.name}'='${aa.anywhere_adapter_source2.anywhere_adapter2}${aa.single_noindels}' #else if $aa.anywhere_adapter_source2.anywhere_adapter_source_list2 == 'file': - -B file:'${aa.anywhere_adapter_source2.anywhere_adapter_file2}' + -B file:'${aa.anywhere_adapter_source2.anywhere_adapter_file2}${aa.single_noindels}' #else if str($aa.anywhere_adapter_source2.anywhere_adapter_name2) != "": - -B '${aa.anywhere_adapter_source2.anywhere_adapter_name2}'='${aa.anywhere_adapter_source2.anywhere_adapter2}' + -B '${aa.anywhere_adapter_source2.anywhere_adapter_name2}'='${aa.anywhere_adapter_source2.anywhere_adapter2}${aa.single_noindels}' #else -B '${aa.anywhere_adapter_source2.anywhere_adapter2}' #end if #end for #for $fa in $library.r2.front_adapters2 #if $fa.front_adapter_source2.front_adapter_source_list2 == 'builtin': - -G '${fa.front_adapter_source2.front_adapter2.fields.name}'='${adapter_options.internal}${fa.front_adapter_source2.front_adapter2}' + -G '${fa.front_adapter_source2.front_adapter2.fields.name}'='${adapter_options.internal}${fa.front_adapter_source2.front_adapter2}${fa.single_noindels}' #else if $fa.front_adapter_source2.front_adapter_source_list2 == 'file': - -G file:'${adapter_options.internal}${fa.front_adapter_source2.front_adapter_file2}' + -G file:'${adapter_options.internal}${fa.front_adapter_source2.front_adapter_file2}${fa.single_noindels}' #else if str($fa.front_adapter_source2.front_adapter_name2) != "": - -G '${fa.front_adapter_source2.front_adapter_name2}'='${adapter_options.internal}${fa.front_adapter_source2.front_adapter2}' + -G '${fa.front_adapter_source2.front_adapter_name2}'='${adapter_options.internal}${fa.front_adapter_source2.front_adapter2}${fa.single_noindels}' #else - -G '${adapter_options.internal}${fa.front_adapter_source2.front_adapter2}' + -G '${adapter_options.internal}${fa.front_adapter_source2.front_adapter2}${fa.single_noindels}' #end if #end for @@ -222,6 +222,7 @@ <param name="adapter_file" argument="-a" format="fasta" type="data" help="Should be of datatype FASTA" label="Choose file containing 3' adapters" /> </when> </conditional> + <param name="single_noindels" type="boolean" truevalue=";noindels" falsevalue="" checked="false" label="Disallow indels for this adapter"/> </repeat> <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."> @@ -243,6 +244,7 @@ <param name="front_adapter_file" argument="-g" format="fasta" type="data" help="Should be of datatype "FASTA"" label="Choose file containing 5' adapters" /> </when> </conditional> + <param name="single_noindels" type="boolean" truevalue=";noindels" falsevalue="" checked="false" label="Disallow indels for this adapter"/> </repeat> <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!"> @@ -264,6 +266,7 @@ <param name="anywhere_adapter_file" argument="-b" format="fasta" type="data" help="Should be of datatype "FASTA"" label="Choose file containing 3' or 5' adapters" /> </when> </conditional> + <param name="single_noindels" type="boolean" truevalue=";noindels" falsevalue="" checked="false" label="Disallow indels for this adapter"/> </repeat> <param name="cut" argument="--cut" type="integer" value="0" optional="True" label="Cut bases from reads before adapter trimming" help="Remove bases from each read (first read only if paired). If positive, remove bases from the beginning. If negative, remove bases from the end. This is applied *before* adapter trimming." /> @@ -300,6 +303,7 @@ <param name="adapter_file2" argument="-a" format="fasta" type="data" help="Should be of datatype "FASTA"" label="Choose file containing 3' adapters" /> </when> </conditional> + <param name="single_noindels" type="boolean" truevalue=";noindels" falsevalue="" checked="false" label="Disallow indels for this adapter"/> </repeat> <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."> @@ -321,6 +325,7 @@ <param name="front_adapter_file2" argument="-g" format="fasta" type="data" help="Should be of datatype "FASTA"" label="Choose file containing 5' adapters" /> </when> </conditional> + <param name="single_noindels" type="boolean" truevalue=";noindels" falsevalue="" checked="false" label="Disallow indels for this adapter"/> </repeat> <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!"> @@ -342,10 +347,16 @@ <param name="anywhere_adapter_file2" argument="-b" format="fasta" type="data" help="Should be of datatype "FASTA"" label="Choose file containing 3' or 5' adapters" /> </when> </conditional> + <param name="single_noindels" type="boolean" truevalue=";noindels" falsevalue="" checked="false" label="Disallow indels for this adapter"/> </repeat> <param name="cut2" argument="-U" type="integer" value="0" optional="True" label="Cut bases from the second read in each pair." 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." /> - + <param name="quality_cutoff2" type="text" optional="true" label="Optional separate quality cutoff for Read 2" help="Trim low-quality bases from 5' and/or 3' ends of each read before adapter removal. If one value is given, only the 3' end is trimmed. If two comma-separated cutoffs are given, the 5' end is trimmed with the first cutoff, the 3' end with the second. Leave blank to use the same value as for Read 1"> + <sanitizer> + <valid initial="string.digits"><add value="," /></valid> + </sanitizer> + <validator type="regex">[0-9,]+</validator> + </param> </section> </xml>