Mercurial > repos > bgruening > cellpose
annotate cellpose.xml @ 3:c793edde4284 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
| author | bgruening |
|---|---|
| date | Fri, 12 Dec 2025 12:36:21 +0000 |
| parents | e5370bb71633 |
| children |
| rev | line source |
|---|---|
|
1
1857781df226
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 81c6be8cc2502367ae52bf093b838e9764b22c00
bgruening
parents:
0
diff
changeset
|
1 <tool id="cellpose" name="Run generalist cell and nucleus segmentation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.02"> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
2 <description>with Cellpose 3</description> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
3 <macros> |
|
1
1857781df226
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 81c6be8cc2502367ae52bf093b838e9764b22c00
bgruening
parents:
0
diff
changeset
|
4 <token name="@TOOL_VERSION@">3.1.0</token> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">2</token> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
6 </macros> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
7 <requirements> |
|
1
1857781df226
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 81c6be8cc2502367ae52bf093b838e9764b22c00
bgruening
parents:
0
diff
changeset
|
8 <container type="docker">quay.io/biocontainers/cellpose:@TOOL_VERSION@</container> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
9 </requirements> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
10 <stdio> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
11 <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
12 </stdio> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
13 <version_command>echo "@VERSION@"</version_command> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
14 <command detect_errors="exit_code"> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
15 <![CDATA[ |
|
2
e5370bb71633
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 5846f23282167df28e6cc00e1bda31523b66b5b4
bgruening
parents:
1
diff
changeset
|
16 export MKL_NUM_THREADS=1 && |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
17 export CELLPOSE_LOCAL_MODELS_PATH='cellpose_models' && |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
18 mkdir -p segmentation && |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
19 ln -s '${img_in}' ./image.${img_in.ext} && |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
20 |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
21 python '$__tool_directory__/cp_segmentation.py' |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
22 --inputs '$inputs' |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
23 --img_path ./image.${img_in.ext} |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
24 --output_dir ./segmentation |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
25 ]]> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
26 </command> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
27 <configfiles> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
28 <inputs name="inputs" /> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
29 </configfiles> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
30 <inputs> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
31 <param name="img_in" type="data" format="ome.tiff,tiff,jpg,png" label="Choose the image file for segmentation (usually after registration)"> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
32 <validator type="dataset_metadata_in_range" metadata_name="channels" min="0" max="1" message="Input image is not single channel."/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
33 <validator type="dataset_metadata_in_range" metadata_name="frames" min="0" max="1" message="Input image is a multi-frame image sequence, must be a single-frame image."/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
34 </param> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
35 <param name="model_type" type="select" label="Choose the pre-trained model type"> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
36 <option value="nuclei" selected="true">nuclei</option> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
37 <option value="cyto">cyto</option> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
38 <option value="cyto2">cyto2</option> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
39 <option value="cyto3">cyto3</option> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
40 </param> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
41 <param name="show_segmentation" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Whether to show segmentation?"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
42 <param name="use_gpu" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to use GPU?" /> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
43 <section name="options" title="Advanced Options" expanded="False"> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
44 <param argument="diameter" type="float" optional="true" label="Cell or nuclei diameter in pixels" help="Leave blank for automated estimation."/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
45 <param name="resample" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Run dynamics on the resampled image?" |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
46 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"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
47 <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)"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
48 <param argument="cellprob_threshold" type="float" value="0.0" label="Cell probability threshold (all pixels with prob above threshold kept for masks)"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
49 <param argument="niter" type="integer" min="0" value="0" label="Number of iterations" |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
50 help="By defalut, sets the number of iterations to be proportional to the ROI diameter. For longer ROIs, more iterations might be needed."/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
51 <param argument="do_3D" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to run 3D segmentation on 4D image input?"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
52 <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"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
53 <param argument="invert" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to invert image pixel intensity before running network?"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
54 </section> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
55 </inputs> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
56 <outputs> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
57 <data format="tiff" name="cp_mask" from_work_dir="segmentation/cp_masks.tif" label="Cellpose ${model_type} masks on ${on_string}"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
58 <data format="png" name="cp_segm" from_work_dir="segmentation/segm_show.png" label="Segmentation Show on ${on_string}"> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
59 <filter>show_segmentation</filter> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
60 </data> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
61 </outputs> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
62 <tests> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
63 <test expect_num_outputs="2"> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
64 <param name="img_in" value="img01_XY_cyto.png"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
65 <param name="model_type" value="cyto"/> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
66 <output name="cp_mask" file="img01_XY_cyto_masks.tiff" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
67 <output name="cp_segm" file="img01_XY_cyto_segm.png" compare="image_diff"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
68 </test> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
69 <test expect_num_outputs="2"> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
70 <param name="img_in" value="img01_XY_cyto.png"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
71 <param name="model_type" value="cyto2"/> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
72 <output name="cp_mask" file="img01_XY_cyto2_masks.tiff" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
73 <output name="cp_segm" file="img01_XY_cyto2_segm.png" compare="image_diff"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
74 </test> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
75 <test expect_num_outputs="2"> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
76 <param name="img_in" value="img01_XY_cyto.png"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
77 <param name="model_type" value="cyto3"/> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
78 <output name="cp_mask" file="img01_XY_cyto3_masks.tiff" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
79 <output name="cp_segm" file="img01_XY_cyto3_segm.png" compare="image_diff"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
80 </test> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
81 <test expect_num_outputs="2"> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
82 <param name="img_in" value="img02_XY_nuclei.png"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
83 <param name="model_type" value="nuclei"/> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
84 <output name="cp_mask" file="img02_XY_nuclei_masks.tiff" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
85 <output name="cp_segm" file="img02_XY_nuclei_segm.png" compare="image_diff"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
86 </test> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
87 <test expect_num_outputs="2"> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
88 <param name="img_in" value="img01_XY_cyto.png"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
89 <param name="model_type" value="cyto"/> |
|
2
e5370bb71633
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 5846f23282167df28e6cc00e1bda31523b66b5b4
bgruening
parents:
1
diff
changeset
|
90 <section name="options"> |
|
e5370bb71633
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 5846f23282167df28e6cc00e1bda31523b66b5b4
bgruening
parents:
1
diff
changeset
|
91 <param name="diameter" value="50"/> |
|
e5370bb71633
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 5846f23282167df28e6cc00e1bda31523b66b5b4
bgruening
parents:
1
diff
changeset
|
92 </section> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
93 <output name="cp_mask" file="img01_XY_cyto_dia_masks.tiff" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
94 <output name="cp_segm" file="img01_XY_cyto_dia_segm.png" compare="image_diff"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
95 </test> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
96 <test expect_num_outputs="2"> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
97 <param name="img_in" value="img01_XY_cyto.png"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
98 <param name="use_gpu" value="true"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
99 <param name="model_type" value="cyto"/> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
100 <output name="cp_mask" file="img01_XY_cyto_gpu_masks.tiff" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
101 <output name="cp_segm" file="img01_XY_cyto_gpu_segm.png" compare="image_diff"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
102 </test> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
103 <test expect_num_outputs="1"> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
104 <param name="img_in" value="img01_XY_cyto.png"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
105 <param name="model_type" value="cyto"/> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
106 <param name="show_segmentation" value="false"/> |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
107 <output name="cp_mask" file="img01_XY_cyto_masks.tiff" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
108 </test> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
109 <test expect_num_outputs="2"> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
110 <param name="img_in" value="img03_CXY_nuclei.tiff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
111 <param name="model_type" value="nuclei"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
112 <output name="cp_mask" file="img03_CXY_nuclei_masks.tiff" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
113 <output name="cp_segm" file="img03_CXY_nuclei_segm.png" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
114 </test> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
115 <test expect_num_outputs="2"> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
116 <param name="img_in" value="img04_XYC_nuclei.tiff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
117 <param name="model_type" value="nuclei"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
118 <output name="cp_mask" file="img04_XYC_nuclei_masks.tiff" compare="image_diff"/> |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
119 <output name="cp_segm" file="img04_XYC_nuclei_segm.png" compare="image_diff"/> |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
120 </test> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
121 </tests> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
122 <help> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
123 <![CDATA[ |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
124 Cellpose: A generalist algorithm for cell and nucleus segmentation. |
|
3
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
125 **Important:** |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
126 Only singlechannel 2-D images are supported. If a channel axis is present, it must be a singleton axis (axis of length 1) and it must be either the first or the last axis within the axes layout (e.g., YX, YXC, or CYX). Other layouts are not accepted (e.g. CYXZ, XYCZ). |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
127 In case of multichannel images, it is necessary to priorly extract the channel for segmentation using the `Split image along axes`_ tool. |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
128 |
|
c793edde4284
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 3f2ba60f101c923896ca95ed62981fcbb0a5ced3
bgruening
parents:
2
diff
changeset
|
129 .. _Split image along axes: ?tool_id=toolshed.g2.bx.psu.edu%2Frepos%2Fimgteam%2Fsplit_image%2Fip_split_image |
|
0
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
130 ]]> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
131 </help> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
132 <citations> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
133 <citation type="doi">10.1101/2020.02.02.931238</citation> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
134 </citations> |
|
4ddb0af5a806
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit e80ca9b0e2e6f7ae94371170d0a672f46f2d9c3c
bgruening
parents:
diff
changeset
|
135 </tool> |
