comparison mahotas_features.xml @ 0:7f3d9a1a0447 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
author imgteam
date Sat, 09 Feb 2019 14:37:07 -0500
parents
children 0c76d029dbe3
comparison
equal deleted inserted replaced
-1:000000000000 0:7f3d9a1a0447
1 <tool id="ip_mahotas_features" name="Mahotas-features" version="0.7">
2 <description>Compute features using mahotas</description>
3 <requirements>
4 <requirement type="package" version="1.4.3">mahotas</requirement>
5 <requirement type="package" version="4.0.0">pillow</requirement>
6 <requirement type="package" version="1.12">numpy</requirement>
7 </requirements>
8 <command detect_errors="aggressive"><![CDATA[mahotas-features.py
9 #set files = '" "'.join( [ str( $file ) for $file in $inputs ] )
10 "${files}"
11
12 --output $output
13 --convert-to-bw $convertbw
14 $haralick
15 $lbp
16 --clobber
17 #if $lbpradius and $lbpradius is not None:
18 --lbp-radius $lbpradius
19 #end if
20
21 #if $lbppoints and $lbppoints is not None:
22 --lbp-points $lbppoints
23 #end if]]></command>
24 <inputs>
25 <param name="inputs" type="data" format="tiff,png,jpg,bmp" multiple="True" label="Image files"/>
26 <param name="convertbw" type="select" label="Convert color images to greyscale">
27 <option value="no" selected="True">no</option>
28 <option value="max">max projection</option>
29 <option value="yes">yes</option>
30 </param>
31 <param checked="true" help="(--haralick)" label="Compute Haralick features" name="haralick" type="boolean" truevalue="--haralick" falsevalue=""/>
32 <param checked="true" help="(--lbp)" label="Compute LBP (linear binary patterns) features" name="lbp" type="boolean" truevalue="--lbp" falsevalue=""/>
33 <param help="(--lbp-radius)" label="Radius to use for LBP features" name="lbpradius" optional="true" type="integer" value="8"/>
34 <param help="(--lbp-points)" label="Nr of points to use for LBP features" name="lbppoints" optional="true" type="integer" value="6"/>
35 </inputs>
36 <outputs>
37 <data format="tsv" hidden="false" name="output"/>
38 </outputs>
39 <tests>
40 <test>
41 <param name="inputs" value="galaxyIcon_noText.png"/>
42 <param name="haralick" value="--haralick" />
43 <param name="lbp" value="--lbp" />
44 <param name="convertbw" value="max" />
45 <output name="output" file="features.tsv" ftype="tsv" lines_diff="2"/>
46 </test>
47 </tests>
48 <help>
49 **What it does**
50
51 Mahotas is a computer vision and image processing library for Python. This tools computes features using mahotas.
52 </help>
53 <citations>
54 <citation type="doi">10.5334/jors.ac</citation>
55 </citations>
56 </tool>