annotate ashlar.xml @ 2:33ab2058c6d9 draft

planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 72a33d7c3ad18e717ec61c6b845099d69b9b7abd
author goeckslab
date Tue, 20 Sep 2022 17:33:50 +0000
parents f183d9de4622
children ef68bc2a4dbc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
1 <tool id="ashlar" name="ASHLAR" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="19.01">
0
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"/>
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
8 <expand macro="version_cmd"/>
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
9
2
33ab2058c6d9 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 72a33d7c3ad18e717ec61c6b845099d69b9b7abd
goeckslab
parents: 1
diff changeset
10 <command detect_errors="aggressive"><![CDATA[
0
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"
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
16 #set file_clean = $name_clean + '.ome.tiff'
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
17 #elif $type == "ffp"
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
18 #set file_clean = $name_clean + '_ffp.ome.tiff'
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
19 #elif $type == "dfp"
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
20 #set file_clean = $name_clean + '_dfp.ome.tiff'
0
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
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
27 #if $ldfp
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
28 #for $dfp in $ldfp:
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
29 ln -s '$dfp' '$clean($dfp,"dfp")' &&
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
30 #end for
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
31 #end if
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
32
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
33 #if $lffp
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
34 #for $ffp in $lffp:
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
35 ln -s '$ffp' '$clean($ffp,"ffp")' &&
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
36 #end for
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
37 #end if
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
38
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
39 @CMD_BEGIN@
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 ## Supply the raw images
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
42 #for $raw in $lraw:
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
43 '$raw'
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
44 #end for
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
45
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
46 ## Additional arguments
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
47 -m $max_shift
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
48
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
49 $flip_x
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
50 $flip_y
0
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
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
62 #if $lffp
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
63 --ffp
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
64 #for $ffp in $lffp:
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
65 '$clean($ffp,"ffp")'
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
66 #end for
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
67 #end if
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
68
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
69 #if $ldfp
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
70 --dfp
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
71 #for $dfp in $ldfp:
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
72 '$clean($dfp,"dfp")'
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
73 #end for
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
74 #end if
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
75
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
76 $adv.pyramid
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
77 $adv.flip_mosaic_x
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
78 $adv.flip_mosaic_y
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
79
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
80 -f registered.ome.tif;
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
81
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
82 #if $upgrade.decide == "do_upgrade"
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
83 python3 '${__tool_directory__}/pyramid_upgrade.py'
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
84 registered.ome.tif
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
85
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
86 #if $upgrade.markers_file
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
87 -n `echo \$(cat $upgrade.markers_file | tail -n +2 | awk -F, '{print \$3}')`;
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
88 #end if
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
89 #end if
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
90 ]]></command>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
91
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
92 <inputs>
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
93 <param name="lraw" type="data_collection" format="ome.tiff,tiff" collection_type="list" label="Raw Images"/>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
94 <param name="ldfp" type="data_collection" format="ome.tiff,tiff" collection_type="list" optional="true" label="Deep Field Profile Images"/>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
95 <param name="lffp" type="data_collection" format="ome.tiff,tiff" collection_type="list" optional="true" label="Flat Field Profile Images"/>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
96 <param name="flip_x" type="boolean" truevalue="--flip-x" falsevalue="" label="Flip X-axis"/>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
97 <param name="flip_y" type="boolean" truevalue="--flip-y" falsevalue="" label="Flip Y-axis"/>
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
98 <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
99 <conditional name="upgrade">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
100 <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
101 <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
102 <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
103 </param>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
104 <when value="do_upgrade">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
105 <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
106 </when>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
107 <when value="dont_upgrade">
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
108 </when>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
109 </conditional>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
110 <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
111 <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
112 <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
113 <param name="tile_size" type="integer" optional="true" label="Cyto Mask Channel"/>
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
114 <param name="flip_mosaic_x" type="boolean" truevalue="--flip-mosaic-x" falsevalue="" label="Flip output image horizontally"/>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
115 <param name="flip_mosaic_y" type="boolean" truevalue="--flip-mosaic-y" falsevalue="" label="Flip output image vertically"/>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
116 <param name="pyramid" type="boolean" checked="true" truevalue="--pyramid" falsevalue="" label="Write output as a single pyramidal TIFF"/>
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
117 </section>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
118 </inputs>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
119
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
120 <outputs>
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
121 <data format="ome.tiff" name="output" from_work_dir="registered.ome.tif" label="${tool.name} on ${on_string}"/>
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
122 </outputs>
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
123 <tests>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
124 <test>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
125 <param name="lraw">
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
126 <collection type="list">
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
127 <element name="rR1" value="ashlar_test_c0.tiff" />
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
128 <element name="rR2" value="ashlar_test_c1.tiff" />
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
129 </collection>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
130 </param>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
131 <output name="output" ftype="ome.tiff">
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
132 <assert_contents>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
133 <has_size value="4000000" delta="1000000" />
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
134 </assert_contents>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
135 </output>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
136 </test>
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
137 </tests>
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
138 <help><![CDATA[
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
139 --------------------------------------------------------------------------------
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
140 ASHLAR: Alignment by Simultaneous Harmonization of Layer/Adjacency Registration
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
141 --------------------------------------------------------------------------------
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
142
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
143 **Whole-slide microscopy image stitching and registration in Python**
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
144
1
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
145 **Ashlar** performs fast, high-quality stitching of microscopy images. It also
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
146 co-registers multiple rounds of cyclic imaging for methods such as CyCIF and
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
147 CODEX. Ashlar can read image data directly from BioFormats-supported microscope
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
148 vendor file formats as well as a directory of plain TIFF files. Output is saved
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
149 as pyramidal, tiled OME-TIFF.
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
150
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
151 Note that Ashlar requires unstitched individual "tile" images as input, so it is
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
152 not suitable for microscopes or slide scanners that only provide pre-stitched
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
153 images.
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
154
f183d9de4622 planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents: 0
diff changeset
155 *Visit https://labsyspharm.github.io/ashlar/ for the most up-to-date information on ASHLAR.*
0
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
156 ]]></help>
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
157 <expand macro="citations" />
b3054f3d42b2 "planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff changeset
158 </tool>