annotate mahotas_features.xml @ 1:0c76d029dbe3 draft default tip

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