changeset 89:d6ab97fb8aca draft

Uploaded
author greg
date Fri, 25 Aug 2017 12:22:59 -0400
parents 462ce06410c6
children 029e18c3c17b
files ideas.xml
diffstat 1 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ideas.xml	Thu Aug 24 10:12:45 2017 -0400
+++ b/ideas.xml	Fri Aug 25 12:22:59 2017 -0400
@@ -103,7 +103,11 @@
     -maxerr $maxerr
 #end if
 -thread \${GALAXY_SLOTS:-4}
-> $output_log
+#if str($save_ideas_log) == "yes":
+    > $output_log
+#else:
+    > /dev/null
+#end if
 && mv ./*.cluster $output_cluster
 && mv ./*.para $output_para
 && mv ./*.profile $output_profile
@@ -217,9 +221,15 @@
         <param name="mcmc_num" type="integer" value="20" min="1" label="Number of maximization steps"/>
         <param name="minerr" type="float" value="0.5" min="0" label="Minimum standard deviation for the emission Gaussian distribution" help="Zero value results in the default value: 0.5"/>
         <param name="maxerr" type="float" value="1000000" min="0" label="Maximum standard deviation for the emission Gaussian distribution" help="Zero value results in the default value: 1000000"/>
+        <param name="save_ideas_log" type="select" display="radio" label="Save IDEAS log in an additional history item">
+            <option value="no" selected="true">No</option>
+            <option value="yes">Yes</option>
+        </param>
     </inputs>
     <outputs>
-        <data name="output_log" format="txt" label="${tool.name} (ideas output log) on ${on_string}"/>
+        <data name="output_log" format="txt" label="${tool.name} (ideas output log) on ${on_string}">
+            <filter>save_ideas_log == 'yes'</filter>
+        </data>
         <data name="output_cluster" format="txt" label="${tool.name} (local cell type clustering) on ${on_string}"/>
         <data name="output_para" format="tabular" label="${tool.name} (epigenetic state frequency, mean and variance parameters) on ${on_string}"/>
         <data name="output_profile" format="txt" label="${tool.name} (profile) on ${on_string}"/>