annotate macros.xml @ 2:f0db3e3b9d99 draft

"planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
author ximgchess
date Mon, 07 Dec 2020 22:32:14 +0000
parents a0be4e3aa66d
children 54513f5fc836
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
1 <macros>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
2 <token name="@TOOL_VERSION@">0.8.0</token>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
3 <xml name="requirements">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
4 <requirements>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
5 <requirement type="package" version="@TOOL_VERSION@">hexrd</requirement>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
6 <yield/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
7 </requirements>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
8 </xml>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
9 <xml name="citations">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
10 <citations>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
11 <citation type="doi">10.1016/j.matchar.2020.110366</citation>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
12 <yield />
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
13 </citations>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
14 </xml>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
15
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
16 <token name="@CMD_IMPORTS@">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
17 #import re
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
18 #import yaml
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
19
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
20 #set global $img_panel_dict = dict()
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
21 #if $detector.panel_assignment == 'panel_table'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
22 #set $fh = open(str($detector.image_panel_table),'r')
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
23 #for $line in $fh:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
24 #set $fields = $line.strip().split('\t')
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
25 #silent $img_panel_dict[$fields[0]] = $fields[1]
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
26 #end for
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
27 #end if
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
28 #set global $panels = $yaml.safe_load(open(str($instrument),'r'))['detectors'].keys()
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
29 #def identifier_or_name($input1)
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
30 #if hasattr($input1, 'element_identifier')
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
31 #return $input1.element_identifier
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
32 #elif hasattr($input1, 'name')
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
33 #return $input1.name
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
34 #else
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
35 #return str($input1)
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
36 #end if
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
37 #end def
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
38 #def clean($name1)
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
39 #set $name_clean = $re.sub('[^\w\-_]', '_', $re.sub('(?i)[.](npz|hexrd|yml|dat|out)$','', $name1.split()[-1]))
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
40 #return $name_clean
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
41 #end def
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
42 #def ln_name($ds,$ext)
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
43 #set $lname = "%s.%s" % ($clean($identifier_or_name($ds)),$ext)
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
44 #return $lname
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
45 #end def
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
46 #def get_panel($img_input):
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
47 #set $img_name = $identifier_or_name($img_input)
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
48 #if $img_panel_dict and $img_name in $img_panel_dict:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
49 #return $img_panel_dict[$img_name]
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
50 #end if
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
51 #for $p in $panels:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
52 #if $p in $img_name:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
53 #return $p
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
54 #end if
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
55 #end for
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
56 #return $img_name
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
57 #end def
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
58 </token>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
59
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
60 <xml name="common_config" token_multiple_inputs="true" >
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
61 <param name="inputs" type="data" format="hexrd.npz" multiple="true" label="Image series frame-cache"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
62 <conditional name="detector">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
63 <param name="panel_assignment" type="select" label="Assign detector panel to images">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
64 <option value="infer_from_name" selected="true">Infer the panel from the image name</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
65 <option value="panel_table">Input a table with image panels assignments</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
66 </param>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
67 <when value="infer_from_name"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
68 <when value="panel_table">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
69 <param name="image_panel_table" type="data" format="tabular" label="Image panel assignment table">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
70 <help>A 2-column table:image dataset name detector panel name</help>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
71 </param>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
72 </when>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
73 </conditional>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
74 <param name="instrument" type="data" format="hexrd.yml" label="instrument"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
75 <param name="material" type="data" format="material.hexrd" label="material"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
76 <param name="active_material" type="text" value="" label="active material name">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
77 <validator type="empty_field" />
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
78 </param>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
79 </xml>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
80
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
81 <token name="@CMD_LINKS@"><![CDATA[@CMD_IMPORTS@
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
82 mkdir -p imageseries &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
83 ln -s '$material' $ln_name($material,'hexrd') &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
84 ln -s '$instrument' $ln_name($instrument,'yml') &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
85 #for $input in $inputs
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
86 ln -s '$input' imageseries/$ln_name($input,'npz') &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
87 #end for
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
88 ]]>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
89 </token>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
90 <token name="@FIT_GRAIN_LINKS@"><![CDATA[@CMD_LINKS@
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
91 ln -s '$ome_map' $ln_name($ome_map,'npz') &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
92 ln -s '$accepted_orientations' $ln_name($accepted_orientations,'dat') &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
93 ##mkdir -p analysis &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
94 ##cp '$grains_estimate' analysis/$ln_name($grains_estimate,'out') &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
95 ]]>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
96 </token>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
97
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
98 <token name="@CONVERT2TAB@"><![CDATA[for i in `find analysis -name '[gs]*.out'`; do sed -i.bak "s/[ ][ ][ ]*/\$(printf '\t')/g" \${i}; done]]></token>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
99
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
100 <token name="@COMMON_YML@"><![CDATA[@CMD_IMPORTS@
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
101 analysis_name: analysis
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
102
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
103 multiprocessing: -1
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
104
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
105 material:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
106 definitions: $ln_name($material,'hexrd')
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
107 active: $active_material
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
108
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
109 instrument: $ln_name($instrument,'yml')
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
110
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
111 image_series:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
112 format: frame-cache
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
113 data:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
114 #for $input in $inputs
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
115 - file: imageseries/$ln_name($input,'npz')
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
116 args: {}
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
117 panel: $get_panel($input) # must match detector key
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
118 #end for
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
119
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
120 ]]></token>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
121
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
122 <xml name="find_orientations_config">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
123 <expand macro="common_config" token_multiple_inputs="true" />
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
124 <section name="orientation_maps" title="Orientation Maps" expanded="true">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
125 <param name="threshold" type="integer" value="25" min="1" label="threshold"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
126 <param name="bin_frames" type="integer" value="1" label="bin frames"/>
2
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
127 <!-- active_hkls should be able to be optional="true" -->
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
128 <param name="active_hkls" type="text" value="" label="active hkl planes">
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
129 <help>commas separated list of planes, e.g.: 0,1,2,3,4,5</help>
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
130 <validator type="regex" message="plane indeces separated by commas">^\d(,\d)*$</validator>
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
131 </param>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
132 </section>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
133 <param name="on_map_threshold" type="integer" value="1" min="1" label="on-map threshold used in the scoring"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
134 <section name="search_options" title="Search Options" expanded="true">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
135 <conditional name="search">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
136 <param name="search_type" type="select" label="Specify Search">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
137 <option value="seed_search" selected="true">use seed search</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
138 <option value="use_quaternion_grid">use quaternion grid</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
139 </param>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
140 <when value="seed_search">
2
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
141 <!-- hkl_seeds should be able to be optional="true" -->
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
142 <param name="hkl_seeds" type="text" value="" label="hkl seeds">
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
143 <help>commas separated list of planes, e.g.: 0,1,2 (subset of active hkl planes)</help>
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
144 <validator type="regex" message="">^\d(,\d)*$</validator>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
145 </param>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
146 <param name="fiber_step" type="float" value="0.5" min="0" max="10" label="fiber step"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
147 <conditional name="params">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
148 <param name="method" type="select" label="Method">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
149 <option value="label" selected="true">label</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
150 <option value="blob_dog">blob_dog</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
151 <option value="blob_log">blob_log</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
152 </param>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
153 <when value="label">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
154 <param name="filter_radius" type="integer" value="1" min="1" label="label filter radius"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
155 <param name="threshold" type="integer" value="1" min="1" label="label threshold"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
156 </when>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
157 <when value="blob_dog">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
158 <param name="min_sigma" type="float" value="0.5" min="0" max="10" label="blob_dog min_sigma"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
159 <param name="max_sigma" type="float" value="5.0" min="0" max="10" label="blob_dog max_sigma"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
160 <param name="sigma_ratio" type="float" value="1.6" min="0" max="10" label="blob_dog sigma_ratio"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
161 <param name="threshold" type="float" value="0.01" min="0" max="1.0" label="blob_dog threshold"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
162 <param name="overlap" type="float" value="0.1" min="0" max="1.0" label="blob_dog overlap"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
163 </when>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
164 <when value="blob_log">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
165 <param name="min_sigma" type="float" value="0.5" min="0" max="10" label="blob_log min_sigma"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
166 <param name="max_sigma" type="float" value="5.0" min="0" max="10" label="blob_log max_sigma"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
167 <param name="num_sigma" type="integer" value="10" min="0" max="20" label="blob_log num_sigma"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
168 <param name="threshold" type="float" value="0.01" min="0" max="1.0" label="blob_log threshold"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
169 <param name="overlap" type="float" value="0.1" min="0" max="1.0" label="blob_log overlap"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
170 </when>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
171 </conditional>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
172 </when>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
173 <when value="use_quaternion_grid">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
174 <param name="quaternion_grid" type="data" format="hexrd.npz" label="quaterion grid file"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
175 </when>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
176 </conditional>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
177 </section>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
178 <section name="omega" title="Omega" expanded="true">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
179 <param name="omega_tolerance" type="float" value="1.0" min="0" max="10.0" label="omega tolerance"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
180 </section>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
181 <section name="eta" title="eta" expanded="true">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
182 <param name="eta_tolerance" type="float" value="1.0" min="0" max="10.0" label="eta tolerance"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
183 <param name="eta_mask" type="float" value="5.0" min="0" max="10.0" label="eta mask"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
184 </section>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
185 <section name="clustering" title="Clustering" expanded="true">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
186 <param name="clustering_algorithm" type="select" label="Clustering algorithm">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
187 <option value="dbscan" selected="true">dbscan</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
188 <option value="sph-dbscan">sph-dbscan</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
189 <option value="ort-dbscan">ort-dbscan</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
190 <option value="fclusterdata">fclusterdata (won't work for large problems)</option>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
191 </param>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
192 <param name="clustering_radius" type="float" value="1.0" min="0" max="10" label="clustering radius"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
193 <param name="clustering_completeness" type="float" value="0.85" min="0" max="1" label="clustering completeness threshold"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
194 </section>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
195 <!--
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
196 -->
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
197 </xml>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
198
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
199 <token name="@FIND_ORIENTATIONS_YML@"><![CDATA[@COMMON_YML@
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
200
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
201 #set active_hkls = 'all'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
202 #if $orientation_maps.active_hkls:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
203 #set active_hkls = '[' + str($orientation_maps.active_hkls) + ']'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
204 #end if
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
205 find_orientations:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
206 orientation_maps:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
207 # A file name must be specified. If it doesn't exist, one will be created
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
208 file: null
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
209
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
210 threshold: $orientation_maps.threshold
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
211 bin_frames: $orientation_maps.bin_frames # defaults to 1
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
212
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
213 # "all", or a list of hkl orders used to find orientations
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
214 # defaults to all orders listed in the material definition
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
215 active_hkls: $active_hkls
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
216
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
217 # either search full quaternion grid, or seed search based on sparse
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
218 # orientation maps. For input search space:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
219 #
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
220 # use_quaternion_grid: some/file/name
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
221 #
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
222 # otherwise defaults to seeded search
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
223 #if $search_options.search.search_type == 'use_quaternion_grid'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
224 use_quaternion_grid:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
225 #elif $search_options.search.search_type == 'seed_search'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
226 #set hkl_seeds = '[' + str($search_options.search.hkl_seeds) + ']'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
227 seed_search: # this section is ignored if use_quaternion_grid is defined
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
228 hkl_seeds: $hkl_seeds # hkls ids to use, must be defined for seeded search
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
229 fiber_step: $search_options.search.fiber_step # degrees, defaults to ome tolerance
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
230 # Method selection:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
231 # Now 3 choices: label (the original), 'blob_dog', and 'blob_log'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
232 # Each has its own parameter names, examples below.
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
233 #
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
234 method:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
235 #if $search_options.search.params.method == 'label'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
236 label:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
237 filter_radius: $search_options.search.params.filter_radius
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
238 threshold: $search_options.search.params.threshold
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
239 #elif $search_options.search.params.method == 'blob_dog'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
240 blob_dog:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
241 min_sigma: $search_options.search.params.min_sigma
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
242 max_sigma: $search_options.search.params.max_sigma
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
243 sigma_ratio: $search_options.search.params.sigma_ratio
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
244 threshold: $search_options.search.params.threshold
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
245 overlap: $search_options.search.params.overlap
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
246 #elif $search_options.search.params.method == 'blob_log'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
247 blob_log:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
248 min_sigma: $search_options.search.params.min_sigma
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
249 max_sigma: $search_options.search.params.max_sigma
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
250 num_sigma: $search_options.search.params.num_sigma
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
251 threshold: $search_options.search.params.threshold
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
252 overlap: $search_options.search.params.overlap
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
253 #end if
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
254 # this is the on-map threshold using in the scoring
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
255 # defaults to 1
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
256 #end if
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
257 threshold: $on_map_threshold
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
258
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
259 omega:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
260 tolerance: $omega.omega_tolerance # in degrees, defaults to 2x ome step
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
261
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
262 eta:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
263 tolerance: $eta.eta_tolerance # in degrees, defaults to 2x ome step
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
264 mask: $eta.eta_mask # degrees, mask angles close to ome rotation axis, defaults to 5
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
265
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
266 clustering:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
267 # algorithm choices are
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
268 # sph-dbscan
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
269 # ort-dbscn
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
270 # dbscan <default>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
271 # fclusterdata; this is a fallback and won't work for large problems
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
272 algorithm: $clustering.clustering_algorithm
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
273 radius: $clustering.clustering_radius
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
274 completeness: $clustering.clustering_completeness
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
275
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
276 ]]></token>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
277
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
278 <xml name="fit_grains_config">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
279 <expand macro="common_config" token_multiple_inputs="true"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
280 <param name="ome_map" type="data" format="hexrd.npz" label="analysis eta-ome_maps.npz from find_orientations"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
281 <param name="accepted_orientations" type="data" format="tabular" label="accepted_orientations from find_orientations"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
282 <param name="grains_estimate" type="data" format="tabular" label="grains.out from find_orientations"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
283 <param name="do_fit" type="boolean" truevalue="true" falsevalue="false" checked="true" label="fit grains" help="if false, extracts grains but doesn't fit"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
284 <param name="npdiv" type="integer" value="2" min="1" label="number of polar pixel grid subdivisions"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
285 <param name="threshold" type="integer" value="25" min="1" label="threshold"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
286 <section name="tolerance" title="Fit Grain Tolerance" expanded="true">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
287 <repeat name="tolerance_lists" title="Tolerance values" min="1">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
288 <param name="tth" type="float" value="" min="0" label="tth"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
289 <param name="eta" type="float" value="" min="0" label="eta"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
290 <param name="omega" type="float" value="" min="0" label="omega"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
291 </repeat>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
292 <param name="refit" type="text" value="1" label="refit">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
293 <validator type="regex" message="">^\d(,\d)*$</validator>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
294 </param>
1
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
295 <conditional name="max_tth">
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
296 <param name="tth_max_value" type="select" label="Set tth_max">
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
297 <option value="true" selected="true">true</option>
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
298 <option value="false">false</option>
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
299 <option value="entered">enter value</option>
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
300 </param>
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
301 <when value="true"/>
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
302 <when value="false"/>
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
303 <when value="entered">
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
304 <param name="tth_max" type="float" value="14.25" label="tth_max"/>
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
305 </when>
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
306 </conditional>
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
307 </section>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
308 </xml>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
309
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
310 <token name="@FIT_GRAINS_YML@"><![CDATA[@COMMON_YML@
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
311 find_orientations:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
312 orientation_maps:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
313 # A file name must be specified. If it doesn't exist, one will be created
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
314 file: $ln_name($ome_map,'npz')
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
315
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
316 fit_grains:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
317 do_fit: $do_fit # if false, extracts grains but doesn't fit. defaults to true
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
318 # estimate: null
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
319 npdiv: $npdiv # number of polar pixel grid subdivisions, defaults to 2
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
320 threshold: $threshold
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
321
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
322 #set $tth = []
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
323 #set $eta = []
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
324 #set $omega = []
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
325 #set refit = '[' + str($tolerance.refit) + ']'
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
326 #for $tol in $tolerance.tolerance_lists
2
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
327 #silent $tth.append(float($tol.tth))
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
328 #silent $eta.append(float($tol.eta))
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
329 #silent $omega.append(float($tol.omega))
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
330 #end for
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
331 tolerance:
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
332 tth: $tth # tolerance lists must be identical length
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
333 eta: $eta
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
334 omega: $omega
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
335
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
336 refit: $refit
1
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
337 #if $tolerance.max_tth.tth_max_value == 'entered':
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
338 tth_max: $tolerance.max_tth.tth_max # true, false, or a non-negative value, defaults to true
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
339 #else
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
340 tth_max: $tolerance.max_tth.tth_max_value # true, false, or a non-negative value, defaults to true
a0be4e3aa66d "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 67d86b67fe5eb83766a49254241307dc1d363697"
ximgchess
parents: 0
diff changeset
341 #end if
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
342 ]]></token>
2
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
343 <token name="@HEXRD_HELP@"><![CDATA[
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
344 HEXRD_ provides analysis of x-ray diffraction data, especially high-energy x-ray diffraction. HEXRD is comprised of a library and API for writing scripts, a command line interface, and an interactive graphical user interface.
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
345
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
346 .. _HEXRD: https://github.com/HEXRD/hexrd
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
347 ]]></token>
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
348
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
349 <token name="@COMMON_INPUTS_HELP@"><![CDATA[
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
350
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
351 **INPUTS**
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
352
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
353 - imageseries - Detector image files converted to sparse matrix compressed numpy arrays.
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
354 - instrument - A yaml file that decribes the instrument
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
355 - materials.hexrd - A "pickled" hexrd Materials object that desscribes the sample material
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
356 ]]></token>
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
357 <token name="@FIT_GRAIN_INPUTS_HELP@"><![CDATA[@COMMON_INPUTS_HELP@
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
358 - analysis eta-ome_maps.npz from find_orientations
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
359 - accepted_orientations from find_orientations
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
360
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
361 ]]></token>
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
362
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
363 <token name="@COMMON_OUTPUTS_HELP@"><![CDATA[
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
364
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
365 **OUTPUTS**
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
366
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
367 - config yaml - parameter for hexrd
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
368 - log - the hexrd logging output
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
369 - grains.out
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
370 ]]></token>
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
371 <token name="@FIND_ORIENTATIONS_OUTPUTS_HELP@"><![CDATA[@COMMON_OUTPUTS_HELP@
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
372 - analysis eta-ome_maps.npz *(used as input for hexrd fit-grains)*
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
373 - analysis accepted_orientations_analysis.dat *(used as input for hexrd fit-grains)*
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
374 - analysis scored_orientations_analysis.npz
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
375 ]]></token>
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
376 <token name="@FIT_GRAINS_OUTPUTS_HELP@"><![CDATA[@COMMON_OUTPUTS_HELP@
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
377 - Collection of spots.out
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
378 ]]></token>
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 1
diff changeset
379
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
380
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
381 </macros>