changeset 2:c9fffbd29afc draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 8b047549e9e8791a5ca9424b1ef391e8980aba79-dirty
author matthias
date Fri, 30 Nov 2018 07:40:25 -0500
parents d2e1ef2f5575
children ead5013ec8e4
files macros.xml stacks_procrad.xml
diffstat 2 files changed, 6 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Fri Nov 30 05:58:38 2018 -0500
+++ b/macros.xml	Fri Nov 30 07:40:25 2018 -0500
@@ -2,12 +2,13 @@
 <macros>
     <xml name="requirements">
         <requirements>
-            <requirement type="package" version="@WRAPPER_VERSION@">stacks</requirement>
+            <requirement type="package" version="@STACKS_VERSION@">stacks</requirement>
             <yield/>
         </requirements>
     </xml>
 
-    <token name="@WRAPPER_VERSION@">2.2</token>
+    <token name="@STACKS_VERSION@">2.2</token>
+    <token name="@WRAPPER_VERSION@">1</token>
 
     <xml name="stdio">
         <stdio>
@@ -174,22 +175,11 @@
 
     <!-- macro and token for BAM input-->
     <xml name="bam_input_macro">
-        <conditional name="input_type">
-            <param name="input_type_selector" type="select" label="BAM files">
-                <option value="list">data set list</option>
-                <option value="manual">data sets</option>
-            </param>
-            <when value="manual">
-                <param name="input_bam" format="bam" type="data" multiple="true" optional="false" label="BAM files" />
-            </when>
-            <when value="list">
-                <param name="input_bam" format="bam" type="data_collection" collection_type="list" label="BAM files" />
-            </when>
-        </conditional>
+        <param name="input_bam" format="bam" type="data" multiple="true" optional="false" label="BAM files" />
     </xml>
     <token name="@BAM_INPUT@"><![CDATA[
     #set $bamlist = ""
-    #for $bam in $input_type.input_bam:
+    #for $bam in $input_bam:
         #set $filename = $clean_ext($bam.element_identifier)+".bam"
         #if re.search('.*\.bam$', $filename)
             ln -s '$bam' bam_inputs/$filename &&
--- a/stacks_procrad.xml	Fri Nov 30 05:58:38 2018 -0500
+++ b/stacks_procrad.xml	Fri Nov 30 07:40:25 2018 -0500
@@ -1,4 +1,4 @@
-<tool id="stacks2_procrad" name="Stacks2: process radtags" version="@WRAPPER_VERSION@">
+<tool id="stacks2_procrad" name="Stacks2: process radtags" version="@STACKS_VERSION@+galaxy@WRAPPER_VERSION@">
 <description>the Stacks demultiplexing script</description>
     <macros>
         <import>macros.xml</import>