comparison permutate_axis.xml @ 3:ce64e2e4afd2 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/permutate_axis/ commit 4afe0015d92913952714d0695b0fb46ea004171f
author imgteam
date Wed, 17 Dec 2025 15:34:17 +0000
parents 64de33b5137e
children
comparison
equal deleted inserted replaced
2:21168547d572 3:ce64e2e4afd2
1 <tool id="ip_permutate_axis" name="Permutate image" version="0.2"> 1 <tool id="ip_permutate_axis" name="Permutate image axes" version="0.2-2">
2 <description>along an axis</description> 2 <description></description>
3 <edam_operations>
4 <edam_operation>operation_3443</edam_operation>
5 </edam_operations>
6 <xrefs>
7 <xref type="bio.tools">galaxy_image_analysis</xref>
8 </xrefs>
3 <requirements> 9 <requirements>
4 <requirement type="package" version="0.14.2">scikit-image</requirement> 10 <requirement type="package" version="0.14.2">scikit-image</requirement>
5 <requirement type="package" version="1.15.4">numpy</requirement> 11 <requirement type="package" version="1.15.4">numpy</requirement>
6 <requirement type="package" version="0.15.1">tifffile</requirement> 12 <requirement type="package" version="0.15.1">tifffile</requirement>
7 </requirements> 13 </requirements>
8 <command detect_errors="aggressive"> 14 <command detect_errors="aggressive">
9 <![CDATA[ 15 <![CDATA[
10 python '$__tool_directory__/permutate_axis.py' '$input' '$output' $permutate --axis $axis 16 python '$__tool_directory__/permutate_axis.py' '$input' '$output' $permutate --axis $axis
11 ]]> 17 ]]>
12 </command> 18 </command>
13 <inputs> 19 <inputs>
14 <param name="input" type="data" format="tiff" label="Binary Image File"/> 20 <param name="input" type="data" format="tiff" label="Binary Image File"/>
15 <param name="permutate" type="text" value="0,1,2" label="new channel order"> 21 <param name="permutate" type="text" value="0,1,2" label="new channel order">
16 <validator type="regex" message="Input has to be a sequence of axis, separated by commas">([0-4],)+[0-4]</validator> 22 <validator type="regex" message="Input has to be a sequence of axis, separated by commas">([0-4],)+[0-4]</validator>
17 </param> 23 </param>
20 <outputs> 26 <outputs>
21 <data format="tiff" name="output"/> 27 <data format="tiff" name="output"/>
22 </outputs> 28 </outputs>
23 <tests> 29 <tests>
24 <test> 30 <test>
25 <param name="input" value="galaxyIcon_noText.tif"/> 31 <param name="input" value="galaxyIcon_noText.tiff"/>
26 <output name="output" file="res.tif" ftype="tiff" compare="sim_size"/> 32 <output name="output" file="res.tiff" ftype="tiff" compare="sim_size"/>
27 </test> 33 </test>
28 </tests> 34 </tests>
29 <help> 35 <help>
30 **What it does** 36 **What it does**
31 37
32 Permutates the image along a specified axis. 38 Permutates the image along a specified axis.
33 </help> 39 </help>
34 <citations> 40 <citations>
35 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> 41 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
36 </citations> 42 </citations>
37 </tool> 43 </tool>