Mercurial > repos > lldelisle > omero_hyperstack_to_gastruloid_measurements
annotate omero_hyperstack_to_gastruloid_measurements.xml @ 1:bd5771ff6aa3 draft
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
author | lldelisle |
---|---|
date | Wed, 20 Dec 2023 20:07:13 +0000 |
parents | 5396ab665901 |
children | 45375dc5dd8d |
rev | line source |
---|---|
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
1 <tool id="omero_hyperstack_to_gastruloid_measurements" name="Omero hyperstack to Gastruloid measurements" profile="20.01" version="@TOOL_VERSION@+galaxy0"> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
2 <macros> |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
3 <token name="@TOOL_VERSION@">20231220</token> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
4 <xml name="segmentation"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
5 <conditional name="use_ilastik"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
6 <param name="segmentation_method" type="select" label="Segmentation method"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
7 <option value="convert_to_mask">Simply convert to mask</option> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
8 <option value="ilastik">Use an ilastik project</option> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
9 </param> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
10 <when value="ilastik"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
11 <param name="ilastik_project" type="data" format="h5" label="Ilastik project" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
12 <param name="ilastik_project_type" type="select" label="Type of Ilastik project"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
13 <option value="Regular">Regular</option> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
14 <option value="Auto-context">Auto-context</option> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
15 </param> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
16 <param name="ilastik_label_OI" type="integer" value="3" label="Index of label of interest in Ilastik project" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
17 <param name="probability_threshold" type="float" min="0" max="1" value="0.4" label="Probability threshold for ilastik" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
18 <conditional name="background"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
19 <param name="get_background" type="select" label="Get ROI with background" help="Can be useful to normalize fluo"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
20 <option value="yes">Yes</option> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
21 <option value="no">No</option> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
22 </param> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
23 <when value="yes"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
24 <param name="ilastik_label_BG" type="integer" value="1" label="Index of label of background in Ilastik project" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
25 <param name="probability_threshold_BG" type="float" min="0" max="1" value="0.8" label="Probability threshold for background in ilastik" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
26 </when> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
27 <when value="no"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
28 <param name="ilastik_label_BG" type="hidden" value="0"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
29 <param name="probability_threshold_BG" type="hidden" value="0"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
30 </when> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
31 </conditional> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
32 </when> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
33 <when value="convert_to_mask"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
34 <param name="ilastik_project_type" type="hidden" value="Regular" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
35 <param name="ilastik_label_OI" type="hidden" value="3" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
36 <param name="probability_threshold" type="hidden" value="0" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
37 <section name="background" title="" > |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
38 <param name="ilastik_label_BG" type="hidden" value="0"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
39 <param name="probability_threshold_BG" type="hidden" value="0"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
40 </section> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
41 </when> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
42 </conditional> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
43 <param name="radius_median" type="float" value="20" label="Radius for median (=smooth the mask)" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
44 <param name="min_size_particle" type="integer" min="0" value="5000" label="Minimum surface for Analyze Particle" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
45 <param name="keep_only_largest" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Keep only one gastruloid per timepoint" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
46 </xml> |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
47 </macros> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
48 <requirements> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
49 <requirement type="package" version="20220414">fiji</requirement> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
50 <requirement type="package" version="3.7">python</requirement> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
51 <requirement type="package" version="2.0.0">fiji-max_inscribed_circles</requirement> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
52 <requirement type="package" version="1.8.2">fiji-ilastik</requirement> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
53 <requirement type="package" version="5.8.0">fiji-omero_ij</requirement> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
54 <requirement type="package" version="5.12.2">fiji-simple_omero_client</requirement> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
55 </requirements> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
56 <command detect_errors="exit_code"><![CDATA[ |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
57 ## the user wants to use a non-public OMERO instance |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
58 ## check if credentials are set in the user-preferences, if not warn the user and exit |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
59 #set $username = $__user__.extra_preferences.get('omero_account|username', "") |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
60 #set $password = $__user__.extra_preferences.get('omero_account|password', "") |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
61 |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
62 #if ($username == "" or $password ==""): |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
63 echo "OMERO connection credentials are empty. Set your credentials via: User -> Preferences -> Manage Information" 1>&2 && |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
64 exit 1 && |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
65 #end if |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
66 #if str($mode.use_ilastik.segmentation_method) == "ilastik": |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
67 #set $ilastik_project_file = str($mode.use_ilastik.ilastik_project) |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
68 #set $ilastik_project_name = str($mode.use_ilastik.ilastik_project.name) |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
69 #else |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
70 #set $ilastik_project_file = "inexisting.ilp" |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
71 #set $ilastik_project_name = "inexisting.ilp" |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
72 #end if |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
73 |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
74 mkdir output && |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
75 ## Because ilastik wants to write to ${HOME}/.cache and ${HOME}/.config |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
76 export HOME=`pwd` && |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
77 ImageJ-ilastik --ij2 --headless --console --run '$__tool_directory__/'1-omero_timelapse_image_to_measurements_phase.groovy |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
78 'USERNAME="",PASSWORD="",credentials="${credentials}",host="${omero_host}",port="${omero_port}",object_type="${omero_object.object_type}",id="${omero_object.omero_id}",segmentation_method="${mode.use_ilastik.segmentation_method}",use_existing="${mode.use_existing}",ilastik_project="$ilastik_project_file",ilastik_project_short_name="$ilastik_project_name",ilastik_project_type="${mode.use_ilastik.ilastik_project_type}",ilastik_label_OI="${mode.use_ilastik.ilastik_label_OI}",probability_threshold="${mode.use_ilastik.probability_threshold}",radius_median="${mode.radius_median}",min_size_particle="${mode.min_size_particle}",get_spine="true",minimum_diameter="${minimum_diameter}",closeness_tolerance="${closeness_tolerance}",min_similarity="${min_similarity}",output_directory="output",debug="${debug}",rescue="${mode.rescue}",ilastik_label_BG="${mode.use_ilastik.background.ilastik_label_BG}",probability_threshold_BG="${mode.use_ilastik.background.probability_threshold_BG}",keep_only_largest="${mode.keep_only_largest}"' > output.log |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
79 ]]> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
80 </command> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
81 <configfiles> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
82 <configfile name="credentials"><![CDATA[#set $username = $__user__.extra_preferences.get('omero_account|username', "") |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
83 #set $password = $__user__.extra_preferences.get('omero_account|password', "") |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
84 $username |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
85 $password |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
86 ]]></configfile> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
87 </configfiles> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
88 <inputs> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
89 <param name="omero_host" type="text" label="OMERO host URL"> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
90 <validator type="regex" message="Enter a valid host location, for example, your.omero.server">^[a-zA-Z0-9._-]*$</validator> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
91 <validator type="expression" message="No two dots (..) allowed">'..' not in value</validator> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
92 </param> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
93 <param name="omero_port" type="integer" value="4064" label="Omero port" /> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
94 <conditional name="omero_object"> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
95 <param name="object_type" type="select" label="Type of object to analyze"> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
96 <option value="image">Single Omero Image</option> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
97 <option value="well">All images of a Well</option> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
98 <option value="plate">All images of a Plate</option> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
99 <option value="dataset">All images of a Dataset</option> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
100 </param> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
101 <when value="image"> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
102 <param name="omero_id" type="integer" value="" label="Image ID on omero" /> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
103 </when> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
104 <when value="well"> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
105 <param name="omero_id" type="integer" value="" label="Well ID on omero" /> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
106 </when> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
107 <when value="plate"> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
108 <param name="omero_id" type="integer" value="" label="Plate ID on omero" /> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
109 </when> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
110 <when value="dataset"> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
111 <param name="omero_id" type="integer" value="" label="Dataset ID on omero" /> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
112 </when> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
113 </conditional> |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
114 <conditional name="mode"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
115 <param name="mode_select" type="select" label="Which mode do you want to use?" > |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
116 <option value="regular">Regular (from scratch)</option> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
117 <option value="spine_only">Recompute only spine</option> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
118 <option value="rescue">Rescue (if Regular did not go to the end)</option> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
119 </param> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
120 <when value="regular"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
121 <expand macro="segmentation"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
122 <param name="rescue" type="hidden" value="false"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
123 <param name="use_existing" type="hidden" value="false"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
124 </when> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
125 <when value="rescue"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
126 <expand macro="segmentation"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
127 <param name="rescue" type="hidden" value="true"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
128 <param name="use_existing" type="hidden" value="false"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
129 </when> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
130 <when value="spine_only"> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
131 <section name="use_ilastik" title="" > |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
132 <param name="segmentation_method" type="hidden" value="convert_to_mask" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
133 <param name="ilastik_project_type" type="hidden" value="Regular" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
134 <param name="ilastik_label_OI" type="hidden" value="3" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
135 <param name="probability_threshold" type="hidden" value="0" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
136 <section name="background" title="" > |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
137 <param name="ilastik_label_BG" type="hidden" value="0"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
138 <param name="probability_threshold_BG" type="hidden" value="0"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
139 </section> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
140 </section> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
141 <param name="radius_median" type="hidden" value="20" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
142 <param name="min_size_particle" type="hidden" value="5000" /> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
143 <param name="keep_only_largest" type="hidden" value="true"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
144 <param name="rescue" type="hidden" value="false"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
145 <param name="use_existing" type="hidden" value="true"/> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
146 </when> |
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
147 </conditional> |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
148 <param name="minimum_diameter" type="integer" min="0" value="20" label="Minimum diameter of inscribed circles" /> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
149 <param name="closeness_tolerance" type="integer" min="0" value="50" label="Closeness Tolerance for the spine" help="Maximum distance between circles along the spine"/> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
150 <param name="min_similarity" type="float" min="-1" max="1" value="0.1" label="Min similarity for the spine" help="Close to 0 values allow more U shapes while close to 1 values only allows I shapes" /> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
151 <param name="debug" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Debug the elongation index" help="This will output all inscribed circles" /> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
152 <param name="keep_intermediate" type="boolean" checked="false" label="Keep intermediate results (ilastik prediction + tables)" /> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
153 </inputs> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
154 |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
155 <outputs> |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
156 <data name="logfile" format="txt" from_work_dir="output.log" label="${tool.name} on ${omero_object.object_type} ID ${omero_object.omero_id} with $getVar('mode.use_ilastik.ilastik_project.name', 'no ilastik'): logfile"> |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
157 </data> |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
158 <collection name="tables" type="list" label="${tool.name} on ${omero_object.object_type} ID ${omero_object.omero_id} with $getVar('mode.use_ilastik.ilastik_project.name', 'no ilastik'): Tables"> |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
159 <discover_datasets pattern="(?P<designation>.+)\.csv" directory="output" format="csv"/> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
160 <filter>keep_intermediate</filter> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
161 </collection> |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
162 <collection name="hyperstacks_with_overlay" type="list" label="${tool.name} on ${omero_object.object_type} ID ${omero_object.omero_id} with $getVar('mode.use_ilastik.ilastik_project.name', 'no ilastik'): Hyperstacks"> |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
163 <discover_datasets pattern="(?P<designation>.+)\.tiff" directory="output" format="tiff"/> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
164 </collection> |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
165 <collection name="ilastik_results" type="list" label="${tool.name} on ${omero_object.object_type} ID ${omero_object.omero_id} with $getVar('mode.use_ilastik.ilastik_project.name', 'no ilastik'): Ilastik"> |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
166 <discover_datasets pattern="(?P<designation>.+)\.tif$" directory="output" format="tiff"/> |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
167 <filter>keep_intermediate and mode['use_ilastik']['segmentation_method'] == "ilastik"</filter> |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
168 </collection> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
169 </outputs> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
170 <help> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
171 <![CDATA[ |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
172 **Overview** |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
173 |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
174 This tool will get images from omero, use an ilastik project to get propability and generate a mask. |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
175 The potential gastruloids will be indentified by analyze Particles. |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
176 On each ROI, the elongation index will be computed. |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
177 |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
178 **License** |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
179 |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
180 License text:: |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
181 |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
182 // This macro was written by the BIOP (https://github.com/BIOP) |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
183 // Romain Guiet and Rémy Dornier |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
184 // Lucille Delisle modified to support headless |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
185 // And to be more robust to OMERO reboot |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
186 // merge the analysis script with templates available at |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
187 // https://github.com/BIOP/OMERO-scripts/tree/025047955b5c1265e1a93b259c1de4600d00f107/Fiji |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
188 |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
189 /* |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
190 * = COPYRIGHT = |
1
bd5771ff6aa3
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit aec2e2ead02236551c1e9c6d333034057daf0bca
lldelisle
parents:
0
diff
changeset
|
191 * © All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, BioImaging And Optics Platform (BIOP), 2023 |
0
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
192 * |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
193 * Licensed under the BSD-3-Clause License: |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
194 * Redistribution and use in source and binary forms, with or without modification, are permitted provided |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
195 * that the following conditions are met: |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
196 * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
197 * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
198 * in the documentation and/or other materials provided with the distribution. |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
199 * 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
200 * derived from this software without specific prior written permission. |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
201 * |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
202 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
203 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
204 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
205 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
206 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
207 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
208 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
209 */ |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
210 |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
211 ]]> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
212 </help> |
5396ab665901
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_hyperstack_to_gastruloid_measurements commit 4eb6599440c6b220775dc79509983e7549e36e0b
lldelisle
parents:
diff
changeset
|
213 </tool> |