annotate s3segmenter.xml @ 2:96d0d969ebc9 draft default tip

planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
author goeckslab
date Fri, 16 Sep 2022 20:05:54 +0000
parents 41e8efe8df43
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
1 <tool id="s3segmenter" name="s3segmenter" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
2 <description>single cell (nuclei and cytoplasm) label masks.</description>
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
3 <macros>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
4 <import>macros.xml</import>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
5 </macros>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
6
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
7 <expand macro="requirements"/>
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
8 <expand macro="version_cmd"/>
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
9
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
11
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
12 ln -s '${imagePath}' './image.tif' &&
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
13
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
14 #if $contoursClassProbPath
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
15 ln -s '${contoursClassProbPath}' './ContoursPM.tif' &&
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
16 #end if
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
17
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
18 #if $nucleiClassProbPath
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
19 ln -s '${nucleiClassProbPath}' './NucleiPM.tif' &&
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
20 #end if
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
21
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
22 #if $stackProbPath
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
23 ln -s '${stackProbPath}' './Probabilities.tif' &&
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
24 #end if
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
25
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
26
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
27 @CMD_BEGIN@ \$S3SEG_CMD
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
28 --imagePath './image.tif'
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
29
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
30 #if $contoursClassProbPath
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
31 --contoursClassProbPath './ContoursPM.tif'
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
32 #end if
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
33
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
34 #if $nucleiClassProbPath
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
35 --nucleiClassProbPath './NucleiPM.tif'
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
36 #end if
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
37
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
38 #if $stackProbPath
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
39 --stackProbPath './Probabilities.tif'
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
40 #end if
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
41
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
42 --probMapChan $probMapChan
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
43 --crop $crop_select.crop
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
44
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
45 #if $crop_select.crop == "dearray"
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
46 --maskPath '$crop_select.maskPath'
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
47 #end if
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
48
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
49 --cytoMethod $cytoMethod
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
50 --nucleiFilter $nucleiFilter
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
51 --nucleiRegion $nucleiRegion_select.nucleiRegion
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
52
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
53 #if $nucleiRegion_select.nucleiRegion == "pixellevel"
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
54 --pixelThreshold $nucleiRegion_select.pixelThreshold
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
55 --pixelMaskChan $nucleiRegion_select.pixelMaskChan
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
56 #end if
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
57
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
58 --segmentCytoplasm $segmentCytoplasm
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
59 --cytoDilation $adv.cytoDilation
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
60 --logSigma $adv.logSigma
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
61 --CytoMaskChan $adv.CytoMaskChan
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
62 ##--TissueMaskChan $adv.TissueMaskChan
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
63 --detectPuncta $adv.detectPuncta
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
64 --punctaSigma $adv.punctaSigma
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
65 --punctaSD $adv.punctaSD
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
66 $saveMask
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
67 $saveFig
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
68 --outputPath '.'
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
69 ]]></command>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
70
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
71
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
72 <inputs>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
73
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
74 <param name="imagePath" type="data" format="tiff" label="Image File"/>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
75 <param name="contoursClassProbPath" type="data" format="tiff" optional="true" label="Contours Class Probabilities"/>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
76 <param name="nucleiClassProbPath" type="data" format="tiff" optional="true" label="Nuclei Class Probabilities"/>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
77 <param name="stackProbPath" type="data" format="tiff" optional="true" label="Stack Probabilities"/>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
78 <param name="probMapChan" type="integer" value="-1" label="Probability Maps Channel"/>
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
79
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
80 <conditional name="crop_select">
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
81 <param name="crop" type="select" label="Crop Strategy">
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
82 <option selected="true" value="noCrop">No Crop</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
83 <option value="autoCrop">Automatic Crop</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
84 <option value="dearray">De-array</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
85 <option value="plate">Plate</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
86 </param>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
87 <when value="dearray">
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
88 <param name="maskPath" type="data" format="tiff" label="TMA Mask File"/>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
89 </when>
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
90 <when value="noCrop" />
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
91 <when value="autoCrop" />
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
92 <when value="plate" />
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
93 </conditional>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
94
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
95 <param name="cytoMethod" type="select" label="Cyto Method">
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
96 <option value="hybrid">Hybrid</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
97 <option selected="true" value="distanceTransform">Distance Transform</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
98 <option value="bwdistanceTransform">BW Distance Transform</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
99 <option value="ring">Ring</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
100 </param>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
101 <param name="nucleiFilter" type="select" label="Nuclei Filter">
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
102 <option selected="true" value="IntPM">IntPM</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
103 <option value="LoG">LoG</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
104 <option value="Int">Int</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
105 <option value="none">none</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
106 </param>
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
107
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
108 <conditional name="nucleiRegion_select">
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
109 <param name="nucleiRegion" type="select" label="Nuclei Region">
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
110 <option value="watershedContourDist">watershedContourDist</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
111 <option selected="true" value="watershedContourInt">watershedContourInt</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
112 <option value="watershedBWDist">watershedBWDist</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
113 <option value="dilation">dilation</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
114 <option value="localThreshold">localThreshold</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
115 <option value="localMax">localMax</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
116 <option value="bypass">bypass</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
117 <option value="pixellevel">pixellevel</option>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
118 </param>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
119 <when value="pixellevel">
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
120 <param name="pixelThreshold" type="float" value="-1.0" label="Pixel Threshold"/>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
121 <param name="pixelMaskChan" type="text" value="2" label="Pixel Mask Channel"/>
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
122 </when>
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
123 <when value="watershedContourDist"/>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
124 <when value="watershedContourInt"/>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
125 <when value="watershedBWDist"/>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
126 <when value="dilation"/>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
127 <when value="localThreshold"/>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
128 <when value="localMax"/>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
129 <when value="bypass"/>
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
130 </conditional>
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
131
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
132 <param name="segmentCytoplasm" type="select" label="Segment Cytoplasm">
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
133 <option value="segmentCytoplasm">segmentCytoplasm</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
134 <option selected="true" value="ignoreCytoplasm">ignoreCytoplasm</option>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
135 </param>
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
136 <param argument="saveMask" type="boolean" checked="true" truevalue="--saveMask" falsevalue="" label="Save Mask"/>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
137 <param argument="saveFig" type="boolean" checked="true" truevalue="--saveFig" falsevalue="" label="Save Figure"/>
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
138
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
139 <section name="adv" title="Advanced Options" expanded="false">
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
140 <param name="cytoDilation" type="integer" value="5" label="Cyto Dilation"/>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
141 <param name="logSigma" type="text" value="3 60" label="logSigma"/>
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
142 <param name="CytoMaskChan" type="text" value="2" label="Cyto Mask Channel"/>
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
143 <!-- Bug with S3Segmenter code, expects int not list
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
144 <param name="TissueMaskChan" type="text" value="-1" label="Tissue Mask Channel"/>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
145 -->
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
146 <param name="detectPuncta" type="text" value="-1" label="Detect Puncta"/>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
147 <param name="punctaSigma" type="text" value="1" label="Puncta Sigma"/>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
148 <param name="punctaSD" type="text" value="4" label="Puncta SD"/>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
149 </section>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
150
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
151
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
152 </inputs>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
153 <outputs>
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
154 <data format="tiff" name="cell_mask" from_work_dir="image/cell.ome.tif" label="cellMasks">
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
155 <filter>saveMask is True</filter>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
156 </data>
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
157 <data format="tiff" name="nuclei_mask" from_work_dir="image/nuclei.ome.tif" label="nucleiMasks">
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
158 <filter>saveMask is True</filter>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
159 </data>
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
160 <data format="tiff" name="cell_outlines" from_work_dir="image/qc/cellOutlines.ome.tif" label="cellOutlines">
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
161 <filter>saveFig is True</filter>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
162 </data>
1
41e8efe8df43 "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit c8f72e04db2cc6cc26f0359d5aa3b1a972bc6d53"
watsocam
parents: 0
diff changeset
163 <data format="tiff" name="nuclei_outlines" from_work_dir="image/qc/nucleiOutlines.ome.tif" label="nucleiOutlines">
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
164 <filter>saveFig is True</filter>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
165 </data>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
166 </outputs>
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
167 <tests>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
168 <test>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
169 <param name="imagePath" value="test.ome.tiff" />
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
170 <param name="stackProbPath" value="stack_probabilities.tiff" />
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
171 <param name="punctaSD" value="4" />
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
172 <output name="cell_mask" ftype="tiff">
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
173 <assert_contents>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
174 <has_size value="6600000" delta="1000000" />
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
175 </assert_contents>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
176 </output>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
177 <output name="nuclei_mask" ftype="tiff">
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
178 <assert_contents>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
179 <has_size value="6600000" delta="1000000" />
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
180 </assert_contents>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
181 </output>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
182 </test>
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
183 </tests>
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
184 <help><![CDATA[
2
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
185 -------------------
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
186 S3segmenter
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
187 -------------------
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
188 **S3segmenter** is a Python-based set of functions that generates single cell (nuclei and cytoplasm) label masks.
96d0d969ebc9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/s3segmenter commit 0f4f17235c5961c2fd3d4c30180507f66214c11d
goeckslab
parents: 1
diff changeset
189
0
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
190 Inputs are:
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
191
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
192 1. an .ome.tif (preferably flat field corrected)
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
193 2. a 3-class probability maps derived from a deep learning model such as UNet. Classes include background, nuclei contours, and nuclei foreground.
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
194
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
195 The centers of each nuclei are obtained by finding local maxima from the nuclei foreground. These are used for marker-controlled watershed constrained by the nuclei contours.
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
196
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
197 To segment cytoplasm, the nuclei are in turn used for a marker-controlled watershed segmentation constrained by a cytoplasmic marker such as B-catenin. The channel number of this marker must be specified. A 3-pixel annulus around each nucleus will also be used to segment cytoplasm.
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
198
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
199 The source repository can be found here: https://github.com/HMS-IDAC/S3segmenter
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
200 ]]></help>
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
201 <expand macro="citations" />
37acf42a824b "planemo upload for repository https://github.com/ohsu-comp-bio/S3segmenter commit d89a61efd4c465a1e6bf5b99b0f78fb19be5bdea-dirty"
perssond
parents:
diff changeset
202 </tool>