changeset 2:28b9809c4002 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/structureharvester commit f1cac0ad033da79288fe720fbe5af5948cc61d44
author iuc
date Wed, 25 Sep 2024 15:36:50 +0000
parents 8dc371b783eb
children
files structureharvester.xml
diffstat 1 files changed, 13 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/structureharvester.xml	Thu Sep 17 09:35:06 2020 +0000
+++ b/structureharvester.xml	Wed Sep 25 15:36:50 2024 +0000
@@ -1,7 +1,11 @@
-<tool id="structureharvester" name="structureHarvester" version="0.6.94">
+<tool id="structureharvester" name="structureHarvester" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
     <description>for parsing STRUCTURE outputs and for performing the Evanno method</description>
+    <macros>
+        <token name="@TOOL_VERSION@">0.6.94</token>
+        <token name="@VERSION_SUFFIX@">1</token>
+    </macros>
     <requirements>
-        <requirement type="package" version="0.6.94">structureharvester</requirement>
+        <requirement type="package" version="@TOOL_VERSION@">structureharvester</requirement>
     </requirements>
     <version_command><![CDATA[
         structureHarvester.py --version
@@ -14,7 +18,7 @@
         structureHarvester.py --dir inputs/ --out . $evanno $clumpp &&
         mv summary.txt '$summary'
         #if $evanno
-            && mv evanno.txt $evanno
+            && mv evanno.txt '$evanno_out'
         #end if
         #if $clumpp
             && mkdir clumpp_indfile clumpp_popfile
@@ -28,21 +32,21 @@
         <param argument="--clumpp" type="boolean" checked="false" truevalue="--clumpp" falsevalue="" label="Generates one K*.indfile for each value of K run, for use with CLUMPP." />
     </inputs>
     <outputs>
-        <data name="summary" format="txt" label="Structure Harvester summary"/>
-        <data name="evanno" format="txt" label="Evann method output">
+        <data name="summary" format="txt" label="${tool.name} on ${on_string}: Summary"/>
+        <data name="evanno_out" format="txt" label="${tool.name} on ${on_string}: Evann output">
             <filter>evanno</filter>
         </data>
-        <collection name="clumpp_indfile" type="list" label="Clumpp K*.indfile">
+        <collection name="clumpp_indfile" type="list" label="${tool.name} on ${on_string}: Clumpp K*.indfile">
             <filter>clumpp</filter>
             <discover_datasets pattern="__name__" format="txt" directory="clumpp_indfile" />
         </collection>
-        <collection name="clumpp_popfile" type="list" label="Clumpp K*.popfile">
+        <collection name="clumpp_popfile" type="list" label="${tool.name} on ${on_string}: Clumpp K*.popfile">
             <filter>clumpp</filter>
             <discover_datasets pattern="__name__" format="txt" directory="clumpp_popfile" />
         </collection>
     </outputs>
     <tests>
-        <test>
+        <test expect_num_outputs="3">
             <param name="inputs" value="example_harvester_archive/Admix_run_001_f,example_harvester_archive/Admix_run_002_f,example_harvester_archive/Admix_run_004_f,example_harvester_archive/Admix_run_005_f,example_harvester_archive/Admix_run_007_f,example_harvester_archive/Admix_run_008_f,example_harvester_archive/K1ReRun_run_1_f,example_harvester_archive/K1ReRun_run_2_f" />
             <param name="evanno" value="false" />
             <param name="clumpp" value="true" />
@@ -89,7 +93,7 @@
 
 Structure_Harvester_ is a program for parsing the output of Pritchard's STRUCTURE_ and for performing the Evanno method.
 
-.. _Structure_Harvester: http://taylor0.biology.ucla.edu/structureHarvester/
+.. _Structure_Harvester: http://alumni.soe.ucsc.edu/~dearl/software/structureHarvester/
 .. _STRUCTURE: http://web.stanford.edu/group/pritchardlab/structure.html
 
     ]]></help>