annotate incucyte_stack_and_upload_omero.xml @ 0:e1cba36becb2 draft

planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
author lldelisle
date Tue, 19 Dec 2023 15:02:41 +0000
parents
children 3c942429f610
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
1 <tool id="incucyte_stack_and_upload_omero" name="Stack Incucyte Plate" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="BSD-3">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
2 <description>And upload to omero</description>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
3 <macros>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
4 <token name="@TOOL_VERSION@">20231219</token>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
6 </macros>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
7 <requirements>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
8 <requirement type="package" version="20220414">Fiji</requirement>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
9 <requirement type="package" version="5.13.1">omero-py</requirement>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
10 <requirement type="package" version="5.1.0">gawk</requirement>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
11 </requirements>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
13 #import os
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
14 ## the user wants to use a non-public OMERO instance
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
15 ## check if credentials are set in the user-preferences, if not warn the user and exit
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
16 #set $username = $__user__.extra_preferences.get('omero_account|username', "")
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
17 #set $password = $__user__.extra_preferences.get('omero_account|password', "")
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
18
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
19 #if str($upload_omero.upload_omero_select) == "yes":
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
20 #if ($username == "" or $password ==""):
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
21 echo "OMERO connection credentials are empty. Set your credentials via: User -> Preferences -> Manage Information" 1>&2 &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
22 exit 1 &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
23 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
24 #set $incucyteXMLFile = str($upload_omero.incucyteXMLFile)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
25 #set $objectiveChoice = str($upload_omero.objectiveChoice)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
26 #set $startStage = str($upload_omero.startStage)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
27 #set $plateName = str($upload_omero.plateName)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
28 #set $ignoreConcentration = str($upload_omero.ignoreConcentration)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
29 #set $ignorePassage = str($upload_omero.ignorePassage)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
30 #set $ignoreSeeding = str($upload_omero.ignoreSeeding)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
31 #else
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
32 #set $incucyteXMLFile = "inexisting.plateMap"
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
33 #set $objectiveChoice = "4x"
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
34 #set $startStage = "72"
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
35 #set $plateName = "Experiment:0"
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
36 #set $ignoreConcentration = "true"
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
37 #set $ignorePassage = "true"
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
38 #set $ignoreSeeding = "true"
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
39 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
40
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
41 ## Prefix to directories provided by users
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
42 #set $prefix = "/data/mount_s3/image_storage/"
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
43 ## Prepare input and output directories to match groovy expectations
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
44 mkdir input &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
45 mkdir output &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
46 #if str($structure.structure_type) == "directory":
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
47 #set $original_file = ""
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
48 #if str($structure.phase_dir_s3) != "":
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
49 #if not os.path.isdir($prefix + "/" + str($structure.phase_dir_s3)):
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
50 echo "'${prefix}/${structure.phase_dir_s3}'" &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
51 echo "Phase dir $structure.phase_dir_s3 does not exists" &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
52 exit 1 &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
53 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
54 mkdir input/Phase/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
55 ln -s '${prefix}/${structure.phase_dir_s3}/'*'${structure.pattern}'* input/Phase/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
56 #set $original_file = str($structure.phase_dir_s3)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
57 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
58 #if str($structure.green_dir_s3) != "":
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
59 #if not os.path.isdir($prefix + "/" + str($structure.green_dir_s3)):
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
60 echo "Green dir $structure.green_dir_s3 does not exists" &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
61 exit 1 &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
62 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
63 mkdir input/Green/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
64 ln -s '${prefix}/${structure.green_dir_s3}/'*'${structure.pattern}'* input/Green/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
65 #set $original_file = $original_file + "," + str($structure.green_dir_s3)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
66 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
67 #if str($structure.red_dir_s3) != "":
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
68 #if not os.path.isdir($prefix + "/" + str($structure.red_dir_s3)):
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
69 echo "Red dir $structure.red_dir_s3 does not exists" &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
70 exit 1 &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
71 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
72 mkdir input/Red/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
73 ln -s '${prefix}/${structure.red_dir_s3}/'*'${structure.pattern}'* input/Red/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
74 #set $original_file = $original_file + "," + str($structure.red_dir_s3)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
75 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
76 #else:
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
77 #if not os.path.isdir($prefix + "/" + str($structure.base_dir)):
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
78 echo "Base dir $structure.base_dir does not exists" &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
79 exit 1 &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
80 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
81 #set $original_file = str($structure.base_dir)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
82 #if str($structure.phase_key) != "":
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
83 mkdir input/Phase/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
84 ln -s '${prefix}/${structure.base_dir}/'*'${structure.phase_key}'* input/Phase/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
85 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
86 #if str($structure.green_key) != "":
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
87 mkdir input/Green/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
88 ln -s '${prefix}/${structure.base_dir}/'*'${structure.green_key}'* input/Green/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
89 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
90 #if str($structure.red_key) != "":
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
91 mkdir input/Red/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
92 ln -s '${prefix}/${structure.base_dir}/'*'${structure.red_key}'* input/Red/ &&
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
93 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
94 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
95 ## Run the groovy
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
96 ImageJ --ij2 --headless --console --run '$__tool_directory__/'stack_buildXml.groovy
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
97 'base_dir="input/",output_dir="output/",incucyteXMLFile="$incucyteXMLFile",objectiveChoice="$objectiveChoice",nWells="${nWells}",n_images_per_well="${n_images_per_well}",plateName="$plateName",commonKeyValues="original_file=${original_file};start_stage=$startStage",xmlName="$plateName",ignoreConcentration="$ignoreConcentration",ignorePassage="$ignorePassage",ignoreSeeding="$ignoreSeeding"' > output.log
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
98 ## Upload to omero
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
99 #if str($upload_omero.upload_omero_select) == "yes":
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
100 && bash '$__tool_directory__/'upload_omero.sh '$upload_omero.omero_host' '$credentials' '$upload_omero.screen.screen_create' '$upload_omero.screen.screenNameOrID' >> output.log
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
101 ## Copy the companion.ome
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
102 && cp output/*.companion.ome output.companion.ome
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
103 #end if
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
104 ]]></command>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
105 <configfiles>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
106 <configfile name="credentials"><![CDATA[
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
107 #set $username = $__user__.extra_preferences.get('omero_account|username', "")
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
108 #set $password = $__user__.extra_preferences.get('omero_account|password', "")
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
109 $username
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
110 $password
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
111 ]]></configfile>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
112 </configfiles>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
113 <inputs>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
114 <conditional name="structure">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
115 <param name="structure_type" type="select" label="How are your data organized?" >
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
116 <option value="directory">One directory per channel</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
117 <option value="keyword">All channels into the same directory</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
118 </param>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
119 <when value="directory">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
120 <param name="phase_dir_s3" type="text" value="" label="Directory on s3 with Phase images (leave empty if no)" help="For example Pierre/EXP001/My_expe_Phase"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
121 <param name="green_dir_s3" type="text" value="" label="Directory on s3 with Green images (leave empty if no)" help="For example Pierre/EXP001/My_expe_Green"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
122 <param name="red_dir_s3" type="text" value="" label="Directory on s3 with Red images (leave empty if no)" help="For example Pierre/EXP001/My_expe_Red"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
123 <param name="pattern" type="text" value="" label="Pattern to restrict to only some wells" help="For example A2"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
124 </when>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
125 <when value="keyword">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
126 <param name="base_dir" type="text" value="" label="Directory on s3 with all images" help="For example Lucille/MyIncucyte/20230213/"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
127 <param name="phase_key" type="text" value="" label="Word that can identify all Phase images (leave empty if no)" help="For example Phase or Brightfield"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
128 <param name="green_key" type="text" value="" label="Word that can identify all Green images (leave empty if no)" help="For example Green or green or GFP"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
129 <param name="red_key" type="text" value="" label="Word that can identify all Red images (leave empty if no)" help="For example Red or red"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
130 </when>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
131 </conditional>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
132 <param name="nWells" type="select" label="Number of wells into your plate" >
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
133 <option value="96">96</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
134 <option value="384">384</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
135 </param>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
136 <param name="n_images_per_well" type="integer" min="1" value="1" label="Maximum number of images per well" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
137 <conditional name="upload_omero">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
138 <param name="upload_omero_select" type="select" label="Upload your images to omero?" >
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
139 <option value="yes">Yes</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
140 <option value="no">No</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
141 </param>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
142 <when value="yes">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
143 <param name="incucyteXMLFile" type="data" format="xml" label="Incucyte PlateMap" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
144 <param name="objectiveChoice" type="select" label="Select the objective used">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
145 <option value="4x">4x</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
146 <option value="10x">10x</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
147 <option value="20x">20x</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
148 </param>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
149 <param name="startStage" type="integer" min="0" value="72" label="Stage in hour at first acquisition"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
150 <param name="omero_host" type="text" label="OMERO host URL">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
151 <validator type="regex" message="Enter a valid host location, for example, your.omero.server">^[a-zA-Z0-9._-]*$</validator>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
152 <validator type="expression" message="No two dots (..) allowed">'..' not in value</validator>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
153 </param>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
154 <param name="plateName" type="text" value="Experiment:0" label="Name of the plate (on omero)" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
155 <conditional name="screen">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
156 <param name="screen_create" type="select" label="Create the screen on OMERO or use existing one">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
157 <option value="create">Create a new one</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
158 <option value="exists">Use an existing one</option>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
159 </param>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
160 <when value="create">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
161 <param name="screenNameOrID" type="text" value="MyNewScreen" label="Name of the screen (on omero)" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
162 </when>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
163 <when value="exists">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
164 <param name="screenNameOrID" type="integer" min="0" value="605" label="ID of the screen (on omero)" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
165 </when>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
166 </conditional>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
167 <param name="get_stacks_in_galaxy" type="boolean" checked="false" label="Get stacks in galaxy" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
168 <param name="ignoreConcentration" type="boolean" checked="true" label="Ignore the concentration of compounds from the plateMap" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
169 <param name="ignorePassage" type="boolean" checked="true" label="Ignore the passage number of Cells from the plateMap" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
170 <param name="ignoreSeeding" type="boolean" checked="true" label="Ignore the seeding concentration of Cells from the plateMap" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
171 </when>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
172 <when value="no">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
173 <param name="get_stacks_in_galaxy" type="hidden" value="true"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
174 </when>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
175 </conditional>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
176 </inputs>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
177 <outputs>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
178 <data name="logfile" format="txt" from_work_dir="output.log" label="${tool.name} on ${on_string}: logfile" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
179 <collection name="list_output" type="list" label="${tool.name} on ${on_string}: Stacks">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
180 <discover_datasets pattern="(?P&lt;designation&gt;.+)\.tif" directory="output/" ext="tiff" />
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
181 <filter>upload_omero['get_stacks_in_galaxy']</filter>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
182 </collection>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
183 <data format="xml" name="companion_ome" from_work_dir="output.companion.ome" label="${tool.name} on ${on_string}: companion.ome" >
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
184 <filter>upload_omero['get_stacks_in_galaxy'] and upload_omero['upload_omero_select'] == "yes"</filter>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
185 </data>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
186 </outputs>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
187 <tests>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
188 <test>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
189 <conditional name="structure">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
190 <param name="structure_type" value="directory"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
191 <param name="phase_dir_s3" value="tutu_Phase"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
192 <param name="green_dir_s3" value="toto_Green"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
193 </conditional>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
194 <conditional name="upload_omero">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
195 <param name="upload_omero_select" value="no"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
196 </conditional>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
197 <output name="logfile">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
198 <assert_contents>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
199 <has_line line="No match for B1"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
200 </assert_contents>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
201 </output>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
202 <output_collection name="list_output" type="list" count="1">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
203 <element name="A1_1_merge" ftype="tiff">
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
204 <assert_contents>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
205 <has_size value="17574881" delta="1500000"/>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
206 </assert_contents>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
207 </element>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
208 </output_collection>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
209 </test>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
210 </tests>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
211 <help><![CDATA[
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
212
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
213 .. class:: infomark
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
214
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
215 **What it does**
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
216
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
217 It will use images coming from the Incucyte which are on the s3 server to make a "T-stack" per well and upload it to omero with key values in the plateMap.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
218 This wrapper uses ImageJ to combine images (with a groovy) and omero-py to import the images.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
219
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
220 Usage
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
221 .....
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
222
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
223
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
224 **Input**
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
225
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
226 - 3 paths of directories (some can be empty of phase, green and red) or one path of directory and 3 keywords (some of them can be empty)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
227 - plateMap generated with the software coming with Incucyte
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
228 - objective used (to correctly set the pixel size)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
229 - number of well in your plate (96 or 384), they don't need to be all in your input directories.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
230 - maximum number of images per well
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
231 - URL of omero
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
232 - Name of the Plate in omero
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
233 - Whether the Screen should be created or use an existing one
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
234 - Name of the new screen or id of the existing screen
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
235 - Whether the concentration of the compounds, the passage and the seeding concentration should be ignored from the plateMap.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
236
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
237 **Output**
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
238
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
239 - A log file with info
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
240 - Optionally all images as T-stack and the xml to upload to omero
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
241 - On OMERO your images all channels combined and all time points combined into a plate.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
242
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
243 **License**
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
244
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
245 License text::
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
246
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
247 *************************************************
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
248 Relative to the generation of the .companion.ome *
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
249 **************************************************
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
250 #%L
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
251 BSD implementations of Bio-Formats readers and writers
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
252 %%
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
253 The functions buildXML, makeImage, makePlate, postProcess and asString has been modified and adapted from
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
254 https://github.com/ome/bioformats/blob/master/components/formats-bsd/test/loci/formats/utests/SPWModelMock.java
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
255
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
256 Copyright (C) 2005 - 2015 Open Microscopy Environment:
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
257 - Board of Regents of the University of Wisconsin-Madison
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
258 - Glencoe Software, Inc.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
259 - University of Dundee
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
260
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
261 @author Chris Allan <callan at blackcat dot ca>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
262 %%
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
263
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
264 **************************************************
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
265 Relative to the rest of the script *
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
266 **************************************************
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
267
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
268 * = AUTHOR INFORMATION =
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
269 Code written by Rémy Dornier, EPFL - SV - PTECH - BIOP
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
270 and Romain Guiet, EPFL - SV - PTECH - BIOP
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
271 and Lucille Delisle, EPFL - SV - UPDUB
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
272 and Pierre Osteil, EPFL - SV - UPDUB
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
273
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
274 Last modification: 2023-08-24
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
275
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
276 = COPYRIGHT =
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
277 © All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, BioImaging And Optics Platform (BIOP), 2023
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
278
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
279 Licensed under the BSD-3-Clause License:
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
280 Redistribution and use in source and binary forms, with or without modification, are permitted provided
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
281 that the following conditions are met:
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
282 1. Redistributions of source code must retain the above copyright notice,
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
283 this list of conditions and the following disclaimer.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
284 2. Redistributions in binary form must reproduce the above copyright notice,
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
285 this list of conditions and the following disclaimer
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
286 in the documentation and/or other materials provided with the distribution.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
287 3. Neither the name of the copyright holder nor the names of its contributors
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
288 may be used to endorse or promote products
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
289 derived from this software without specific prior written permission.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
290
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
291 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
292 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
293 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
294 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
295 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
296 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
297 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
298 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
299 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
300 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
301 POSSIBILITY OF SUCH DAMAGE.
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
302 ]]></help>
e1cba36becb2 planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/incucyte_stack_and_upload_omero commit 4ac9b1d66ba6857357867c8eccb6c9d1ad603364
lldelisle
parents:
diff changeset
303 </tool>