Mercurial > repos > goeckslab > vitessce_spatial
comparison vitessce_spatial.xml @ 0:9f60ef2d586e draft
planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/vitessce commit 9b2dc921e692af8045773013d9f87d4d790e2ea1
author | goeckslab |
---|---|
date | Thu, 08 Sep 2022 17:23:33 +0000 |
parents | |
children | 4bf852448b5d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9f60ef2d586e |
---|---|
1 <tool id="vitessce_spatial" name="Vitessce Visualization" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
2 <description>integrative visualization of multi-modal, spatial single-cell data</description> | |
3 | |
4 <macros> | |
5 <import>main_macros.xml</import> | |
6 </macros> | |
7 | |
8 <expand macro="vitessce_requirements"/> | |
9 <expand macro="macro_stdio" /> | |
10 <version_command> "@VERSION@"</version_command> | |
11 <expand macro="vitessce_cmd" /> | |
12 | |
13 <configfiles> | |
14 <inputs name="inputs" /> | |
15 </configfiles> | |
16 | |
17 <inputs> | |
18 <param name="image" type="data" format="ome.tiff" label="Select the OME Tiff image" /> | |
19 <param name="masks" type="data" format="tiff,ome.tiff" optional="true" label="Select masks for the OME Tiff image (Optional)" /> | |
20 <conditional name="do_phenotyping"> | |
21 <param name="phenotyping_choice" type="boolean" checked="true" label="Whether to do phenotyping"> | |
22 </param> | |
23 <when value="true"> | |
24 <param name="anndata" type="data" format="h5ad" label="Select the anndata contaning phenotyping info" /> | |
25 <conditional name="scatterplot_embeddings"> | |
26 <param name="embedding" type="select" label="Select an embedding algorithm for scatterplot"> | |
27 <option value="umap" selected="true">UMAP</option> | |
28 <option value="tsne">tSNE</option> | |
29 <option value="pca">PCA</option> | |
30 </param> | |
31 <when value="umap"> | |
32 <section name="options" title="Advance Options for neighbor search"> | |
33 <param argument="n_neighbors" type="integer" value="30" label="The size of local neighborhood used for manifold approximation" /> | |
34 <param argument="n_pcs" type="integer" value="10" label="Number of PCs" /> | |
35 <param argument="knn" type="boolean" checked="true" label="Whether to use knn graph" help="If false, use a Gaussian Kernel to assign low weights to neighbors more distant than the n_neighbors nearest neighbor." /> | |
36 <param argument="random_state" type="integer" value="0" optional="true" label="Randomness seed" /> | |
37 </section> | |
38 </when> | |
39 <when value="tsne"> | |
40 <section name="options" title="Advance Options for computing tSNE"> | |
41 <param argument="n_pcs" type="integer" value="10" label="Number of PCs" /> | |
42 <param argument="learning_rate" type="float" value="1000" label="Learning rate" help="Should be 100-1000." /> | |
43 <param argument="random_state" type="integer" value="0" optional="true" label="Randomness seed" /> | |
44 </section> | |
45 </when> | |
46 <when value="pca"> | |
47 <section name="options" title="Advance Options for computing PCA"> | |
48 <param argument="n_comps" type="integer" value="" optional="true" label="Number of principal components to compute" help="Defaults to 50, or 1 - minimum dimension size of selected representation." /> | |
49 <param argument="zero_center" type="boolean" checked="true" label="Whether to compute standard PCA from covariance matrix" help="If False, omit zero-centering variables (uses TruncatedSVD)" /> | |
50 <param argument="svd_solver" type="select" label="Select the SVD solver"> | |
51 <option value="arpack" selected="true">arpack</option> | |
52 <option value="randomized">randomized</option> | |
53 <option value="auto">auto</option> | |
54 <option value="lobpcg">lobpcg</option> | |
55 </param> | |
56 <param argument="random_state" type="integer" value="0" optional="true" label="Randomness seed" /> | |
57 </section> | |
58 </when> | |
59 </conditional> | |
60 <conditional name="phenotype_factory"> | |
61 <param name="phenotype_mode" type="select" label="Input phenotyping keys"> | |
62 <option value="choices" selected="true">Multiple choices</option> | |
63 <option value="type_in">Type in</option> | |
64 </param> | |
65 <when value="choices"> | |
66 <param name="phenotypes" type="select" multiple="true" display="checkboxes" label="Select the key(s)" > | |
67 <option value="phenotype" selected="true">'phenotype' (via scimap phenotyping)</option> | |
68 <option value="kmeans">'kmeans' (via clustering)</option> | |
69 <option value="leiden">'leiden' (via clustering)</option> | |
70 <option value="phenograph">'phenograph' (via clustering)</option> | |
71 <option value="parc">'parc' (via clustering)</option> | |
72 </param> | |
73 </when> | |
74 <when value="type_in"> | |
75 <param name="phenotypes" type="text" value="" label="Type in the keys storing phenotypes" help="Comma delimited for multiple keys."/> | |
76 </when> | |
77 </conditional> | |
78 </when> | |
79 <when value="false"> | |
80 </when> | |
81 </conditional> | |
82 </inputs> | |
83 <outputs> | |
84 <data format="html" name="output" /> | |
85 </outputs> | |
86 <tests> | |
87 <test> | |
88 <param name="image" value="cropped_reactive_core.ome.tiff" ftype="ome.tiff" /> | |
89 <conditional name="do_phenotyping"> | |
90 <param name="phenotyping_choice" value="yes" /> | |
91 <param name="anndata" value="cropped_tutorial_data_pheno.h5ad" ftype="h5ad" /> | |
92 <conditional name="phenotype_factory"> | |
93 <param name="phenotype_mode" value="type_in" /> | |
94 <param name="phenotypes" value="leiden" /> | |
95 </conditional> | |
96 </conditional> | |
97 <output name="output" file="tutorial_vitessce.html" compare="sim_size" delta="20" /> | |
98 </test> | |
99 <test> | |
100 <param name="image" value="cropped_reactive_core.ome.tiff" ftype="ome.tiff" /> | |
101 <conditional name="do_phenotyping"> | |
102 <param name="phenotyping_choice" value="yes" /> | |
103 <param name="anndata" value="cropped_tutorial_data_pheno.h5ad" ftype="h5ad" /> | |
104 <conditional name="scatterplot_embeddings"> | |
105 <param name="embedding" value="pca" /> | |
106 </conditional> | |
107 <conditional name="phenotype_factory"> | |
108 <param name="phenotype_mode" value="type_in" /> | |
109 <param name="phenotypes" value="leiden" /> | |
110 </conditional> | |
111 </conditional> | |
112 <output name="output" file="tutorial_vitessce.html" compare="sim_size" delta="20" /> | |
113 </test> | |
114 <test> | |
115 <param name="image" value="cropped_reactive_core.ome.tiff" ftype="ome.tiff" /> | |
116 <conditional name="do_phenotyping"> | |
117 <param name="phenotyping_choice" value="no" /> | |
118 </conditional> | |
119 <output name="output" file="tutorial_vitessce.html" compare="sim_size" delta="20" /> | |
120 </test> | |
121 </tests> | |
122 <help> | |
123 <![CDATA[ | |
124 **What it does** | |
125 This tools provides web-based, interactive and scalable visualizations of single cell data. | |
126 | |
127 **Input** | |
128 | |
129 OME-TIFF image. | |
130 Segmentation masks (optional). | |
131 AnnData with marker intensities. | |
132 | |
133 **Output** | |
134 | |
135 An HTML file with Vitessce component. | |
136 | |
137 ]]> | |
138 </help> | |
139 <citations> | |
140 <citation type="doi">10.31219/osf.io/y8thv</citation> | |
141 </citations> | |
142 </tool> |