annotate ashlar.xml @ 0:b3054f3d42b2 draft

"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
author perssond
date Fri, 12 Mar 2021 00:14:49 +0000
parents
children f183d9de4622
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
1 <tool id="ashlar" name="ASHLAR" version="@VERSION@.6" profile="17.09">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
2 <description>Alignment by Simultaneous Harmonization of Layer/Adjacency Registration</description>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
3 <macros>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
4 <import>macros.xml</import>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
5 </macros>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
6
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
7 <expand macro="requirements"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
8 @VERSION_CMD@
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
9
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
11
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
12 #def clean(file,type)
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
13 #set name_clean = str($file.element_identifier).replace('.ome.tiff','').replace('.tiff','').replace('.tiff.','')
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
14
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
15 #if $type == "raw"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
16 #set file_clean = $name_clean + ".ome.tiff"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
17 #elif $type == "ffp"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
18 #set file_clean = $name_clean + "_ffp.ome.tiff"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
19 #elif $type == "dfp"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
20 #set file_clean = $name_clean + "_dfp.ome.tiff"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
21 #end if
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
22
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
23 #return $file_clean
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
24 #end def
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
25
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
26 ## Link the illumination files to appropriate file extension
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
27 #for $dfp in $ldfp:
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
28 ln -s "$dfp" "$clean($dfp,"dfp")" &&
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
29 #end for
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
30 #for $ffp in $lffp:
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
31 ln -s "$ffp" "$clean($ffp,"ffp")" &&
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
32 #end for
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
33
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
34 @CMD_BEGIN@
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
35
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
36 ## Supply the raw images
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
37 #for $raw in $lraw:
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
38 "$raw"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
39 #end for
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
40
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
41 ## Additional arguments
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
42 -m $max_shift
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
43
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
44 #if $flip_x
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
45 --flip-x
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
46 #end if
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
47
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
48 #if $flip_y
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
49 --flip-y
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
50 #end if
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
51
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
52 -c $adv.align_channel
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
53
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
54 #if $adv.filter_sigma
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
55 --filter-sigma $adv.filter_sigma
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
56 #end if
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
57
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
58 #if $adv.tile_size
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
59 --tile-size $adv.tile_size
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
60 #end if
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
61
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
62 --ffp
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
63 #for $ffp in $lffp:
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
64 "$clean($ffp,"ffp")"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
65 #end for
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
66 --dfp
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
67 #for $dfp in $ldfp:
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
68 "$clean($dfp,"dfp")"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
69 #end for
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
70 --pyramid
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
71 -f registered.ome.tif;
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
72
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
73 #if $upgrade.decide == "do_upgrade"
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
74 python ${__tool_directory__}/pyramid_upgrade.py
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
75 registered.ome.tif
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
76
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
77 #if $upgrade.markers_file
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
78 -n `python "$get_markers" "${upgrade.markers_file}"`
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
79 #end if
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
80 #end if
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
81 ]]></command>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
82
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
83 <configfiles>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
84 <configfile name="get_markers">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
85 import pandas as pd
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
86 import sys
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
87
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
88 marker_file = sys.argv[1]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
89 df = pd.read_csv(marker_file)
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
90 print(' '.join(df['marker_name'].array))
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
91 </configfile>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
92 </configfiles>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
93
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
94
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
95
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
96 <inputs>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
97 <param name="lraw" type="data_collection" format="tiff" collection_type="list" label="Raw Images"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
98 <param name="ldfp" type="data_collection" format="tiff" collection_type="list" label="Deep Field Profile Images"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
99 <param name="lffp" type="data_collection" format="tiff" collection_type="list" label="Flat Field Profile Images"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
100
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
101 <param name="flip_x" type="boolean" value="false" label="Flip X-axis"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
102 <param name="flip_y" type="boolean" value="false" label="Flip Y-axis"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
103
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
104 <param name="max_shift" type="integer" value="30" label="Maximum allowed per-tile corrective shift" help="In micros"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
105
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
106 <conditional name="upgrade">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
107 <param name="decide" type="select" label="Upgrade to BF6-Compliant OME-TIFF Pyramid">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
108 <option value="do_upgrade">Upgrade Pyramid</option>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
109 <option value="dont_upgrade">Leave Legacy Pyramid</option>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
110 </param>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
111 <when value="do_upgrade">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
112 <param name="markers_file" type="data" format="csv,tabular" optional="true" label="Markers File (optional)"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
113 </when>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
114 <when value="dont_upgrade">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
115 </when>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
116 </conditional>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
117 <section name="adv" title="Advanced Options" expanded="false">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
118 <param name="align_channel" type="integer" value="0" label="Align Channel Number"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
119 <param name="filter_sigma" type="float" optional="true" label="Sigma"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
120 <param name="tile_size" type="integer" optional="true" label="Cyto Mask Channel"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
121 </section>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
122 </inputs>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
123
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
124 <outputs>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
125 <data format="tiff" name="output" from_work_dir="registered.ome.tif" label="${tool.name} on ${on_string}"/>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
126 </outputs>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
127 <help><![CDATA[
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
128 Ashlar python package for microscopy registration, developed by HMS (repo: https://github.com/labsyspharm/ashlar)
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
129 ashlar [-h] [-o DIR] [-c [CHANNEL]]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
130 [--output-channels [CHANNEL [CHANNEL ...]]] [-m SHIFT]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
131 [--filter-sigma SIGMA] [-f FORMAT] [--pyramid]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
132 [--tile-size PIXELS] [--ffp [FILE [FILE ...]]]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
133 [--dfp [FILE [FILE ...]]] [--plates] [-q] [--version]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
134 [FILE [FILE ...]]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
135
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
136 Stitch and align one or more multi-series images
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
137
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
138 positional arguments:
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
139 FILE an image file to be processed (one file per cycle)
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
140
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
141 optional arguments:
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
142 -h, --help show this help message and exit
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
143 -o DIR, --output DIR write output image files to DIR; default is the
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
144 current directory
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
145 -c [CHANNEL], --align-channel [CHANNEL]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
146 align images using channel number CHANNEL; numbering
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
147 starts at 0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
148 --output-channels [CHANNEL [CHANNEL ...]]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
149 output only channels listed in CHANNELS; numbering
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
150 starts at 0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
151 -m SHIFT, --maximum-shift SHIFT
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
152 maximum allowed per-tile corrective shift in microns
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
153 --filter-sigma SIGMA width in pixels of Gaussian filter to apply to images
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
154 before alignment; default is 0 which disables
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
155 filtering
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
156 -f FORMAT, --filename-format FORMAT
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
157 use FORMAT to generate output filenames, with {cycle}
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
158 and {channel} as required placeholders for the cycle
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
159 and channel numbers; default is
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
160 cycle_{cycle}_channel_{channel}.tif
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
161 --pyramid write output as a single pyramidal TIFF
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
162 --tile-size PIXELS set tile width and height to PIXELS (pyramid output
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
163 only); default is 1024
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
164 --ffp [FILE [FILE ...]]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
165 read flat field profile image from FILES; if specified
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
166 must be one common file for all cycles or one file for
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
167 each cycle
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
168 --dfp [FILE [FILE ...]]
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
169 read dark field profile image from FILES; if specified
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
170 must be one common file for all cycles or one file for
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
171 each cycle
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
172 --plates enable plate mode for HTS data
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
173 -q, --quiet suppress progress display
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
174 --version print version
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
175
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
176 OHSU Wrapper Repo: https://github.com/ohsu-comp-bio/ashlar
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
177 Conda Package Available From: https://anaconda.org/ohsu-comp-bio/ashlar
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
178 ]]></help>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
179 <expand macro="citations" />
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
180 </tool>