comparison seurat_macros.xml @ 1:c4607a42113e draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
author ebi-gxa
date Mon, 25 Nov 2019 06:08:09 -0500
parents df80f3d2f9d4
children e534a73143b1
comparison
equal deleted inserted replaced
0:df80f3d2f9d4 1:c4607a42113e
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <macros> 2 <macros>
3 3 <token name="@VERSION@">0.0.6</token>
4 <token name="@VERSION@">0.0.5</token> 4 <token name="@SEURAT_VERSION@">3.1.1</token>
5
6 <xml name="requirements"> 5 <xml name="requirements">
7 <requirements> 6 <requirements>
8 <requirement type="package" version="@VERSION@">seurat-scripts</requirement> 7 <requirement type="package" version="@VERSION@">seurat-scripts</requirement>
9 </requirements> 8 </requirements>
10 </xml> 9 </xml>
11
12 <xml name="version"> 10 <xml name="version">
13 <version_command><![CDATA[ 11 <version_command><![CDATA[
14 echo $(R --version | grep version | grep -v GNU)", seurat version" $(R --vanilla --slave -e "library(seurat); cat(sessionInfo()\$otherPkgs\$seurat\$Version)" 2> /dev/null | grep -v -i "WARNING: ") 12 echo $(R --version | grep version | grep -v GNU)", seurat version" $(R --vanilla --slave -e "library(seurat); cat(sessionInfo()\$otherPkgs\$seurat\$Version)" 2> /dev/null | grep -v -i "WARNING: ")
15 ]]></version_command> 13 ]]></version_command>
16 </xml> 14 </xml>
17 15
16 <xml name="input_object_params">
17 <conditional name="input" label="Input format">
18 <param type="select" name="format" label="Choose the format of the input" help="RData, Loom or AnnData">
19 <option value="rds_seurat" selected="true">RDS with a Seurat object</option>
20 <option value="loom">Loom</option>
21 <option value="anndata">AnnData</option>
22 <option value="rds_sce">RDS with a Single Cell Experiment object</option>
23 </param>
24 <when value="anndata">
25 <param type="data" name="anndata_file" label="AnnData file" help="The AnnData format provided by Scanpy" format="h5,h5ad"/>
26 </when>
27 <when value="loom">
28 <param type="data" name="loom_file" label="Loom file" help="Input as Loom v? file" format="h5,h5loom"/>
29 </when>
30 <when value="rds_seurat">
31 <param type="data" name="rds_seurat_file" label="RDS file" help="Input as RDS file with Seurat 3 object" format="rdata"/>
32 </when>
33 <when value="rds_sce">
34 <param type="data" name="rds_sce_file" label="RDS file" help="Input as RDS file with Single Cell Experiment object" format="rdata"/>
35 </when>
36 </conditional>
37 </xml>
38
39 <token name="@INPUT_OBJECT@">
40 #if $input.format == "anndata"
41 --input-object-file '$input.anndata_file' --input-format anndata
42 #else if $input.format == "loom"
43 --input-object-file '$input.loom_file' --input-format loom
44 #else if $input.format == "rds_seurat"
45 --input-object-file '$input.rds_seurat_file' --input-format seurat
46 #else if $input.format == "rds_sce"
47 --input-object-file '$input.rds_sce_file' --input-format singlecellexperiment
48 #end if
49 </token>
50
51 <xml name="output_object_params">
52 <param type="select" name="format" label="Choose the format of the output" help="Seurat, Single Cell Experiment or Loom">
53 <option value="rds_seurat" selected="true">RDS with a Seurat object</option>
54 <option value="loom">Loom</option>
55 <option value="rds_sce">RDS with a Single Cell Experiment object</option>
56 </param>
57 </xml>
58
59 <xml name="output_files">
60 <data name="loom_file" from_work_dir="seurat_obj.loom" format="h5" label="${tool.name} on ${on_string}: Seurat Loom">
61 <filter>format == 'loom'</filter>
62 </data>
63 <data name="rds_seurat_file" format="rdata" label="${tool.name} on ${on_string}: Seurat RDS">
64 <filter>format == 'rds_seurat'</filter>
65 </data>
66 <data name="rds_sce_file" format="rdata" label="${tool.name} on ${on_string}: Seurat Single Cell Experiment RDS">
67 <filter>format == 'rds_sce'</filter>
68 </data>
69 </xml>
70
71 <token name="@OUTPUT_OBJECT@">
72 #if $format == "anndata"
73 --output-object-file '$anndata_file' --output-format anndata
74 #else if $format == "loom"
75 --output-object-file seurat_obj.loom --output-format loom
76 #else if $format == "rds_seurat"
77 --output-object-file '$rds_seurat_file' --output-format seurat
78 #else if $format == "rds_sce"
79 --output-object-file '$rds_sce_file' --output-format singlecellexperiment
80 #end if
81 </token>
82
18 <xml name="genes-use-input"> 83 <xml name="genes-use-input">
19 <param name="genes_use" argument="--genes-use" optional="true" type="data" format="tsv, txt" label="Genes to use" help="A file with gene names to use in construction of SNN graph if building directly based on expression data rather than a dimensionally reduced representation (i.e. PCs)."/> 84 <param name="genes_use" argument="--genes-use" optional="true" type="data" format="tsv,txt,tabular" label="Genes to use" help="A file with gene names to use in construction of SNN graph if building directly based on expression data rather than a dimensionally reduced representation (i.e. PCs)."/>
20 </xml> 85 </xml>
21 <xml name="dims-use-input"> 86 <xml name="dims-use-input">
22 <param name="dims_use" argument="--dims-use" min="1" optional="true" type="integer" label="PCA Dimensions to use" help="Number of PCs (dimensions) to use in construction of the SNN graph."/> 87 <param name="dims_use" argument="--dims-use" min="1" optional="true" type="integer" label="PCA Dimensions to use" help="Number of PCs (dimensions) to use in construction of the SNN graph."/>
23 </xml> 88 </xml>
24 89
90 <token name="@SEURAT_INTRO@"><![CDATA[
91 Seurat_ is a toolkit for quality control, analysis, and exploration of single cell RNA sequencing data.
92 It is developed and maintained by the `Satija Lab`_ at NYGC. Seurat aims to enable users to identify and
93 interpret sources of heterogeneity from single cell transcriptomic measurements, and to integrate diverse
94 types of single cell data.
95 ]]></token>
96
25 <token name="@VERSION_HISTORY@"><![CDATA[ 97 <token name="@VERSION_HISTORY@"><![CDATA[
26 **Version history** 98 **Version history**
27 99
28 0.0.1: Initial contribution. Maria Doyle, https://github.com/mblue9. 100 3.1.1_0.0.6+galaxy0: Moved to Seurat 3.
101
102 Find clusters: removed dims-use, k-param, prune-snn.
29 103
30 2.3.1+galaxy0: Improved documentation and further exposition of all script's options. Pablo Moreno, Jonathan Manning and Ni Huang, Expression Atlas team https://www.ebi.ac.uk/gxa/home at 104 2.3.1+galaxy0: Improved documentation and further exposition of all script's options. Pablo Moreno, Jonathan Manning and Ni Huang, Expression Atlas team https://www.ebi.ac.uk/gxa/home at
31 EMBL-EBI https://www.ebi.ac.uk/. Parts obtained from wrappers from Christophe Antoniewski(https://github.com/drosofff) and Lea Bellenger(https://github.com/bellenger-l). 105 EMBL-EBI https://www.ebi.ac.uk/. Parts obtained from wrappers from Christophe Antoniewski(https://github.com/drosofff) and Lea Bellenger(https://github.com/bellenger-l).
106
107 0.0.1: Initial contribution. Maria Doyle, https://github.com/mblue9.
32 ]]></token> 108 ]]></token>
33 109
34 110
35 <xml name="citations"> 111 <xml name="citations">
36 <citations> 112 <citations>