annotate detection_viz.xml @ 4:99433164b593 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
author imgteam
date Mon, 13 Nov 2023 22:11:04 +0000
parents f46f64f9590d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
1 <tool id="ip_detection_viz" name="Visualize detections" version="0.3-2">
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
2 <description></description>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
3 <edam_operations>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
4 <edam_operation>operation_3443</edam_operation>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
5 </edam_operations>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
6 <xrefs>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
7 <xref type="bio.tools">galaxy_image_analysis</xref>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
8 </xrefs>
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
9 <requirements>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
10 <requirement type="package" version="0.14.2">scikit-image</requirement>
1
ec1ca4d62192 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit b2acc1845a25828181597fe5b6982fe116a7796d
imgteam
parents: 0
diff changeset
11 <requirement type="package" version="3.0.2">matplotlib</requirement>
ec1ca4d62192 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit b2acc1845a25828181597fe5b6982fe116a7796d
imgteam
parents: 0
diff changeset
12 <requirement type="package" version="0.15.1">tifffile</requirement>
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
13 </requirements>
1
ec1ca4d62192 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit b2acc1845a25828181597fe5b6982fe116a7796d
imgteam
parents: 0
diff changeset
14 <command detect_errors="aggressive">
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
15 <![CDATA[
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
16 python '$__tool_directory__/detection_viz.py' '$input' '$output'
2
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
17 --stroke_size $thickness --circle_radius $circle_radius
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
18 #if $tp_option['display'] == 'true'
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
19 --tp '$tp'
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
20 #end if
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
21 #if $fn_option['display'] == 'true'
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
22 --fn '$fn'
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
23 #end if
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
24 #if $fp_option['display'] == 'true'
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
25 --fp '$fp'
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
26 #end if
1
ec1ca4d62192 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit b2acc1845a25828181597fe5b6982fe116a7796d
imgteam
parents: 0
diff changeset
27 ]]>
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
28 </command>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
29 <inputs>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
30 <param name="input" type="data" format="tiff,png,jpg,bmp" label="Binary Image File"/>
2
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
31 <conditional name="tp_option">
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
32 <param label="Display true positives" name="display" type="select">
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
33 <option selected="True" value="false">No</option>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
34 <option value="true">Yes</option>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
35 </param>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
36 <when value="false"></when>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
37 <when value="true">
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
38 <param name="tp" type="data" format="tabular" label="True positives file" />
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
39 </when>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
40 </conditional>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
41 <conditional name="fn_option">
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
42 <param label="Display false negatives" name="display" type="select">
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
43 <option selected="True" value="false">No</option>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
44 <option value="true">Yes</option>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
45 </param>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
46 <when value="false"></when>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
47 <when value="true">
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
48 <param name="fn" type="data" format="tabular" label="False negatives file" />
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
49 </when>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
50 </conditional>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
51 <conditional name="fp_option">
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
52 <param label="Display false positives" name="display" type="select">
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
53 <option selected="True" value="false">No</option>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
54 <option value="true">Yes</option>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
55 </param>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
56 <when value="false"></when>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
57 <when value="true">
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
58 <param name="fp" type="data" format="tabular" label="False positives file" />
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
59 </when>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
60 </conditional>
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
61 <param name="thickness" type="float" value="3.0" label="Stroke thickness"/>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
62 <param name="circle_radius" type="float" value="50.0" label="Circle radius"/>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
63 </inputs>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
64 <outputs>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
65 <data format="png" name="output"/>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
66 </outputs>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
67 <tests>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
68 <test>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
69 <param name="input" value="sample.png"/>
4
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
70 <conditional name="tp_option">
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
71 <param name="display" value="false"/>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
72 </conditional>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
73 <conditional name="fn_option">
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
74 <param name="display" value="false"/>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
75 </conditional>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
76 <conditional name="fp_option">
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
77 <param name="display" value="false"/>
99433164b593 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/detection_viz/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 2
diff changeset
78 </conditional>
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
79 <output name="output" value="out.png" ftype="png"/>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
80 </test>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
81 </tests>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
82 <help>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
83 **What it does**
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
84
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
85 Draws circles of different colors around detected true positives, false negatives and false positives.
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
86 </help>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
87 <citations>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
88 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
89 </citations>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
90 </tool>