Mercurial > repos > bgruening > bioimage_inference
comparison bioimage_inference.xml @ 5:37b9ead209da draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bioimaging commit 399a62ba78a6a3d7885c7df03cc7de37e1a7ec6f
author | bgruening |
---|---|
date | Tue, 15 Apr 2025 15:39:20 +0000 |
parents | 2b61d8fcfa52 |
children |
comparison
equal
deleted
inserted
replaced
4:2b61d8fcfa52 | 5:37b9ead209da |
---|---|
1 <tool id="bioimage_inference" name="Process image using a BioImage.IO model" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> | 1 <tool id="bioimage_inference" name="Process image using a BioImage.IO model" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> |
2 <description>with PyTorch</description> | 2 <description>with PyTorch</description> |
3 <macros> | 3 <macros> |
4 <token name="@TOOL_VERSION@">2.4.1</token> | 4 <token name="@TOOL_VERSION@">2.4.1</token> |
5 <token name="@VERSION_SUFFIX@">2</token> | 5 <token name="@VERSION_SUFFIX@">3</token> |
6 </macros> | 6 </macros> |
7 <creator> | 7 <creator> |
8 <organization name="European Galaxy Team" url="https://galaxyproject.org/eu/" /> | 8 <organization name="European Galaxy Team" url="https://galaxyproject.org/eu/" /> |
9 <person givenName="Anup" familyName="Kumar" email="kumara@informatik.uni-freiburg.de" /> | 9 <person givenName="Anup" familyName="Kumar" email="kumara@informatik.uni-freiburg.de" /> |
10 <person givenName="Beatriz" familyName="Serrano-Solano" email="beatriz.serrano.solano@eurobioimaging.eu" /> | 10 <person givenName="Beatriz" familyName="Serrano-Solano" email="beatriz.serrano.solano@eurobioimaging.eu" /> |
36 <inputs> | 36 <inputs> |
37 <param name="input_imaging_model" type="data" format="zip" label="BioImage.IO model" help="Please upload a BioImage.IO model."/> | 37 <param name="input_imaging_model" type="data" format="zip" label="BioImage.IO model" help="Please upload a BioImage.IO model."/> |
38 <param name="input_image_file" type="data" format="tiff,png" label="Input image" help="Please provide an input image for the analysis."/> | 38 <param name="input_image_file" type="data" format="tiff,png" label="Input image" help="Please provide an input image for the analysis."/> |
39 <param name="input_image_input_size" type="text" optional="false" label="Size of the input image" help="Provide the size of the input image. See the chosen model's RDF file to find the correct input size. For example: for the BioImage.IO model MitochondriaEMSegmentationBoundaryModel, the input size is 256 x 256 x 32 x 1. Enter the size as 256,256,32,1."/> | 39 <param name="input_image_input_size" type="text" optional="false" label="Size of the input image" help="Provide the size of the input image. See the chosen model's RDF file to find the correct input size. For example: for the BioImage.IO model MitochondriaEMSegmentationBoundaryModel, the input size is 256 x 256 x 32 x 1. Enter the size as 256,256,32,1."/> |
40 <param name="input_image_input_axes" type="select" label="Axes of the input image" optional="false" help="Provide the input axes of the input image. See the chosen model's RDF file to find the correct axes. For example: for the BioImage.IO model MitochondriaEMSegmentationBoundaryModel, the input axes is 'bczyx'"> | 40 <param name="input_image_input_axes" type="select" label="Axes of the input image" optional="false" help="Provide the input axes of the input image. See the chosen model's RDF file to find the correct axes. For example: for the BioImage.IO model MitochondriaEMSegmentationBoundaryModel, the input axes is 'bczyx'"> |
41 <option value="bczyx">bczyx</option> | 41 <option value="bcyx">Four axes (e.g., bcyx, byxc)</option> |
42 <option value="bcyx">bcyx</option> | 42 <option value="bczyx">Five axes (e.g., bczyx)</option> |
43 <option value="byxc">byxc</option> | |
44 </param> | 43 </param> |
45 </inputs> | 44 </inputs> |
46 <outputs> | 45 <outputs> |
47 <data format="tiff" name="output_predicted_image" from_work_dir="output_predicted_image.tiff" label="Predicted image"></data> | 46 <data format="tiff" name="output_predicted_image" from_work_dir="output_predicted_image.tiff" label="Predicted image"></data> |
48 <data format="npy" name="output_predicted_image_matrix" from_work_dir="output_predicted_image_matrix.npy" label="Predicted image tensor"></data> | 47 <data format="npy" name="output_predicted_image_matrix" from_work_dir="output_predicted_image_matrix.npy" label="Predicted image tensor"></data> |
51 <test> | 50 <test> |
52 <param name="input_imaging_model" value="input_imaging_model.zip" location="https://zenodo.org/api/records/6647674/files/weights-torchscript.pt/content"/> | 51 <param name="input_imaging_model" value="input_imaging_model.zip" location="https://zenodo.org/api/records/6647674/files/weights-torchscript.pt/content"/> |
53 <param name="input_image_file" value="input_image_file.tif" location="https://zenodo.org/api/records/6647674/files/sample_input_0.tif/content"/> | 52 <param name="input_image_file" value="input_image_file.tif" location="https://zenodo.org/api/records/6647674/files/sample_input_0.tif/content"/> |
54 <param name="input_image_input_size" value="256,256,1,1"/> | 53 <param name="input_image_input_size" value="256,256,1,1"/> |
55 <param name="input_image_input_axes" value="bcyx"/> | 54 <param name="input_image_input_axes" value="bcyx"/> |
56 <output name="output_predicted_image" ftype="tiff"> | 55 <output name="output_predicted_image" ftype="tiff" file="output_nucleisegboundarymodel.tiff" compare="image_diff" /> |
57 <assert_contents> | |
58 <has_size size="524846" delta="110" /> | |
59 </assert_contents> | |
60 </output> | |
61 <output name="output_predicted_image_matrix" ftype="npy"> | 56 <output name="output_predicted_image_matrix" ftype="npy"> |
62 <assert_contents> | 57 <assert_contents> |
63 <has_size size="524416" delta="110" /> | 58 <has_size size="524416" delta="110" /> |
64 </assert_contents> | 59 </assert_contents> |
65 </output> | 60 </output> |
67 <test> | 62 <test> |
68 <param name="input_imaging_model" value="input_imaging_model.zip" location="https://zenodo.org/api/records/6647674/files/weights-torchscript.pt/content"/> | 63 <param name="input_imaging_model" value="input_imaging_model.zip" location="https://zenodo.org/api/records/6647674/files/weights-torchscript.pt/content"/> |
69 <param name="input_image_file" value="input_nucleisegboundarymodel.png"/> | 64 <param name="input_image_file" value="input_nucleisegboundarymodel.png"/> |
70 <param name="input_image_input_size" value="256,256,1,1"/> | 65 <param name="input_image_input_size" value="256,256,1,1"/> |
71 <param name="input_image_input_axes" value="bcyx"/> | 66 <param name="input_image_input_axes" value="bcyx"/> |
72 <output name="output_predicted_image" ftype="tiff"> | 67 <output name="output_predicted_image" ftype="tiff" file="output_nucleisegboundarymodel.tiff" compare="image_diff" /> |
73 <assert_contents> | |
74 <has_size size="524846" delta="110" /> | |
75 </assert_contents> | |
76 </output> | |
77 <output name="output_predicted_image_matrix" ftype="npy"> | 68 <output name="output_predicted_image_matrix" ftype="npy"> |
78 <assert_contents> | 69 <assert_contents> |
79 <has_size size="524416" delta="110" /> | 70 <has_size size="524416" delta="110" /> |
80 </assert_contents> | 71 </assert_contents> |
81 </output> | 72 </output> |