changeset 5:b63b2bfb3ea3 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/galaxy_sequence_utils/fastq_trimmer commit d4ced60a941c4c4a2fe95de9c09a10086810b387"
author iuc
date Wed, 19 Feb 2020 12:35:44 -0500
parents 33794bdb7fe0
children f0b18efb97f1
files fastq_trimmer.xml macros.xml
diffstat 2 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/fastq_trimmer.xml	Fri Nov 01 13:26:50 2019 -0400
+++ b/fastq_trimmer.xml	Wed Feb 19 12:35:44 2020 -0500
@@ -1,8 +1,9 @@
-<tool id="fastq_trimmer" name="FASTQ Trimmer" version="1.1.1">
+<tool id="fastq_trimmer" name="FASTQ Trimmer" version="@TOOL_VERSION@">
     <description>by column</description>
-    <requirements>
-        <requirement type="package" version="1.1.1">galaxy_sequence_utils</requirement>
-    </requirements>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
     <edam_topics>
         <edam_topic>topic_0622</edam_topic>
     </edam_topics>
@@ -10,7 +11,7 @@
         <edam_operation>operation_3192</edam_operation>
     </edam_operations>
     <command><![CDATA[
-gx-fastq-trimmer '$input_file' '$output_file' ${offset_type['left_column_offset']} ${offset_type['right_column_offset']} ${offset_type['base_offset_type']} '${input_file.extension[len('fastq'):]}' $keep_zero_length
+gx-fastq-trimmer '$input_file' '$output_file' ${offset_type.left_column_offset} ${offset_type.right_column_offset} ${offset_type.base_offset_type} '${input_file.extension[len('fastq'):]}' $keep_zero_length
     ]]></command>
     <inputs>
         <param name="input_file" type="data" format="fastqsanger,fastqcssanger,fastqsanger.gz,fastqcssanger.gz,fastqsanger.bz2,fastqcssanger.bz2" label="FASTQ file"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Wed Feb 19 12:35:44 2020 -0500
@@ -0,0 +1,9 @@
+<macros>
+    <token name="@TOOL_VERSION@">1.1.5</token>
+    <xml name="requirements">
+        <requirements>
+            <requirement type="package" version="@TOOL_VERSION@">galaxy_sequence_utils</requirement>
+            <yield/>
+        </requirements>
+    </xml>>
+</macros>