Mercurial > repos > imgteam > 2d_filter_segmentation_by_features
diff 2d_filter_segmentation_by_features.xml @ 0:e576b73a2e2f draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_filter_segmentation_by_features/ commit b2acc1845a25828181597fe5b6982fe116a7796d
author | imgteam |
---|---|
date | Mon, 22 Jul 2019 05:00:03 -0400 |
parents | |
children | 6ad1d3cfdea1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/2d_filter_segmentation_by_features.xml Mon Jul 22 05:00:03 2019 -0400 @@ -0,0 +1,37 @@ +<tool id="ip_2d_filter_segmentation_by_features" name="Filter segmentation" version="0.0.1"> + <description>Filter segmentation by rules</description> + <requirements> + <requirement type="package" version="0.14.2">scikit-image</requirement> + <requirement type="package" version="5.3.0">pillow</requirement> + <requirement type="package" version="0.23.4">pandas</requirement> + <requirement type="package" version="0.15.1">tifffile</requirement> + </requirements> + <command detect_errors="aggressive"> + <![CDATA[ + python '$__tool_directory__/2d_filter_segmentation_by_features.py' '$input' '$output' '$feature_file' '$rule_file' + ]]> + </command> + <inputs> + <param name="input" type="data" format="tiff" label="Source file" /> + <param name="feature_file" type="data" format="tabular" label="Feature file" /> + <param name="rule_file" type="data" format="tabular" label="Rules file" /> + </inputs> + <outputs> + <data format="tiff" name="output" /> + </outputs> + <tests> + <test> + <param name="input" value="in.tif"/> + <param name="feature_file" value="features.tabular"/> + <param name="rule_file" value="rules.tabular"/> + <output name="output" value="out.tif" ftype="tiff" compare="sim_size"/> + </test> + </tests> + <help> + Filter label image by rules (e.g., remove large or deformed objects). + Rules file has a specific format (cols: ,f1,2, rows: feature_name, min, max). The features have to be also profived in a specific format (cols: label, f1, f2). + </help> + <citations> + <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> + </citations> +</tool>