diff gate_finder.xml @ 0:6df8d6e42152 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:22:53 +0000
parents
children 8097f9124f87
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gate_finder.xml	Thu Sep 08 17:22:53 2022 +0000
@@ -0,0 +1,63 @@
+<tool id="gate_finder" name="Gate Finder" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
+    <description>displays a series of gating outcomes using Vitessce</description>
+    <macros>
+        <import>main_macros.xml</import>
+    </macros>
+    <expand macro="vitessce_requirements"/>
+    <expand macro="macro_stdio" />
+    <version_command>echo "@VERSION@"</version_command>
+    <expand macro="vitessce_cmd" tool_id="gate_finder" />
+    <configfiles>
+        <inputs name="inputs" />
+    </configfiles>
+    <inputs>
+        <param name="image" type="data" format="ome.tiff" label="Select the image (OME-TIFF)" />
+        <param name="masks" type="data" format="tiff,ome.tiff" optional="true" label="Select masks for the OME Tiff image (Optional)" />
+        <section name="do_phenotyping" title=" ">
+            <param name="phenotyping_choice" type="hidden" value="true"/>
+        </section>
+        <param name="phenotyping_choice" type="hidden" value="yes" />
+        <param name="anndata" type="data" format="h5ad" label="Select the anndata containing marker intensities" />
+        <param name="marker" type="text" value=""  label="Marker for which gate is to be defined" help="E.g.: CD45." />
+        <param name="from_gate" type="integer" value="6" label="Start value gate of interest" help="Integer. Optional" />
+        <param name="to_gate" type="integer" value="8" label="End value of the gate of interest." help="Integer. Optional" />
+        <param name="increment" type="float" value="0.1" label="Increments between the start and end values" help="Float." />
+        <param name="x_coordinate" type="text" value="X_centroid" optional="true" label="X axis coordinate column name in AnnData object" />
+        <param name="y_coordinate" type="text" value="Y_centroid" optional="true" label="X axis coordinate column name in AnnData object" />
+    </inputs>
+    <outputs>
+        <data format="html" name="output" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="image" value="cropped_reactive_core.ome.tiff" ftype="ome.tiff" />
+            <param name="anndata" value="cropped_tutorial_data_pheno.h5ad" ftype="h5ad" />
+            <param name="marker" value="CD45" />
+            <param name="from_gate" value="5" />
+            <param name="to_gate" value="9" />
+            <param name="increment" value="0.5" />
+            <output name="output" file="tutorial_vitessce.html" compare="sim_size" delta="20" />
+        </test>
+    </tests>
+    <help>
+        <![CDATA[
+**What it does**
+This tool, built on top of vitessce visualization components, mimics the find_gate function from scimap (https://scimap.xyz/) to do manual gating for single cell quantification data.
+
+**Input**
+
+OME-TIFF image.
+Segmentation masks (optional).
+AnnData with marker intensities.
+
+**Output**
+
+An HTML file with Vitessce component. 
+
+
+        ]]>
+    </help>
+    <citations>
+        <citation type="doi">10.31219/osf.io/y8thv</citation>
+    </citations>
+</tool>