annotate hexrd_fit_grains.xml @ 3:54513f5fc836 draft

"planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit f29a6f52c76e068908ab2e1161314eb3edcfe4c9"
author ximgchess
date Wed, 31 Mar 2021 14:56:35 +0000
parents f0db3e3b9d99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
54513f5fc836 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit f29a6f52c76e068908ab2e1161314eb3edcfe4c9"
ximgchess
parents: 2
diff changeset
1 <tool id="hexrd_fit_grains" name="HEXRD fit-grains" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5">
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
2 <description>Extracts G vectors, grain position and strain</description>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
3 <macros>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
4 <import>macros.xml</import>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
5 </macros>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
6 <expand macro="requirements" />
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
8 cp '$config_yml' $config &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
9 cp '$config_yml' config.yml &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
10 ## symlink input files
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
11 @FIT_GRAIN_LINKS@
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
12 hexrd fit-grains config.yml -f &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
13 cp analysis/*.log '$log' &&
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
14 @CONVERT2TAB@
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
15 && for i in analysis/*/spots*.out; do dest=`echo \${i\#*/} | tr '/' '_'`; mv \${i} analysis/\$dest; done
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
16 ]]></command>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
17 <configfiles>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
18 <configfile name="config_yml"><![CDATA[@FIT_GRAINS_YML@
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
19 ]]></configfile>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
20 </configfiles>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
21 <inputs>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
22 <expand macro="fit_grains_config"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
23 </inputs>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
24 <outputs>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
25 <data name="config" format="hexrd.yml" label="${tool.name} on ${on_string}: ${active_material}_config.yml"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
26 <data name="log" format="txt" label="${tool.name} on ${on_string}:fit_grains_analysis_${active_material}.log"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
27 <data name="grains" format="tabular" label="${tool.name} on ${on_string}: grains.out" from_work_dir="analysis/grains.out" />
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
28 <collection name="spots" type="list" label="${tool.name} on ${on_string}:spots">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
29 <discover_datasets pattern="(?P&lt;designation&gt;.+_spots.+\.out)" ext="tabular" directory="analysis"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
30 </collection>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
31 </outputs>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
32 <tests>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
33 <test>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
34 <param name="inputs" ftype="hexrd.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"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
35 <conditional name="detector">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
36 <param name="panel_assignment" value="infer_from_name"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
37 </conditional>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
38 <param name="instrument" ftype="hexrd.yml" value="ge_detector.yml"/>
3
54513f5fc836 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit f29a6f52c76e068908ab2e1161314eb3edcfe4c9"
ximgchess
parents: 2
diff changeset
39 <param name="material" ftype="hexrd.materials.h5" value="materials.h5"/>
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
40 <param name="active_material" value="ruby"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
41 <param name="ome_map" ftype="hexrd.npz" value="analysis_ruby_eta-ome_maps.npz"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
42 <param name="accepted_orientations" ftype="tabular" value="accepted_orientations_analysis_ruby.dat"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
43 <param name="grains_estimate" ftype="tabular" value="grains.out"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
44 <param name="do_fit" value="true"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
45 <param name="npdiv" value="2"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
46 <param name="threshold" value="25"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
47 <section name="tolerance">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
48 <repeat name="tolerance_lists">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
49 <param name="tth" value="0.25"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
50 <param name="eta" value="3.0"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
51 <param name="omega" value="2.0"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
52 <param name="refit" value="1"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
53 </repeat>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
54 <repeat name="tolerance_lists">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
55 <param name="tth" value="0.20"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
56 <param name="eta" value="2.0"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
57 <param name="omega" value="1.0"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
58 <param name="refit" value="1"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
59 </repeat>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
60 <param name="tth_max" value="14.25"/>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
61 </section>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
62 <output name="grains">
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
63 <assert_contents>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
64 <has_text text="6.6655" />
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
65 </assert_contents>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
66 </output>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
67 </test>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
68 </tests>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
69 <help><![CDATA[
2
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 0
diff changeset
70 **HEXRD fit-grains**
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 0
diff changeset
71 @HEXRD_HELP@
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 0
diff changeset
72 @FIT_GRAIN_INPUTS_HELP@
f0db3e3b9d99 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 447defcd2ae30127f163e6a3adec52926f4a6c9c"
ximgchess
parents: 0
diff changeset
73 @FIT_GRAINS_OUTPUTS_HELP@
0
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
74 ]]></help>
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
75 <expand macro="citations" />
72deb053b5a5 "planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 3e41869cdb6ad4c9a60a4b60dcf9bb4a40955cfa-dirty"
ximgchess
parents:
diff changeset
76 </tool>