changeset 3:fb1d0536bd11 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit e1ed5cbba4d1c042b91cefec41f98e7c736dfbe2"
author ebi-gxa
date Mon, 29 Jun 2020 17:02:26 +0000
parents 8a048f35eaee
children 3fe8973bc205
files dropletutils-read-10x.xml
diffstat 1 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dropletutils-read-10x.xml	Thu Apr 16 08:50:57 2020 +0000
+++ b/dropletutils-read-10x.xml	Mon Jun 29 17:02:26 2020 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<tool id="dropletutils_read_10x" name="DropletUtils Read10x" version="@TOOL_VERSION@+galaxy0">
+<tool id="dropletutils_read_10x" name="DropletUtils Read10x" version="@TOOL_VERSION@+galaxy1">
   <description>into SingleCellExperiment object</description>
   <macros>
     <import>dropletutils_macros.xml</import>
@@ -13,12 +13,26 @@
     -s .
     -c TRUE
     -o '${output_rds}'
+
+#if $add_metadata_file 
+--metadata-files "${metadata_files}" 
+--cell-id-column "${cell_id_column}" 
+#end if
+
+
 ]]></command>
 
   <inputs>
     <param name="matrix" type="data" format="txt" label="Expression matrix in sparse matrix format (.mtx)"/>
     <param name="genes" type="data" format="tsv,tabular" label="Gene table"/>
     <param name="barcodes" type="data" format="tsv,tabular" label="Barcode/cell table"/>
+    <conditional name="add_metadata">
+        <param name="add_metadata_file" type="boolean" checked="false" label="Should metadata file be added?" />
+        <when value="true" >
+          <param name="metadata_files" type="data" label="Metadata file" help="Provide metadata file e.g. containing cell types"/>
+          <param name="cell_id_column" type="text" label="Cell ID column" help="Cell ID column. Values must match those provided in the expression matrix." />
+        </when>
+      </conditional>
   </inputs>
 
   <outputs>