diff rarefaction.single.xml @ 5:5fa888231577 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:42:08 -0500
parents 3779e72d3525
children b474d518665c
line wrap: on
line diff
--- a/rarefaction.single.xml	Tue Sep 05 16:30:08 2017 -0400
+++ b/rarefaction.single.xml	Wed Feb 14 09:42:08 2018 -0500
@@ -7,38 +7,38 @@
     <expand macro="stdio"/>
     <expand macro="version_command"/>
     <command><![CDATA[
-        @SHELL_OPTIONS@
+@SHELL_OPTIONS@
 
-        ## create symlinks to input datasets
-        ln -s "$otu" otu.dat &&
+## create symlinks to input datasets
+ln -s '$otu' otu.dat &&
 
-        echo 'rarefaction.single(
-            #if $otu.is_of_type("mothur.rabund"):
-                rabund=otu.dat,
-            #elif $otu.is_of_type("mothur.sabund"):
-                sabund=otu.dat,
-            #elif $otu.is_of_type("mothur.shared"):
-                shared=otu.dat,
-            #elif $otu.is_of_type("mothur.list"):
-                list=otu.dat,
-            #end if
-            #if $label:
-                label=${ str($label).replace(",","-") },
-            #end if
-            calc=${ str($calc).replace(",","-") },
-            abund=$abund,
-            iters=$iters,
-            freq=$freq,
-            processors='\${GALAXY_SLOTS:-8}'
-        )'
-        | sed 's/ //g'  ## mothur trips over whitespace
-        | mothur
-        | tee mothur.out.log
+echo 'rarefaction.single(
+    #if $otu.is_of_type("mothur.rabund"):
+        rabund=otu.dat,
+    #elif $otu.is_of_type("mothur.sabund"):
+        sabund=otu.dat,
+    #elif $otu.is_of_type("mothur.shared"):
+        shared=otu.dat,
+    #elif $otu.is_of_type("mothur.list"):
+        list=otu.dat,
+    #end if
+    #if $label:
+        label=${ str($label).replace(",","-") },
+    #end if
+    calc=${ str($calc).replace(",","-") },
+    abund=$abund,
+    iters=$iters,
+    freq=$freq,
+    processors='\${GALAXY_SLOTS:-8}'
+)'
+| sed 's/ //g'  ## mothur trips over whitespace
+| mothur
+| tee mothur.out.log
 
-        ## rename output from sobs calculator to be consistent with others
-        #if 'sobs' in str($calc).split(','):
-            && mv otu\.*rarefaction otu.r_sobs
-        #end if
+## rename output from sobs calculator to be consistent with others
+#if 'sobs' in str($calc).split(','):
+    && mv otu\.*rarefaction otu.r_sobs
+#end if
     ]]></command>
     <inputs>
         <param name="otu" type="data" format="mothur.list,mothur.rabund,mothur.sabund,mothur.shared" label="list,rabund,sabund,shared - OTU List"/>
@@ -90,8 +90,7 @@
             <expand macro="logfile-test"/>
         </test>
     </tests>
-    <help>
-<![CDATA[
+    <help><![CDATA[
 
 @MOTHUR_OVERVIEW@
 
@@ -100,7 +99,7 @@
 The rarefaction.single_ command generates intra-sample rarefaction curves using a re-sampling without replacement approach. Rarefaction curves provide a way of comparing the richness observed in different samples.  For calc parameter choices see: https://www.mothur.org/wiki/Calculators
 
 .. _rarefaction.single: https://www.mothur.org/wiki/Rarefaction.single
-]]>
-    </help>
+
+    ]]></help>
     <expand macro="citations"/>
 </tool>