annotate xtb_molecular_optimization.xml @ 2:6e1ef071fffc draft default tip

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 68505a19637f8374cc5bde7e6b9370647a064ca9
author recetox
date Thu, 25 Jul 2024 14:27:18 +0000
parents cba7123c2741
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
6e1ef071fffc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 68505a19637f8374cc5bde7e6b9370647a064ca9
recetox
parents: 1
diff changeset
1 <tool id="xtb_molecular_optimization" name="xtb molecular optimization" version="@TOOL_VERSION@+galaxy3" profile="21.09">
0
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
2 <description>Semiempirical quantum mechanical molecular optimization method</description>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
3 <macros>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
4 <import>macros.xml</import>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
5 </macros>
2
6e1ef071fffc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 68505a19637f8374cc5bde7e6b9370647a064ca9
recetox
parents: 1
diff changeset
6 <expand macro="edam"/>
0
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
7 <expand macro="creator"/>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
8 <requirements>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
9 <requirement type="package" version="@TOOL_VERSION@">xtb</requirement>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
10 </requirements>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
12 ln -s '${coordinates}' 'mol.${coordinates.ext}' &&
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
13 xtb 'mol.${coordinates.ext}' --opt '${opt_level}' &&
1
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
14
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
15 #if $replace_second_line == "FALSE":
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
16 cp 'xtbopt.${coordinates.ext}' '${output}'
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
17 #end if
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
18
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
19 #if $replace_second_line == "TRUE":
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
20 cp 'xtbopt.${coordinates.ext}' '${output}' &&
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
21 awk 'NR==FNR{if(NR==2) line=$0; next} {if(FNR==2) print line; else print $0}' '${coordinates}' '${output}' > final &&
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
22 mv final '${output}'
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
23 #end if
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
24
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
25
0
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
26 ]]></command>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
27 <inputs>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
28 <param label="Atomic coordinates file" type="data" name="coordinates" format="xyz" help="Initial atomic coordinates file to be optimized."/>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
29 <param type="select" label="Optimization Levels" name="opt_level" help="Geometry optimization convergence levels." >
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
30 <option value="crude">crude</option>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
31 <option value="sloppy">sloppy</option>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
32 <option value="loose">loose</option>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
33 <option value="lax">lax</option>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
34 <option value="normal">normal</option>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
35 <option value="tight">tight</option>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
36 <option value="vtight">vtight</option>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
37 <option value="extreme">extreme</option>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
38 </param>
1
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
39 <param type="boolean" name="replace_second_line" label = "Keep molecule name" truevalue="TRUE" falsevalue="FALSE" checked="false" help = "If YES, the molecule name from the coordinates file is preserved, if it exists. Otherwise, the energy, gnorm, and xtb version are printed." />
0
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
40 </inputs>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
41 <outputs>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
42 <data name="output" format_source="coordinates" />
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
43 </outputs>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
44 <tests>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
45 <test>
1
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
46 <param name="coordinates" value="initial_mol_molname.xyz" ftype="xyz"/>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
47 <param name="replace_second_line" value="TRUE" />
0
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
48 <output name="output">
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
49 <assert_contents>
1
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
50 <has_text text="Benzophenone"/>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
51 </assert_contents>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
52 </output>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
53 </test>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
54 <test>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
55 <param name="coordinates" value="initial_mol_molname.xyz" ftype="xyz"/>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
56 <param name="replace_second_line" value="FALSE" />
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
57 <output name="output">
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
58 <assert_contents>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
59 <has_text text="energy"/>
0
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
60 </assert_contents>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
61 </output>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
62 </test>
1
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
63 <test>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
64 <param name="coordinates" value="initial_mol_no_molname.xyz" ftype="xyz"/>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
65 <param name="replace_second_line" value="TRUE" />
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
66 <output name="output">
0
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
67 <assert_contents>
1
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
68 <not_has_text text="energy"/>
0
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
69 </assert_contents>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
70 </output>
1
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
71 </test>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
72 <test>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
73 <param name="coordinates" value="initial_mol_no_molname.xyz" ftype="xyz"/>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
74 <param name="replace_second_line" value="FALSE" />
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
75 <output name="output">
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
76 <assert_contents>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
77 <has_text text="energy"/>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
78 </assert_contents>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
79 </output>
cba7123c2741 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit 070a3fd9e44e71efcf7a4490d91d1cee5a4711ce
recetox
parents: 0
diff changeset
80 </test>
0
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
81 </tests>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
82 <help>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
83 <![CDATA[
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
84 @HELP@
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
85 ]]>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
86 </help>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
87 <citations>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
88 <citation type="doi">https://doi.org/10.1002/wcms.1493</citation>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
89 </citations>
d5633eaf3552 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xtb commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents:
diff changeset
90 </tool>