Mercurial > repos > thomaswollmann > coordinates_of_roi
comparison coordinates_of_roi.xml @ 0:3cbb8ae57f5b draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/coordinates_of_roi/ commit d93e1dd276027cfc3fb518236110395a23d96f66
| author | thomaswollmann |
|---|---|
| date | Wed, 16 Jan 2019 15:34:10 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:3cbb8ae57f5b |
|---|---|
| 1 <?xml version="1.0"?> | |
| 2 <tool name="Coordinates of ROI" id="ia_coordinates_of_roi" version="0.0.3"> | |
| 3 <description>Coordinates of ROI</description> | |
| 4 <requirements> | |
| 5 <requirement type="package" version="0.14.0">scikit-image</requirement> | |
| 6 <requirement type="package" version="0.23.4">pandas</requirement> | |
| 7 </requirements> | |
| 8 <command detect_errors="aggressive"> | |
| 9 <![CDATA[ | |
| 10 python '$__tool_directory__/coordinates_of_roi.py' | |
| 11 '$im' | |
| 12 '$pixel_table' | |
| 13 $offset_x $offset_y | |
| 14 $white_obj | |
| 15 --threshold $threshold | |
| 16 ]]> | |
| 17 </command> | |
| 18 <inputs> | |
| 19 <param name="im" type="data" format="png" label="Source file" /> | |
| 20 <param name="white_obj" type="boolean" truevalue="--white_obj" falsevalue="" checked="false" label="Set to Yes if object is white and background black, otherwise set to No" /> | |
| 21 <param name="threshold" type="float" value="0.5" label="Threshold value" /> | |
| 22 <param name="offset_x" type="integer" value="0" label="Added offset in x direction (=width direction)" /> | |
| 23 <param name="offset_y" type="integer" value="0" label="Added offset in y direction (=height direction)" /> | |
| 24 </inputs> | |
| 25 <outputs> | |
| 26 <data format="tabular" name="pixel_table" /> | |
| 27 </outputs> | |
| 28 <tests> | |
| 29 <test> | |
| 30 <param name="im" value="test.png"/> | |
| 31 <param name="white_obj" value="true"/> | |
| 32 <output name="pixel_table" value="table.csv" ftype="tabular"/> | |
| 33 </test> | |
| 34 <test> | |
| 35 <param name="im" value="test.png"/> | |
| 36 <param name="white_obj" value="true"/> | |
| 37 <param name="offset_x" value="1"/> | |
| 38 <param name="offset_y" value="2"/> | |
| 39 <output name="pixel_table" value="table2.csv" ftype="tabular"/> | |
| 40 </test> | |
| 41 </tests> | |
| 42 <help> | |
| 43 This tool creates a table containing the pixelcoordinates of the Region of Interest (ROI). | |
| 44 </help> | |
| 45 <citations> | |
| 46 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> | |
| 47 </citations> | |
| 48 </tool> |
