annotate split_labelmap.xml @ 3:0e7be7c35f15 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
author imgteam
date Wed, 24 Apr 2024 08:13:26 +0000
parents 7a2e2e3cf836
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
0e7be7c35f15 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents: 2
diff changeset
1 <tool id="ip_split_labelmap" name="Split label map using morphological operators" version="0.2-3" profile="20.05">
0
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
2 <description></description>
2
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
3 <macros>
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
4 <import>creators.xml</import>
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
5 <import>tests.xml</import>
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
6 </macros>
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
7 <creator>
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
8 <expand macro="creators/bmcv"/>
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
9 </creator>
1
9db1c22dbe17 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 0
diff changeset
10 <edam_operations>
9db1c22dbe17 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 0
diff changeset
11 <edam_operation>operation_3443</edam_operation>
9db1c22dbe17 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 0
diff changeset
12 </edam_operations>
9db1c22dbe17 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 0
diff changeset
13 <xrefs>
9db1c22dbe17 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 0
diff changeset
14 <xref type="bio.tools">galaxy_image_analysis</xref>
9db1c22dbe17 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 0
diff changeset
15 </xrefs>
9db1c22dbe17 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 0
diff changeset
16 <requirements>
3
0e7be7c35f15 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents: 2
diff changeset
17 <requirement type="package" version="0.18.1">scikit-image</requirement>
0e7be7c35f15 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents: 2
diff changeset
18 <requirement type="package" version="1.23.3">numpy</requirement>
0e7be7c35f15 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents: 2
diff changeset
19 <requirement type="package" version="2020.10.1">tifffile</requirement>
0e7be7c35f15 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents: 2
diff changeset
20 <requirement type="package" version="0.1">giatools</requirement>
0
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
21 </requirements>
1
9db1c22dbe17 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 0
diff changeset
22 <command detect_errors="aggressive">
0
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
23 <![CDATA[
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
24 python '$__tool_directory__/split_labelmap.py' '$input' '$output'
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
25 ]]>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
26 </command>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
27 <inputs>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
28 <param name="input" type="data" format="tiff,png,jpg,bmp" label="Image containing labels"/>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
29 </inputs>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
30 <outputs>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
31 <data name="output" format="tiff"/>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
32 </outputs>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
33 <tests>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
34 <test>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
35 <param name="input" value="sample_seg.tif"/>
2
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
36 <expand macro="tests/label_image_diff" name="output" value="out.tif" ftype="tiff"/>
0
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
37 </test>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
38 </tests>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
39 <help>
2
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
40
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
41 **Splits label map using morphological operators.**
0
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
42
2
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
43 Takes a labeled image and outputs a similar file where the labeled parts
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
44 of the image that touch (or overlap) are separated by at least 1 pixel (at most 2 pixels).
7a2e2e3cf836 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_labelmaps/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 1
diff changeset
45
0
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
46 </help>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
47 <citations>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
48 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
49 </citations>
597b7ef44b05 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/split_labelmaps/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
50 </tool>