annotate cellpose.xml @ 1:030bfe6065d9 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit f69e2a482937bd7febc0d1bb2b211c4e648ff600
author bgruening
date Sat, 02 Mar 2024 13:35:21 +0000
parents 1e7334a51725
children eda6dfae9617
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
030bfe6065d9 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit f69e2a482937bd7febc0d1bb2b211c4e648ff600
bgruening
parents: 0
diff changeset
1 <tool id="cellpose" name="Run generalist cell and nucleus segmentation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
030bfe6065d9 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit f69e2a482937bd7febc0d1bb2b211c4e648ff600
bgruening
parents: 0
diff changeset
2 <description>with Cellpose</description>
0
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
3 <macros>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
4 <token name="@TOOL_VERSION@">3.0.1</token>
1
030bfe6065d9 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit f69e2a482937bd7febc0d1bb2b211c4e648ff600
bgruening
parents: 0
diff changeset
5 <token name="@VERSION_SUFFIX@">1</token>
0
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
6 <xml name="channel">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
7 <option value="0" selected="true">grayscale/None</option>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
8 <option value="1">red</option>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
9 <option value="2">green</option>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
10 <option value="3">blue</option>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
11 </xml>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
12 </macros>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
13 <requirements>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
14 <container type="docker">biocontainers/cellpose:3.0.1_cv1</container>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
15 </requirements>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
16 <stdio>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
17 <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
18 </stdio>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
19 <version_command>echo "@VERSION@"</version_command>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
20 <command detect_errors="exit_code">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
21 <![CDATA[
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
22 export CELLPOSE_LOCAL_MODELS_PATH='cellpose_models' &&
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
23 mkdir -p segmentation &&
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
24 ln -s '${img_in}' ./image.${img_in.ext} &&
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
25
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
26 python '$__tool_directory__/cp_segmentation.py'
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
27 --inputs '$inputs'
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
28 --img_path ./image.${img_in.ext}
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
29 --img_format '${img_in.ext}'
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
30 --output_dir ./segmentation
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
31 ]]>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
32 </command>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
33 <configfiles>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
34 <inputs name="inputs" />
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
35 </configfiles>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
36 <inputs>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
37 <param name="img_in" type="data" format="ome.tiff,tiff,jpeg,png" label="Choose the image file for segmention (usually after registration)"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
38 <param name="model_type" type="select" label="Choose the pre-trained model type">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
39 <option value="nuclei" selected="true">nuclei</option>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
40 <option value="cyto">cyto</option>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
41 <option value="cyto2">cyto2</option>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
42 <option value="cyto3">cyto3</option>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
43 </param>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
44 <param argument="chan" type="select" label="Select the channel to segment" help="In this case, the default is grayscale">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
45 <expand macro="channel"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
46 </param>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
47 <param argument="chan2" type="select" optional="true" label="Select the channel for nuclei segmatation" help="In this case, the default is None">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
48 <expand macro="channel"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
49 </param>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
50 <param name="chan_first" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Use the reshaped data with channel as the first dimension?"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
51 <param name="show_segmentation" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Whether to show segmentation?"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
52 <param name="use_gpu" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to use GPU?" />
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
53 <section name="options" title="Advanced Options" expanded="False">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
54 <param argument="diameter" type="float" optional="true" label="Cell or nuclei diameter in pixels" help="Leave blank for automated estimation."/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
55 <param name="resample" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Run dynamics on the resampled image?"
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
56 help="Interpolated flows at the true image size. This option will create smoother ROIs when the cells are large but will be slower in case"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
57 <param argument="flow_threshold" type="float" min="0" value="0.4" label="Flow error threshold (all cells with errors below threshold are kept) (not used for 3D)"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
58 <param argument="cellprob_threshold" type="float" value="0.0" label="Cell probability threshold (all pixels with prob above threshold kept for masks)"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
59 <param argument="niter" type="integer" min="0" value="0" label="Number of iterations"
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
60 help="By defalut, sets the number of iterations to be proportional to the ROI diameter. For longer ROIs, more iterations might be needed."/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
61 <param argument="do_3D" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to run 3D segmentation on 4D image input?"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
62 <param argument="tile" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Tiles image for test time augmentation and to ensure GPU memory usage limited (recommended)"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
63 <param argument="rescale" type="float" value="" optional="true" label="If diameter is set to None, and rescale is not None, then rescale is used instead of diameter for resizing image"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
64 <param argument="invert" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to invert image pixel intensity before running network?"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
65 </section>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
66 </inputs>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
67 <outputs>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
68 <data format="tiff" name="cp_mask" from_work_dir="segmentation/cp_masks.tif" label="Cellpose ${model_type} masks on ${on_string}"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
69 <data format="png" name="cp_segm" from_work_dir="segmentation/segm_show.png" label="Segmentation Show on ${on_string}">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
70 <filter>show_segmentation</filter>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
71 </data>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
72 </outputs>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
73 <tests>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
74 <test expect_num_outputs="2">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
75 <param name="img_in" value="img02.png"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
76 <param name="model_type" value="cyto"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
77 <param name="chan" value="2"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
78 <param name="chan2" value="3"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
79 <output name="cp_mask" file="img02_cp_masks_cyto.tif" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
80 <output name="cp_segm" file="img02_cp_segm_cyto.png" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
81 </test>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
82 <test expect_num_outputs="2">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
83 <param name="img_in" value="img02.png"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
84 <param name="model_type" value="cyto2"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
85 <param name="chan" value="2"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
86 <param name="chan2" value="3"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
87 <output name="cp_mask" file="img02_cp_masks_cyto2.tif" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
88 <output name="cp_segm" file="img02_cp_segm_cyto2.png" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
89 </test>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
90 <test expect_num_outputs="2">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
91 <param name="img_in" value="img02.png"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
92 <param name="model_type" value="cyto3"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
93 <param name="chan" value="2"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
94 <param name="chan2" value="3"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
95 <output name="cp_mask" file="img02_cp_masks_cyto3.tif" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
96 <output name="cp_segm" file="img02_cp_segm_cyto3.png" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
97 </test>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
98 <test expect_num_outputs="2">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
99 <param name="img_in" value="img02.png"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
100 <param name="model_type" value="nuclei"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
101 <param name="chan" value="2"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
102 <param name="chan2" value="3"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
103 <output name="cp_mask" file="img02_cp_masks_nuclei.tif" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
104 <output name="cp_segm" file="img02_cp_segm_nuclei.png" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
105 </test>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
106 <test expect_num_outputs="2">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
107 <param name="img_in" value="img02.png"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
108 <param name="model_type" value="cyto"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
109 <param name="chan" value="2"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
110 <param name="chan2" value="1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
111 <output name="cp_mask" file="img02_cp_masks_chan.tif" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
112 <output name="cp_segm" file="img02_cp_segm_chan.png" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
113 </test>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
114 <test expect_num_outputs="2">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
115 <param name="img_in" value="img02.png"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
116 <param name="model_type" value="cyto"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
117 <param name="chan" value="2"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
118 <param name="chan2" value="3"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
119 <param name="diameter" value="50"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
120 <output name="cp_mask" file="img02_cp_masks_diameter.tif" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
121 <output name="cp_segm" file="img02_cp_segm_diameter.png" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
122 </test>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
123 <test expect_num_outputs="2">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
124 <param name="img_in" value="img02.png"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
125 <param name="use_gpu" value="true"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
126 <param name="model_type" value="cyto"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
127 <param name="chan" value="2"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
128 <param name="chan2" value="3"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
129 <output name="cp_mask" file="img02_cp_masks_gpu.tif" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
130 <output name="cp_segm" file="img02_cp_segm_gpu.png" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
131 </test>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
132 <test expect_num_outputs="1">
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
133 <param name="img_in" value="img02.png"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
134 <param name="model_type" value="cyto"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
135 <param name="chan" value="2"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
136 <param name="chan2" value="3"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
137 <param name="show_segmentation" value="false"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
138 <output name="cp_mask" file="img02_cp_masks_cyto.tif" compare="sim_size" delta_frac="0.1"/>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
139 </test>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
140 </tests>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
141 <help>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
142 <![CDATA[
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
143 Cellpose: A generalist algorithm for cell and nucleus segmentation.
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
144 ]]>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
145 </help>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
146 <citations>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
147 <citation type="doi">10.1101/2020.02.02.931238</citation>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
148 </citations>
1e7334a51725 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 06dd9637975e3b9d6d27a3d5a773c85e9a52baf2
bgruening
parents:
diff changeset
149 </tool>