Mercurial > repos > ebi-gxa > seurat_find_neighbours
comparison seurat_macros.xml @ 0:4fff8ad1c76d 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:07:31 -0500 |
parents | |
children | bba8b14264c2 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4fff8ad1c76d |
---|---|
1 <?xml version="1.0"?> | |
2 <macros> | |
3 <token name="@VERSION@">0.0.6</token> | |
4 <token name="@SEURAT_VERSION@">3.1.1</token> | |
5 <xml name="requirements"> | |
6 <requirements> | |
7 <requirement type="package" version="@VERSION@">seurat-scripts</requirement> | |
8 </requirements> | |
9 </xml> | |
10 <xml name="version"> | |
11 <version_command><![CDATA[ | |
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: ") | |
13 ]]></version_command> | |
14 </xml> | |
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 | |
83 <xml name="genes-use-input"> | |
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)."/> | |
85 </xml> | |
86 <xml name="dims-use-input"> | |
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."/> | |
88 </xml> | |
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 | |
97 <token name="@VERSION_HISTORY@"><![CDATA[ | |
98 **Version history** | |
99 | |
100 3.1.1_0.0.6+galaxy0: Moved to Seurat 3. | |
101 | |
102 Find clusters: removed dims-use, k-param, prune-snn. | |
103 | |
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 | |
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. | |
108 ]]></token> | |
109 | |
110 | |
111 <xml name="citations"> | |
112 <citations> | |
113 <citation type="doi">10.1038/nbt.4096</citation> | |
114 <citation type="bibtex"> | |
115 @misc{r-seurat-scripts.git, | |
116 author = {Jonathan Manning, Pablo Moreno, EBI Gene Expression Team}, | |
117 year = {2018}, | |
118 title = {Seurat-scripts: command line interface for Seurat}, | |
119 publisher = {GitHub}, | |
120 journal = {GitHub repository}, | |
121 url = {https://github.com/ebi-gene-expression-group/r-seurat-scripts.git}, | |
122 } | |
123 </citation> | |
124 </citations> | |
125 </xml> | |
126 </macros> |