diff cluster.classic.xml @ 3:6af6b54bed72 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
author iuc
date Wed, 14 Feb 2018 09:34:03 -0500
parents f8dbdd8fb4bf
children a9f5cdc57b39
line wrap: on
line diff
--- a/cluster.classic.xml	Tue Sep 05 16:22:17 2017 -0400
+++ b/cluster.classic.xml	Wed Feb 14 09:34:03 2018 -0500
@@ -7,46 +7,47 @@
     <expand macro="stdio"/>
     <expand macro="version_command"/>
     <command><![CDATA[
-        @SHELL_OPTIONS@
+@SHELL_OPTIONS@
 
-        ## create symlinks to input datasets
-        ln -s "$dist" dist.dat &&
-        ln -s "$name" name.dat &&
-        ln -s "$count" count.dat &&
+## create symlinks to input datasets
+ln -s '$dist' dist.dat &&
+ln -s '$name' name.dat &&
+ln -s '$count' count.dat &&
 
-        echo 'cluster.classic(
-            phylip=dist.dat,
-            #if $name:
-                name=name.dat,
-            #end if
-            #if $count:
-                count=count.dat,
-            #end if
-            method=$method,
-            #if $cutoff:
-                cutoff=$cutoff,
-            #end if
-            hard=$hard,
-            precision=$precision,
-            sim=$sim
-        )'
-        | sed 's/ //g'  ## mothur trips over whitespace
-        | mothur
-        | tee mothur.out.log
+echo 'cluster.classic(
+    phylip=dist.dat,
+    #if $name:
+        name=name.dat,
+    #end if
+    #if $count:
+        count=count.dat,
+    #end if
+    method=$method,
+    #if $cutoff:
+        cutoff=$cutoff,
+    #end if
+    precision=$precision,
+    sim=$sim
+)'
+| sed 's/ //g'  ## mothur trips over whitespace
+| mothur
+| tee mothur.out.log
     ]]></command>
     <inputs>
-        <param name="dist" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix" help="format must be mothur.lower.dist or mothur.square.dist"/>
-        <param name="name" type="data" format="mothur.names" optional="true" label="name - Sequences Name reference"/>
-        <param name="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/>
-        <param name="method" type="select" label="method - Select a Clustering Method" help="">
+        <param argument="dist" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix"
+            help="format must be mothur.lower.dist or mothur.square.dist"/>
+        <param argument="name" type="data" format="mothur.names" optional="true" label="name - Sequences Name reference"/>
+        <param argument="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/>
+        <param argument="method" type="select" label="method - Select a Clustering Method" help="">
             <option value="furthest">Furthest neighbor</option>
             <option value="nearest">Nearest neighbor</option>
             <option value="average" selected="true">Average neighbor</option>
             <option value="weighted">Weighted</option>
         </param>
-        <param name="cutoff" type="float" value="" min="0" optional="true" label="cutoff - Distance Cutoff threshold" help="Ignore pairwise distances larger than this, a common value would be 0.10"/>
-        <param name="hard" type="boolean" checked="true" truevalue="true" falsevalue="false" label="hard - Use hard cutoff instead of rounding"/>
-        <param name="precision" type="select" optional="true" label="precision - Precision for rounding distance values" help="Set higher precision for longer genome scale sequence lengths">
+        <param argument="cutoff" type="float" value="" min="0" optional="true" label="cutoff - Distance Cutoff threshold"
+            help="Ignore pairwise distances larger than this. Default for methods opti,agc,dgc is 0.03, default for the other methods is 0.15"/>
+        <param argument="precision" type="select" optional="true" label="precision - Precision for rounding distance values"
+            help="Set higher precision for longer genome scale sequence lengths">
             <option value="10">.1</option>
             <option value="100" selected="true">.01</option>
             <option value="1000">.001</option>
@@ -54,7 +55,7 @@
             <option value="100000">.00001</option>
             <option value="1000000">.000001</option>
         </param>
-        <param name="sim" type="boolean" checked="false" truevalue="true" falsevalue="false" label="sim - Matrix values are Similary instead of Distance"/>
+        <param argument="sim" type="boolean" checked="false" truevalue="true" falsevalue="false" label="sim - Matrix values are Similary instead of Distance"/>
     </inputs>
     <outputs>
         <expand macro="logfile-output"/>
@@ -77,8 +78,7 @@
             <expand macro="logfile-test"/>
         </test>
     </tests>
-    <help>
-<![CDATA[
+    <help><![CDATA[
 
 @MOTHUR_OVERVIEW@
 
@@ -88,7 +88,6 @@
 
 .. _cluster.classic: https://www.mothur.org/wiki/Cluster.classic
 
-]]>
-    </help>
+    ]]></help>
     <expand macro="citations"/>
 </tool>