annotate hexrd_find_orientations.xml @ 8:4bb02acaaabc draft

"planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 15bca193042c05f262db5cb1efe70e2cbd567615-dirty"
author ximgchess
date Thu, 20 Jan 2022 17:56:47 +0000
parents baba452d0613
children a35bda7ed678
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
164e881c40e2 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit c726809ab8080a1196c537fba343d0ba78333636"
ximgchess
parents: 5
diff changeset
1 <tool id="hexrd_find_orientations" name="HEXRD find-orientations" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" python_template_version="3.5">
5
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
2 <description>Process rotation image series to find grain orientations</description>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
3 <macros>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
4 <import>macros.xml</import>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
5 </macros>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
6 <expand macro="requirements" />
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
8 cp '$config_yml' $config &&
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
9 cp '$config_yml' config.yml &&
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
10 ## symlink input files
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
11 @CMD_LINKS@
8
4bb02acaaabc "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 15bca193042c05f262db5cb1efe70e2cbd567615-dirty"
ximgchess
parents: 7
diff changeset
12 hexrd find-orientations --clean config.yml &&
5
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
13 @CONVERT2TAB@ &&
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
14 cp find-orientations_analysis_*.log '$log' &&
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
15 cp accepted_orientations_analysis_*.dat '$accepted_orientations' &&
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
16 cp scored_orientations_analysis_*.npz '$score_orientations' &&
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
17 cp analysis_*_eta-ome_maps.npz '$ome_maps'
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
18 ]]></command>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
19 <configfiles>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
20 <configfile name="config_yml"><![CDATA[@FIND_ORIENTATIONS_YML@
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
21 ]]></configfile>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
22 </configfiles>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
23
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
24 <inputs>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
25 <expand macro="find_orientations_config"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
26 </inputs>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
27 <outputs>
7
baba452d0613 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit c6c9ce811a27cdee735c2eeac9f6a29f95d9ae90"
ximgchess
parents: 6
diff changeset
28 <data name="config" format="yaml" label="${tool.name} on ${on_string}: ${active_material}_config.yml"/>
5
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
29 <data name="log" format="txt" label="${tool.name} on ${on_string}: find-orientations_analysis_${active_material}.log"/>
6
164e881c40e2 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit c726809ab8080a1196c537fba343d0ba78333636"
ximgchess
parents: 5
diff changeset
30 <data name="ome_maps" format="hexrd.eta_ome.npz" label="${tool.name} on ${on_string}: analysis_${active_material}_eta-ome_maps.npz"/>
7
baba452d0613 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit c6c9ce811a27cdee735c2eeac9f6a29f95d9ae90"
ximgchess
parents: 6
diff changeset
31 <data name="score_orientations" format="npz" label="${tool.name} on ${on_string}: scored_orientations_analysis_${active_material}.npz"/>
baba452d0613 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit c6c9ce811a27cdee735c2eeac9f6a29f95d9ae90"
ximgchess
parents: 6
diff changeset
32 <data name="accepted_orientations" format="tabular" label="${tool.name} on ${on_string}: accepted_orientations_analysis_${active_material}.dat"/>
5
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
33 <data name="grains" format="tabular" label="${tool.name} on ${on_string}: grains.out" from_work_dir="analysis/grains.out" />
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
34 </outputs>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
35 <tests>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
36 <test>
7
baba452d0613 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit c6c9ce811a27cdee735c2eeac9f6a29f95d9ae90"
ximgchess
parents: 6
diff changeset
37 <param name="inputs" ftype="hexrd.images.npz" value="RUBY_0000-fc_GE.npz,RUBY_0001-fc_GE.npz,RUBY_0002-fc_GE.npz,RUBY_0003-fc_GE.npz,RUBY_0004-fc_GE.npz,RUBY_0005-fc_GE.npz"/>
5
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
38 <conditional name="detector">
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
39 <param name="panel_assignment" value="infer_from_name"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
40 </conditional>
7
baba452d0613 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit c6c9ce811a27cdee735c2eeac9f6a29f95d9ae90"
ximgchess
parents: 6
diff changeset
41 <param name="instrument" ftype="yaml" value="ge_detector.yml"/>
5
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
42 <param name="material" ftype="hexrd.materials.h5" value="materials.h5"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
43 <param name="active_material" value="ruby"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
44 <section name="orientation_maps">
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
45 <param name="threshold" value="25"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
46 <param name="bin_frames" value="1"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
47 <param name="active_hkls" value="0,1,2,3,4,5"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
48 </section>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
49 <section name="search_options">
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
50 <conditional name="search">
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
51 <param name="search_type" value="seed_search"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
52 <param name="hkl_seeds" value="0,1,2"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
53 <param name="fiber_step" value="0.5"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
54 <conditional name="params">
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
55 <param name="method" value="label"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
56 <param name="filter_radius" value="1"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
57 <param name="threshold" value="1"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
58 </conditional>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
59 </conditional>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
60 </section>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
61 <section name="omega">
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
62 <param name="omega_tolerance" value="1.0"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
63 </section>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
64 <section name="eta">
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
65 <param name="eta_tolerance" value="1.0"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
66 <param name="eta_mask" value="5.0"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
67 </section>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
68 <section name="clustering">
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
69 <param name="clustering_algorithm" value="dbscan"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
70 <param name="clustering_radius" value="1.0"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
71 <param name="clustering_completeness" value="0.85"/>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
72 </section>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
73 <output name="grains">
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
74 <assert_contents>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
75 <has_text text="6.6655" />
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
76 </assert_contents>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
77 </output>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
78 </test>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
79 </tests>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
80 <help><![CDATA[
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
81 **HEXRD find-orientations**
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
82 @HEXRD_HELP@
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
83 @COMMON_INPUTS_HELP@
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
84 @FIND_ORIENTATIONS_OUTPUTS_HELP@
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
85 ]]></help>
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
86 <expand macro="citations" />
36f0e168e5ef "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 0db0d2633f65e2ceca2e34c8899a52b18965d059-dirty"
ximgchess
parents:
diff changeset
87 </tool>