changeset 0:f2ffa4fd4c2a draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
author ebi-gxa
date Wed, 08 Apr 2020 11:35:54 -0400
parents
children cb8921e0f4f0
files ct_get_tool_pvals.xml ct_macros.xml
diffstat 2 files changed, 64 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ct_get_tool_pvals.xml	Wed Apr 08 11:35:54 2020 -0400
@@ -0,0 +1,29 @@
+<tool id="ct_get_tool_pvals" name="Cell types - get tool p-values" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
+    <description>Get p-values for tool performance metrics</description>
+    <macros>
+        <import>ct_macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <command detect_errors="exit_code"><![CDATA[
+        get_tool_pvals.R --input-table "${input_table}" --emp-dist-list "${emp_dist_list}" --output-table "${output_table}" ]]></command>
+    <inputs>
+        <param type="data" name="input_table" label="Table with tool stats" format="tsv" help="Path to the table of tool statistics from get_tool_performance_table.R" />
+        <param type="data" name="emp_dist_list" label="List of empirical distributions" format="rdata" help="Path to the list of empirical distributions in .rds format" />
+    </inputs>
+    <outputs>
+        <data name="output_table" format="tsv" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="input_table" value="tool_perf_table.tsv" />
+            <param name="emp_dist_list" value="empirical_dist_list.rds" />
+            <output name="output_table" file="tool_perf_pvals.tsv" compare="sim_size" />
+        </test>
+    </tests>
+    <help><![CDATA[
+    @HELP@
+    
+    @VERSION_HISTORY@
+    ]]></help>
+    <expand macro="citations" />
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ct_macros.xml	Wed Apr 08 11:35:54 2020 -0400
@@ -0,0 +1,35 @@
+<macros>
+    <token name="@TOOL_VERSION@">1.0.0</token>
+    <token name="@HELP@">More information can be found at https://github.com/ebi-gene-expression-group/cell-types-analysis</token>
+    <token name="@PROFILE@">18.01</token>
+    <xml name="requirements">
+      <requirements>
+        <requirement type="package" version="0.0.8">cell-types-analysis</requirement>
+            <yield/>
+      </requirements>
+    </xml>
+    <xml name="version">
+      <version_command><![CDATA[
+        conda list | grep cell-types-analysis | egrep -o [0-9]\.[0-9]\.[0-9]
+    ]]></version_command>
+    </xml>
+    <token name="@VERSION_HISTORY@"><![CDATA[
+**Version history**
+0.0.5+galaxy0: Initial contribution. Andrey Solovyev, Expression Atlas team https://www.ebi.ac.uk/gxa/home at EMBL-EBI https://www.ebi.ac.uk/.
+    ]]></token>
+    <xml name="citations">
+      <citations>
+        <citation type="bibtex">
+          @misc{github-cell-types-analysis.git,
+            author = {Andrey Solovyev, EBI Gene Expression Team},
+            year = {2020},
+            title = {Suite of scripts for analysis of scRNA-seq cell type classification tool outputs},
+            publisher = {GitHub},
+            journal = {GitHub repository},
+            url = {https://github.com/ebi-gene-expression-group/cell-types-analysis.git},
+          }
+        </citation>
+        <yield />
+      </citations>
+    </xml>
+</macros>
\ No newline at end of file