diff make.sra.xml @ 2:82e91bb188b2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
author iuc
date Tue, 20 Mar 2018 22:26:51 -0400
parents eb8c2262bd1b
children 33a3f68dc34b
line wrap: on
line diff
--- a/make.sra.xml	Tue Sep 05 17:04:49 2017 -0400
+++ b/make.sra.xml	Tue Mar 20 22:26:51 2018 -0400
@@ -7,40 +7,42 @@
     <expand macro="stdio"/>
     <expand macro="version_command"/>
     <command><![CDATA[
-        @SHELL_OPTIONS@
+@SHELL_OPTIONS@
 
-        ## create symlinks to input datasets
-        ln -s "$project" project.dat &&
-        ln -s "$sff" sff.dat &&
-        ln -s "$oligos" oligos.dat &&
-        ln -s "$mimark" mimark.dat &&
-        ln -s "$fastq" fastq.dat &&
+## create symlinks to input datasets
+ln -s '$project' project.dat &&
+ln -s '$sff' sff.dat &&
+ln -s '$oligos' oligos.dat &&
+ln -s '$mimark' mimark.dat &&
+ln -s '$fastq' fastq.dat &&
 
-        echo 'make.sra(
-            project=project.dat,
-            sff=sff.dat,
-            oligos=oligos.dat,
-            mimark=mimark.dat,
-            #if $fastq:
-                fastq=fastq.dat,
-            #end if
-            bdiffs=$bdiffs,
-            pdiffs=$pdiffs,
-            tdiffs=$tdiffs,
-            ldiffs=$ldiffs,
-            sdiffs=$sdiffs,
-            checkorient=$checkorient,
-            orientation=$orientation,
-            platform=$platform,
-            instrument=$instrument,
-            libstrategy=$libstrategy,
-            libselection=$libselection,
-            libsource=$libsource,
-            datatype=$datatype
-        )'
-        | sed 's/ //g'  ## mothur trips over whitespace
-        | mothur
-        | tee mothur.out.log
+echo 'make.sra(
+    project=project.dat,
+    sff=sff.dat,
+    oligos=oligos.dat,
+    mimark=mimark.dat,
+    #if $fastq:
+        fastq=fastq.dat,
+    #end if
+    bdiffs=$bdiffs,
+    pdiffs=$pdiffs,
+    tdiffs=$tdiffs,
+    ldiffs=$ldiffs,
+    sdiffs=$sdiffs,
+    checkorient=$checkorient,
+    orientation=$orientation,
+    platform=$platform,
+    instrument=$instrument,
+    libstrategy=$libstrategy,
+    libselection=$libselection,
+    libsource=$libsource,
+    datatype=$datatype,
+    trim=$trim,
+    includescrap=$includescrap
+)'
+| sed 's/ //g'  ## mothur trips over whitespace
+| mothur
+| tee mothur.out.log
     ]]></command>
     <inputs>
         <param name="project" type="data" format="tabular" label="Project file"/>
@@ -158,6 +160,9 @@
             <option value="GENOTYPE">GENOTYPE</option>
             <option value="OTHER">OTHER</option>
         </param>
+        <param name="trim" type="boolean" checked="true" truevalue="True" falsevalue="False" label="Trim sequences and quality scores?" help="will trim to the clipQualLeft and clipQualRight values in sff file"/>
+        <param name="includescrap" type="boolean" checked="true" truevalue="True" falsevalue="False" label="Include scrapped sequences in your submission?"/>
+        <expand macro="param-savelog"/>
     </inputs>
     <outputs>
         <expand macro="logfile-output"/>
@@ -188,11 +193,11 @@
                     <has_text text="BioProject"/>
                 </assert_contents>
             </output>
+            <param name="savelog" value="true"/>
             <expand macro="logfile-test"/>
         </test>
     </tests>
-    <help>
-<![CDATA[
+    <help><![CDATA[
 
 @MOTHUR_OVERVIEW@
 
@@ -202,8 +207,7 @@
 
 .. _make.sra: https://www.mothur.org/wiki/Make.sra
 
-]]>
-    </help>
+    ]]></help>
     <citations>
         <citation type="doi">10.1128/AEM.01541-09</citation>
     </citations>