Mercurial > repos > thomaswollmann > mahotas_features
annotate mahotas_features.xml @ 0:43bf7c3775f3 draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
| author | thomaswollmann |
|---|---|
| date | Tue, 03 Jan 2017 04:36:37 -0500 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
1 <tool id="mahotas_features" name="mahotas-features" version="0.6"> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
2 <requirements> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
3 <requirement type="package">mahotas</requirement> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
4 <requirement type="package">pillow</requirement> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
5 <requirement type="package">numpy</requirement> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
6 </requirements> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
7 <description>Compute features using mahotas</description> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
8 <stdio> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
9 <exit_code level="fatal" range="1:"/> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
10 </stdio> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
11 <command><![CDATA[mahotas-features.py |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
12 #set files = '" "'.join( [ str( $file ) for $file in $inputs ] ) |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
13 "${files}" |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
14 |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
15 --output $output |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
16 --convert-to-bw $convertbw |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
17 $haralick |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
18 $lbp |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
19 --clobber |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
20 #if $lbpradius and $lbpradius is not None: |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
21 --lbp-radius $lbpradius |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
22 #end if |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
23 |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
24 #if $lbppoints and $lbppoints is not None: |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
25 --lbp-points $lbppoints |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
26 #end if]]></command> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
27 <inputs> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
28 <param name="inputs" type="data" format="tiff,png,jpg,bmp" multiple="True" label="Image files"/> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
29 <param name="convertbw" type="select" label="Convert color images to greyscale"> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
30 <option value="no" selected="True">no</option> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
31 <option value="max">max projection</option> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
32 <option value="yes">yes</option> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
33 </param> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
34 <param checked="true" help="(--haralick)" label="Compute Haralick features" name="haralick" type="boolean" truevalue="--haralick" falsevalue=""/> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
35 <param checked="true" help="(--lbp)" label="Compute LBP (linear binary patterns) features" name="lbp" type="boolean" truevalue="--lbp" falsevalue=""/> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
36 <param help="(--lbp-radius)" label="Radius to use for LBP features" name="lbpradius" optional="true" type="integer" value="8"/> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
37 <param help="(--lbp-points)" label="Nr of points to use for LBP features" name="lbppoints" optional="true" type="integer" value="6"/> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
38 </inputs> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
39 <outputs> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
40 <data format="tsv" hidden="false" name="output"/> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
41 </outputs> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
42 <tests> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
43 <test> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
44 <param name="inputs" value="galaxyIcon_noText.png"/> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
45 <param name="haralick" value="--haralick" /> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
46 <param name="lbp" value="--lbp" /> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
47 <param name="convertbw" value="max" /> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
48 <output name="output" file="features.tsv" ftype="tsv" lines_diff="2"/> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
49 </test> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
50 </tests> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
51 <help>Mahotas is a computer vision and image processing library for Python. This tools computes features using mahotas.</help> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
52 <citations> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
53 <citation type="doi">10.5334/jors.ac</citation> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
54 </citations> |
|
43bf7c3775f3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/mahotas-features/ commit 6dd3802614ab7940792e184944fc90d78c71cf51
thomaswollmann
parents:
diff
changeset
|
55 </tool> |
