Mercurial > repos > perssond > ashlar
annotate ashlar.xml @ 4:0b8423c7ee3e draft default tip
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
| author | goeckslab |
|---|---|
| date | Wed, 26 Feb 2025 18:09:34 +0000 |
| parents | ef68bc2a4dbc |
| children |
| rev | line source |
|---|---|
|
4
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
1 <tool id="ashlar" name="ASHLAR" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.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 |
|
3
ef68bc2a4dbc
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 69f200fcfa0b1d17de50466c51d8c5468fdeb54c
goeckslab
parents:
2
diff
changeset
|
54 #if $adv.stitch_alpha |
|
ef68bc2a4dbc
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 69f200fcfa0b1d17de50466c51d8c5468fdeb54c
goeckslab
parents:
2
diff
changeset
|
55 --stitch-alpha $adv.stitch_alpha |
|
ef68bc2a4dbc
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 69f200fcfa0b1d17de50466c51d8c5468fdeb54c
goeckslab
parents:
2
diff
changeset
|
56 #end if |
|
ef68bc2a4dbc
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 69f200fcfa0b1d17de50466c51d8c5468fdeb54c
goeckslab
parents:
2
diff
changeset
|
57 |
|
0
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
58 #if $adv.filter_sigma |
|
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
59 --filter-sigma $adv.filter_sigma |
|
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 #if $adv.tile_size |
|
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
63 --tile-size $adv.tile_size |
|
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
64 #end if |
|
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
65 |
|
1
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
66 #if $lffp |
|
0
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
67 --ffp |
|
1
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
68 #for $ffp in $lffp: |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
69 '$clean($ffp,"ffp")' |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
70 #end for |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
71 #end if |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
72 |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
73 #if $ldfp |
|
0
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
74 --dfp |
|
1
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
75 #for $dfp in $ldfp: |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
76 '$clean($dfp,"dfp")' |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
77 #end for |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
78 #end if |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
79 |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
80 $adv.flip_mosaic_x |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
81 $adv.flip_mosaic_y |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
82 |
|
3
ef68bc2a4dbc
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 69f200fcfa0b1d17de50466c51d8c5468fdeb54c
goeckslab
parents:
2
diff
changeset
|
83 -o registered.ome.tif; |
|
4
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
84 |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
85 #if $rename.decide == "do_rename" |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
86 python3 '${__tool_directory__}/rename_channels.py' |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
87 --image registered.ome.tif |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
88 --markers '$rename.markers_file'; |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
89 #end if |
|
0
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"/> |
|
4
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
99 <conditional name="rename"> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
100 <param name="decide" type="select" label="Rename channels in OME-XML metadata"> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
101 <option value="do_rename">Rename channels</option> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
102 <option value="dont_rename" selected="true">Leave channel indices</option> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
103 </param> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
104 <when value="do_rename"> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
105 <param name="markers_file" type="data" format="csv" label="Markers File"/> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
106 </when> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
107 <when value="dont_rename"> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
108 </when> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
109 </conditional> |
|
0
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"/> |
|
3
ef68bc2a4dbc
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 69f200fcfa0b1d17de50466c51d8c5468fdeb54c
goeckslab
parents:
2
diff
changeset
|
112 <param name="stitch_alpha" type="float" optional="true" label="Alpha"/> |
|
0
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
113 <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
|
114 <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
|
115 <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
|
116 <param name="flip_mosaic_y" type="boolean" truevalue="--flip-mosaic-y" falsevalue="" label="Flip output image vertically"/> |
|
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> |
|
3
ef68bc2a4dbc
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 69f200fcfa0b1d17de50466c51d8c5468fdeb54c
goeckslab
parents:
2
diff
changeset
|
133 <has_size value="500000" delta="400000" /> |
|
1
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> |
|
4
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
137 <test> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
138 <param name="lraw"> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
139 <collection type="list"> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
140 <element name="rR1" value="ashlar_test_c0.tiff" /> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
141 <element name="rR2" value="ashlar_test_c1.tiff" /> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
142 </collection> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
143 </param> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
144 <conditional name="rename"> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
145 <param name="decide" value="do_rename" /> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
146 <param name="markers_file" value="ashlar_test_markers.csv" /> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
147 </conditional> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
148 <output name="output" ftype="ome.tiff"> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
149 <assert_contents> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
150 <has_size value="500000" delta="400000" /> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
151 </assert_contents> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
152 </output> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
153 <assert_stdout> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
154 <has_text text="DAPI" /> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
155 <has_text text="CD3" /> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
156 <has_text text="µm" /> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
157 </assert_stdout> |
|
0b8423c7ee3e
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit d1f9d43d20432cc958e340271ba63c85a17ff338
goeckslab
parents:
3
diff
changeset
|
158 </test> |
|
1
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
159 </tests> |
|
0
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
160 <help><![CDATA[ |
|
1
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
161 -------------------------------------------------------------------------------- |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
162 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
|
163 -------------------------------------------------------------------------------- |
|
0
b3054f3d42b2
"planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 27f0c9be58e9e5aecc69067d0e60b5cb945de4b2-dirty"
perssond
parents:
diff
changeset
|
164 |
|
1
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
165 **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
|
166 |
|
1
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
167 **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
|
168 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
|
169 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
|
170 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
|
171 as pyramidal, tiled OME-TIFF. |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
172 |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
173 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
|
174 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
|
175 images. |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
176 |
|
f183d9de4622
planemo upload for repository https://github.com/ohsu-comp-bio/ashlar commit 95998c84e130c9f3d2183591957464df7d90dd53
goeckslab
parents:
0
diff
changeset
|
177 *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
|
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> |
