diff cutadapt.xml @ 30:c5e2e5902201 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit c75b6fda89f1cb0dce226ec983adda7f051a42e8"
author iuc
date Wed, 02 Mar 2022 08:37:02 +0000
parents 48f587c13075
children 5915ea1ec9b1
line wrap: on
line diff
--- a/cutadapt.xml	Thu Feb 10 12:13:05 2022 +0000
+++ b/cutadapt.xml	Wed Mar 02 08:37:02 2022 +0000
@@ -4,8 +4,8 @@
         <import>macros.xml</import>
     </macros>
     <expand macro='edam_ontology' />
+    <expand macro='xrefs'/>
     <expand macro='requirements' />
-    <expand macro='xrefs'/>
     <version_command>cutadapt --version</version_command>
 
     <command detect_errors="exit_code"><![CDATA[
@@ -534,7 +534,7 @@
             </section>
             <param name="output_selector" value="rest_file,json_stats"/>
             <output name="out1" file="cutadapt_rest.out" ftype="fasta"/>
-            <output name="json_stats" file="cutadapt_rest.json" ftype="json"/>
+            <output name="json_stats" file="cutadapt_rest.json" ftype="json" lines_diff="4"/> <!--allow for differing cutadapt and python version-->
             <output name="rest_output" file="cutadapt_rest2.out" ftype="fasta"/>
         </test>
         <!-- Ensure nextseq-trim option works -->
@@ -1333,11 +1333,17 @@
         * {id} – the read ID, that is, the part of the header before the first whitespace
         * {comment} – the part of the header after the whitespace following the ID
         * {adapter_name} – the name of adapter that was found in this read or no_adapter if there was none adapter match. If you use --times to do multiple rounds of adapter matching, this is the name of the last found adapter.
+        * {match_sequence} – the sequence of the read that matched the adapter (including errors). If there was no adapter match, this is set to an empty string. If you use a linked adapter, this is to the two matching strings, separated by a comma.
         * {cut_prefix} – the prefix removed by the --cut (or -u) option (that is, when used with a positive length argument)
         * {cut_suffix} – the suffix removed by the --cut (or -u) option (that is, when used with a negative length argument)
+        * {rc} – this is replaced with the string rc if the read was reverse complemented. This only applies when reverse complementing was requested
 
 If the --rename option is used with paired-end data, the template is applied separately to both R1 and R2. That is, for R1, the placeholders are replaced with values from R1, and for R2, the placeholders are replaced with values from R2. For example, {comment} becomes R1’s comment in R1 and it becomes R2’s comment in R2.
 
+For paired-end data, the placeholder {rn} is available (“read number”), and it is replaced with 1 in R1 and with 2 in R2.
+
+In addition, it is possible to write a placeholder as {r1.placeholdername} or {r2.placeholdername}, which always takes the replacement value from R1 or R2, respectively.
+The {r1.placeholder} and {r2.placeholder} notation is available for all placeholders except {rn} and {id} because the read ID needs to be identical for both reads.
 
 --------------------