changeset 0:ec6d9a9fb273 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
author ebi-gxa
date Mon, 27 Apr 2020 09:43:08 -0400
parents
children 03b45c148df7
files scpred_macros.xml scpred_preprocess_data.xml
diffstat 2 files changed, 68 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scpred_macros.xml	Mon Apr 27 09:43:08 2020 -0400
@@ -0,0 +1,45 @@
+<macros>
+    <token name="@TOOL_VERSION@">1.0.0</token>
+    <token name="@HELP@">More information can be found at https://joseah.github.io/post/introduction-to-scpred/</token>
+    <token name="@PROFILE@">18.01</token>
+    <xml name="requirements">
+        <requirements>
+            <requirement type="package" version="0.0.7">scpred-cli</requirement>
+                <yield/>
+        </requirements>
+    </xml>
+    <xml name="version">
+        <version_command><![CDATA[
+            echo $(R --version | grep version | grep -v GNU)",  scpred version" $(R --vanilla --slave -e "library(scpred); cat(sessionInfo()\$otherPkgs\$scpred\$Version)" 2> /dev/null | grep -v -i "WARNING: ")
+            ]]></version_command>
+    </xml>
+    <token name="@VERSION_HISTORY@"><![CDATA[
+        **Version history**
+        1.0.0+galaxy0: Initilal 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">
+                @article{Alquicira-Hernandez2019,
+                author = {Alquicira-Hernandez, Jose and Sathe, Anuja and Ji, Hanlee P and Nguyen, Quan and Powell, Joseph E},
+                journal = {Genome Biology},
+                title = {{scPred: accurate supervised method for cell-type classification from single-cell RNA-seq data}},
+                url = {https://doi.org/10.1186/s13059-019-1862-5},
+                year = {2019}
+                }
+            </citation>
+            <citation type="bibtex">
+                @misc{githubscpred-cli.git,
+                author = {Andrey Solovyev, EBI Gene Expression Team},
+                year = {2019},
+                title = {scpred-cli: command line interface for ScPred tool},
+                publisher = {GitHub},
+                journal = {GitHub repository},
+                url = {https://github.com/ebi-gene-expression-group/scpred-cli.git},
+              }
+            </citation>
+            <citation type="doi">10.1101/2020.04.08.032698</citation>
+            <yield />
+        </citations>
+    </xml>
+</macros>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scpred_preprocess_data.xml	Mon Apr 27 09:43:08 2020 -0400
@@ -0,0 +1,23 @@
+<tool id="scpred_preprocess_data" name="Scpred pre-process" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
+    <description>Pre-process input dataset (no train/test split)</description>
+    <macros>
+        <import>scpred_macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <command detect_errors="exit_code"><![CDATA[
+        scpred_preprocess_data.R --input-sce-object "${input_sce_object}" --normalised-counts-slot "${norm_counts_slot}" --output-matrix-object "${output_mat_object}" --output-labels "${output_labels}" ]]></command>
+    <inputs>
+         <param type="data" name="input_sce_object" label="SCE object containing expression data" format="rdata" help="File with serialized SingleCellExperiment object that contains expression matrix" />
+         <param type="text" name="norm_counts_slot" value="normcounts" label="Normalised counts slot" help="Slot containing normalised counts in input SCE object" />
+    </inputs> 
+    <outputs>
+        <data name="output_mat_object" format="rdata" />
+        <data name="output_labels" format="txt" />
+    </outputs>
+    <help><![CDATA[
+    @HELP@
+    
+    @VERSION_HISTORY@
+    ]]></help>
+    <expand macro="citations" />
+</tool>