Skip to content

Commit

Permalink
Update superdsm tool
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrykin committed Mar 19, 2024
1 parent 6c02b60 commit affd76b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
1 change: 0 additions & 1 deletion tools/segmetrics/segmetrics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<description>with SegMetrics</description>
<macros>
<import>creators.xml</import>
<import>tests.xml</import>
<token name="@TOOL_VERSION@">1.4</token>
<token name="@VERSION_SUFFIX@">5</token>
</macros>
Expand Down
1 change: 1 addition & 0 deletions tools/superdsm/creators.xml
25 changes: 22 additions & 3 deletions tools/superdsm/superdsm.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<tool id="ip_superdsm" name="Perform segmentation using deformable shape models" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
<description>with SuperDSM</description>
<macros>
<import>creators.xml</import>
<import>tests.xml</import>
<token name="@TOOL_VERSION@">0.2.0</token>
<token name="@VERSION_SUFFIX@">0</token>
</macros>
<creator>
<expand macro="creators/bmcv"/>
</creator>
<edam_operations>
<edam_operation>operation_3443</edam_operation>
</edam_operations>
Expand All @@ -13,7 +18,7 @@
</xrefs>
<requirements>

<requirement type="package" version="0.2.0">superdsm</requirement>
<requirement type="package" version="@TOOL_VERSION@">superdsm</requirement>

<!--
Pin the dependencies to specific versions for reproducibility:
Expand Down Expand Up @@ -159,8 +164,18 @@
<param name="dataset" value="BBBC033_C2_z28.png" />
<param name="global_energy_minimization_pruning" value="exact" />
<param name="outputs" value="overlay,masks,cfg" />
<output name="overlay" value="overlay.png" ftype="png" compare="sim_size" />
<expand macro="tests/intensity_image_diff" name="overlay" value="overlay.png" ftype="png"/>
<output name="cfg" value="cfg-full.tsv" ftype="tsv" compare="diff" />
<output name="masks" ftype="png">
<assert_contents>

<has_image_width width="1024"/>
<has_image_height height="1344"/>
<has_image_channels channels="1"/>
<has_image_n_labels n="16"/><!-- 15 objects plus the background -->

</assert_contents>
</output>
</test>
<test expect_num_outputs="1">
<param name="dataset" value="BBBC033_C2_z28.png" />
Expand All @@ -170,9 +185,13 @@
</test>
</tests>
<help>
This tool permits the segmentation of cell nuclei in 2-D fluorescence microscopy images.

**Performs segmentation of 2-D fluorescence microscopy images using deformable shape models and superadditivity.**

SuperDSM is a globally optimal method for cell nuclei segmentation using deformable shape models and their inherent law of superadditivity.

You can either use an individual input image (PNG, TIF) or a collection of such images.

</help>
<citations>
<citation type="bibtex">
Expand Down
1 change: 1 addition & 0 deletions tools/superdsm/tests.xml

0 comments on commit affd76b

Please sign in to comment.