Repository 'cutadapt'
hg clone https://toolshed.g2.bx.psu.edu/repos/lparsons/cutadapt

Changeset 29:48f587c13075 (2022-02-10)
Previous changeset 28:c053d4cad713 (2021-11-27) Next changeset 30:c5e2e5902201 (2022-03-02)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit dea830212266690dbd20448f9a89ea7bfeee4a26"
modified:
cutadapt.xml
macros.xml
test-data/cutadapt_out1.fq.gz
test-data/cutadapt_out2.fq.gz
b
diff -r c053d4cad713 -r 48f587c13075 cutadapt.xml
--- a/cutadapt.xml Sat Nov 27 10:09:14 2021 +0000
+++ b/cutadapt.xml Thu Feb 10 12:13:05 2022 +0000
[
@@ -93,13 +93,8 @@
 #else:
     @read1_options@
     @read2_options@
-    #if $library.type == "paired"
-        --output='$out1'
-        --paired-output='$out2'
-    #else
-        --output='$out_pairs.forward'
-        --paired-output='$out_pairs.reverse'
-    #end if
+    --output='$out1'
+    --paired-output='$out2'
 #end if
 
 --error-rate=$adapter_options.error_rate
@@ -337,6 +332,8 @@
 
         <collection name="out_pairs" type="paired" format_source="input_1" label="${tool.name} on ${on_string}: Reads">
             <filter>library['type'] == 'paired_collection' and 'multiple_output' not in output_selector</filter>
+            <data name="forward" from_work_dir="out1.fq*" />
+            <data name="reverse" from_work_dir="out2.fq*" />
         </collection>
         
         <data name="report" format="txt" from_work_dir="report.txt" label="${tool.name} on ${on_string}: Report">
@@ -478,9 +475,17 @@
                     </conditional>
                 </repeat>
             </section>
-            <output_collection name="out_pairs" type="paired">
-                <element name="forward" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz" />
-                <element name="reverse" decompress="True" file="cutadapt_out2.fq.gz" ftype="fastq.gz" />
+            <output_collection name="out_pairs" type="paired" count="2">
+                <element name="forward" decompress="true" file="cutadapt_out1.fq.gz" ftype="fastq.gz">
+                    <assert_contents>
+                        <has_size value="12000" delta="2000" />
+                    </assert_contents>
+                </element>
+                <element name="reverse" decompress="true" file="cutadapt_out2.fq.gz" ftype="fastq.gz">
+                    <assert_contents>
+                        <has_size value="12000" delta="2000" />
+                    </assert_contents>
+                </element>
             </output_collection>
         </test>
         <!-- Ensure built-in adapters work -->
b
diff -r c053d4cad713 -r 48f587c13075 macros.xml
--- a/macros.xml Sat Nov 27 10:09:14 2021 +0000
+++ b/macros.xml Thu Feb 10 12:13:05 2022 +0000
b
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">3.5</token>
-    <token name="@VERSION_SUFFIX@">1</token>
+    <token name="@VERSION_SUFFIX@">2</token>
     <token name="@FASTQ_TYPES@">fastq.gz,fastq,fasta</token>
     <xml name="edam_ontology">
         <edam_topics>                                                                                  
b
diff -r c053d4cad713 -r 48f587c13075 test-data/cutadapt_out1.fq.gz
b
Binary file test-data/cutadapt_out1.fq.gz has changed
b
diff -r c053d4cad713 -r 48f587c13075 test-data/cutadapt_out2.fq.gz
b
Binary file test-data/cutadapt_out2.fq.gz has changed