Repository 'rmarkdown_samtools_flagstat'
hg clone https://toolshed.g2.bx.psu.edu/repos/mingchen0919/rmarkdown_samtools_flagstat

Changeset 1:c5c626653593 (2017-12-26)
Previous changeset 0:ba913054bbff (2017-12-26) Next changeset 2:77e8e7bc5b44 (2017-12-27)
Commit message:
fix wrong input type error
modified:
rmarkdown_flagstat.xml
b
diff -r ba913054bbff -r c5c626653593 rmarkdown_flagstat.xml
--- a/rmarkdown_flagstat.xml Tue Dec 26 19:27:41 2017 -0500
+++ b/rmarkdown_flagstat.xml Tue Dec 26 20:42:47 2017 -0500
[
@@ -11,16 +11,16 @@
   <stdio>
     <regex source="stderr" match="XXX" level="warning" description="Check the warnings_and_errors.txt file for more details."/>
   </stdio>
-  <command><![CDATA[
-                    Rscript '${__tool_directory__}/tool_template_render.R'
-                        -e $echo
-                        -r $report
-                        -d $report.files_path
-                        -s $sink_message
-                        -t '${__tool_directory__}/tool_template.Rmd
+  <command><![CDATA[                    Rscript '${__tool_directory__}/tool_template_render.R'
+                        -e $echo
+                        -b $input_bam
+                        -r $report
+                        -d $report.files_path
+                        -s $sink_message
+                        -t '${__tool_directory__}/tool_template.Rmd
                     ]]></command>
   <inputs>
-    <param type="integer" name="echo" label="Display analysis code in report?" optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
+    <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
     <param type="data" name="input_bam" label="BAM file" optional="False" format="bam"/>
   </inputs>
   <outputs>