Repository 'baredsc_combine_2d'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/baredsc_combine_2d

Changeset 2:1d77986f9ddc (2023-12-01)
Previous changeset 1:ae969fdb8442 (2023-10-16) Next changeset 3:02fc39c8610d (2024-03-26)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/baredsc commit 01d58fe886f6ab256b6eb8d4a65b978f81b81262
modified:
baredsc_combine_2d.xml
macros.xml
b
diff -r ae969fdb8442 -r 1d77986f9ddc baredsc_combine_2d.xml
--- a/baredsc_combine_2d.xml Mon Oct 16 14:01:47 2023 +0000
+++ b/baredsc_combine_2d.xml Fri Dec 01 11:54:24 2023 +0000
[
@@ -34,6 +34,7 @@
     ## Advanced
     @ADVANCED_COMMON_X@
     @ADVANCED_COMMON_COMPLEMENT_2D@
+    $advanced.getPVal
     ## Outputs
     --figure baredSC.$plots.image_file_format &&
     mkdir output &&
@@ -57,6 +58,7 @@
             <expand macro="macro_splity"/>
         </section>
         <section name="advanced" title="Advanced parameters" expanded="false">
+            <param argument="--getPVal" type="boolean" truevalue="--getPVal" falsevalue="" checked="false" label="Use less samples to get an estimation of the p-value."/>
             <expand macro="macro_advanced_common_axis" axis="x" default_osamppdf="4"/>
             <expand macro="macro_advanced_common_axis" axis="y" default_osamppdf="4"/>
             <expand macro="macro_advanced_evidence"/>
@@ -135,6 +137,65 @@
                 </element>
             </output_collection>
         </test>
+        <!-- Second test -->
+        <test>
+            <conditional name="input_counts">
+                <param name="filetype" value="tabular"/>
+                <param name="input" value="nih3t3_generated_2d_2.txt"/>
+            </conditional>
+            <param name="geneXColName" value="0.5_0_0_0.5_x"/>
+            <param name="geneYColName" value="0.5_0_0_0.5_y"/>
+            <section name="MCMC">
+                <param name="outputs" value="2d_small_1gauss.npz,2d_small_2gauss.npz"/>
+                <param name="nx" value="10"/>
+                <param name="ny" value="12"/>
+            </section>
+            <section name="plots">
+                <param name="prettyBinsx" value="5"/>
+                <param name="prettyBinsy" value="5"/>
+            </section>
+            <section name="advanced">
+                <param name="getPVal" value="true"/>
+            </section>
+            <output name="pdf2d" ftype="tabular">
+                <assert_contents>
+                    <has_n_lines n="6"/>
+                </assert_contents>
+            </output>
+            <output name="pdf2d_flat" ftype="tabular">
+                <assert_contents>
+                    <has_text_matching expression="x\s+y\s+low\s+mean\s+high\s+median"/>
+                    <has_n_lines n="26"/>
+                </assert_contents>
+            </output>
+            <output name="plot" ftype="png">
+                <assert_contents>
+                    <has_size value="35696" delta="3000"/>
+                </assert_contents>
+            </output>
+            <output_collection name="other_outputs" count="3" type="list">
+                <element name="corr" ftype="txt">
+                    <assert_contents>
+                        <has_n_lines n="2"/>
+                        <has_line_matching expression="mean\tmedian\tlow\thigh\tpval\terror"/>
+                        <has_text_matching expression="0\.9[0-9]+\s+0\.9[0-9]+\s+0\.9[0-9]+\s+0\.9[0-9]+\s+0\.007[0-9]+\s+0\.007[0-9]+"/>
+                    </assert_contents>
+                </element>
+                <element name="individuals" ftype="png">
+                    <assert_contents>
+                        <has_size value="73051" delta="7000"/>
+                    </assert_contents>
+                </element>
+                <element name="median" ftype="png">
+                    <assert_contents>
+                        <has_size value="35686" delta="4000"/>
+                    </assert_contents>
+                </element>
+            </output_collection>
+            <assert_stdout>
+                <has_text text="Sampling 127 independent samples."/>
+            </assert_stdout>
+        </test>
     </tests>
     <expand macro="helpcitations"/>
 </tool>
\ No newline at end of file
b
diff -r ae969fdb8442 -r 1d77986f9ddc macros.xml
--- a/macros.xml Mon Oct 16 14:01:47 2023 +0000
+++ b/macros.xml Fri Dec 01 11:54:24 2023 +0000
b
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">1.1.2</token>
-    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@TOOL_VERSION@">baredsc</requirement>