comparison repeat_channels.xml @ 0:7cdb50fee601 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/repeat_channels/ commit 60cf803236ef94f414056823688e6fd008b7a1b6
author imgteam
date Thu, 25 Apr 2024 10:57:53 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7cdb50fee601
1 <tool id="repeat_channels" name="Convert single-channel to multi-channel image" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
2 <description>with NumPy</description>
3 <macros>
4 <import>creators.xml</import>
5 <import>tests.xml</import>
6 <token name="@TOOL_VERSION@">1.26.4</token>
7 <token name="@VERSION_SUFFIX@">0</token>
8 </macros>
9 <creator>
10 <expand macro="creators/bmcv"/>
11 </creator>
12 <edam_operations>
13 <edam_operation>operation_3443</edam_operation>
14 </edam_operations>
15 <xrefs>
16 <xref type="bio.tools">galaxy_image_analysis</xref>
17 </xrefs>
18 <requirements>
19 <requirement type="package" version="1.26.4">numpy</requirement>
20 <requirement type="package" version="0.18.1">scikit-image</requirement>
21 <requirement type="package" version="0.1">giatools</requirement>
22 </requirements>
23 <command><![CDATA[
24
25 ## Inputs
26
27 python '$__tool_directory__/repeat_channels.py'
28 '$input'
29 '$count'
30
31 ## Outputs
32
33 ./output.tif
34
35 ]]>
36 </command>
37 <inputs>
38 <param name="input" type="data" format="tiff,png" label="Input image (single-channel)" />
39 <param name="count" type="integer" value="3" min="1" label="Number of channels" />
40 </inputs>
41 <outputs>
42 <data format="tiff" name="output" from_work_dir="output.tif" />
43 </outputs>
44 <tests>
45 <test>
46 <param name="input" value="input1.tif" />
47 <param name="count" value="3" />
48 <expand macro="tests/intensity_image_diff" name="output" value="input1_c3.tif" ftype="tiff" />
49 </test>
50 </tests>
51 <help>
52
53 **Convert single-channel to multi-channel image.**
54
55 This tools converts a single-channel image to a multi-channel image by repeating the channel multiple times.
56
57 </help>
58 <citations>
59 <citation type="doi">10.1038/s41586-020-2649-2</citation>
60 </citations>
61 </tool>