annotate detection_viz.xml @ 2:f46f64f9590d draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
author imgteam
date Mon, 22 Jul 2019 11:22:03 -0400
parents ec1ca4d62192
children 99433164b593
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
1 <tool id="ip_detection_viz" name="Detection Visualization" version="0.3">
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
2 <description>Detection Visualization</description>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
3 <requirements>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
4 <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
5 <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
6 <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
7 </requirements>
1
ec1ca4d62192 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit b2acc1845a25828181597fe5b6982fe116a7796d
imgteam
parents: 0
diff changeset
8 <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
9 <![CDATA[
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
10 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
11 --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
12 #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
13 --tp '$tp'
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
14 #end if
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
15 #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
16 --fn '$fn'
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
17 #end if
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
18 #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
19 --fp '$fp'
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
1
ec1ca4d62192 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit b2acc1845a25828181597fe5b6982fe116a7796d
imgteam
parents: 0
diff changeset
21 ]]>
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
22 </command>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
23 <inputs>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
24 <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
25 <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
26 <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
27 <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
28 <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
29 </param>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
30 <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
31 <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
32 <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
33 </when>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
34 </conditional>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
35 <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
36 <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
37 <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
38 <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
39 </param>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
40 <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
41 <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
42 <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
43 </when>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
44 </conditional>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
45 <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
46 <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
47 <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
48 <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
49 </param>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
50 <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
51 <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
52 <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
53 </when>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
54 </conditional>
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
55 <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
56 <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
57 </inputs>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
58 <outputs>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
59 <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
60 </outputs>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
61 <tests>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
62 <test>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
63 <param name="input" value="sample.png"/>
2
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
64 <param name="tp_option.display" value="false"/>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
65 <param name="fn_option.display" value="false"/>
f46f64f9590d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
imgteam
parents: 1
diff changeset
66 <param name="fp_option.display" value="false"/>
0
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
67 <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
68 </test>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
69 </tests>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
70 <help>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
71 **What it does**
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
72
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
73 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
74 </help>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
75 <citations>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
76 <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
77 </citations>
3f738d5d91bf planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
78 </tool>