Mercurial > repos > muon-spectroscopy-computational-project > pm_dftb_opt
comparison pm_dftb_opt.xml @ 2:6a99165bb7ca draft
planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_dftb_opt commit 4f06b404d8b7fb83995f3052faa7e2ec7811f507
author | muon-spectroscopy-computational-project |
---|---|
date | Fri, 03 Feb 2023 15:39:23 +0000 |
parents | 23cb25b1d776 |
children | 996f777bec11 |
comparison
equal
deleted
inserted
replaced
1:23cb25b1d776 | 2:6a99165bb7ca |
---|---|
1 <tool id="pm_dftb_opt" name="PyMuonSuite AIRSS DFTB+ Optimise" version="0.1.1" python_template_version="3.5" profile="22.01"> | 1 <tool id="pm_dftb_opt" name="PyMuonSuite AIRSS DFTB+ Optimise" version="@TOOL_VERSION@+galaxy@WRAPPER_VERSION@" python_template_version="3.5" profile="22.05" license="MIT"> |
2 <description>run DFTB+ optimisation</description> | 2 <description>run DFTB+ optimisation</description> |
3 <macros> | 3 <macros> |
4 <!-- version of underlying tool (PEP 440) --> | |
5 <token name="@TOOL_VERSION@">0.2.3</token> | |
6 <!-- version of this tool wrapper (integer) --> | |
7 <token name="@WRAPPER_VERSION@">0</token> | |
4 <!-- citation should be updated with every underlying tool version --> | 8 <!-- citation should be updated with every underlying tool version --> |
5 <!-- typical fields to update are version, month, year, and doi --> | 9 <!-- typical fields to update are version, month, year, and doi --> |
6 <token name="@PYMUONSUITE_CITATION@"> | 10 <token name="@PYMUONSUITE_CITATION@"> |
7 @software{pymuon-suite, | 11 @software{Sturniolo_pymuon-suite_2022, |
8 author = {Sturniolo, Simone and Liborio, Leandro and Chadwick, Eli and Murgatroyd, Laura and Laverack, Adam and {Muon Spectroscopy Computational Project}}, | 12 author = {Sturniolo, Simone and Liborio, Leandro and Chadwick, Eli and Murgatroyd, Laura and Laverack, Adam and Mudaraddi, Anish and {Muon Spectroscopy Computational Project}}, |
9 license = {GPL-3.0}, | 13 license = {GPL-3.0}, |
14 month = {8}, | |
10 title = {{pymuon-suite}}, | 15 title = {{pymuon-suite}}, |
11 url = {https://github.com/muon-spectroscopy-computational-project/pymuon-suite}, | 16 url = {https://github.com/muon-spectroscopy-computational-project/pymuon-suite}, |
12 version = {v0.2.1}, | 17 version = {v0.2.3}, |
13 month = {2}, | 18 doi = {10.5281/zenodo.7025644}, |
14 year = {2022}, | 19 year = {2022} |
15 doi = {} | |
16 } | 20 } |
17 </token> | 21 </token> |
18 </macros> | 22 </macros> |
19 <creator> | 23 <creator> |
20 <person givenName="Jyothish" familyName="Thomas" identifier="https://orcid.org/0000-0003-4724-6924"/> | 24 <person givenName="Jyothish" familyName="Thomas" identifier="https://orcid.org/0000-0003-4724-6924"/> |
22 <organization url="https://muon-spectroscopy-computational-project.github.io/index.html" name="The Muon Spectroscopy Computational Project"/> | 26 <organization url="https://muon-spectroscopy-computational-project.github.io/index.html" name="The Muon Spectroscopy Computational Project"/> |
23 </creator> | 27 </creator> |
24 <requirements> | 28 <requirements> |
25 <!-- note versioning is different due to multiple dependencies --> | 29 <!-- note versioning is different due to multiple dependencies --> |
26 <requirement type="package" version="21.2">dftbplus</requirement> | 30 <requirement type="package" version="21.2">dftbplus</requirement> |
27 <requirement type="package" version="0.2.1">pymuonsuite</requirement> | 31 <requirement type="package" version="@TOOL_VERSION@">pymuonsuite</requirement> |
28 <requirement type="package" version="3.0">zip</requirement> | 32 <requirement type="package" version="3.0">zip</requirement> |
29 </requirements> | 33 </requirements> |
30 <required_files> | 34 <required_files> |
31 <include type="literal" path="get_out_folder.py"/> | 35 <include type="literal" path="get_out_folder.py"/> |
32 <include type="literal" path="run.sh"/> | 36 <include type="literal" path="run.sh"/> |
33 <include type="prefix" path="README-"/> | 37 <include type="prefix" path="README-"/> |
34 </required_files> | 38 </required_files> |
35 <command detect_errors="exit_code"><![CDATA[ | 39 <command detect_errors="exit_code"><![CDATA[ |
36 unzip "$muonated_structures" && | 40 unzip '$muonated_structures' && |
37 if test -f "params.yaml"; then echo "params.yaml present"; else echo "params.yaml missing" && exit 64; fi | 41 if test -f "params.yaml"; then echo "params.yaml present"; else echo "params.yaml missing" && exit 64; fi |
38 && if ( test -f input_structure.* ) ; then echo "input structure present"; else echo "input structure missing" && exit 64; fi | 42 && if ( test -f input_structure.* ) ; then echo "input structure present"; else echo "input structure missing" && exit 64; fi |
39 && out_folder="`python ${__tool_directory__}/get_out_folder.py`" ; | 43 && out_folder="`python '${__tool_directory__}/get_out_folder.py'`" ; |
40 bash ${__tool_directory__}/run.sh \$out_folder ; | 44 bash '${__tool_directory__}/run.sh' \$out_folder ; |
41 passed=$? && | 45 passed=$? && |
42 echo \$passed && | 46 echo \$passed && |
43 if [ \$passed == 2 ]; then echo "input file structure is not dftb" && exit 25; elif [ \$passed == 3 ]; then echo "error in parsing dftb file. check log for details" && exit 26; else echo "parse ok"; fi && | 47 if [ \$passed == 2 ]; then echo "input file structure is not dftb" && exit 25; elif [ \$passed == 3 ]; then echo "error in parsing dftb file. check log for details" && exit 26; else echo "parse ok"; fi && |
44 if grep -q 'pbc-0-3' params.yaml; then cp ${__tool_directory__}/README-pbc \$out_folder/README; elif grep -q '3ob-3-1' params.yaml; then cp ${__tool_directory__}/README-3ob \$out_folder README; else ( cp ${__tool_directory__}/README-3ob \$out_folder README-3ob && cp ${__tool_directory__}/README-pbc \$out_folder/README-pbc ); fi; | 48 if grep -q 'pbc-0-3' params.yaml; then cp '${__tool_directory__}/README-pbc' \$out_folder/README; elif grep -q '3ob-3-1' params.yaml; then cp '${__tool_directory__}/README-3ob' \$out_folder README; else ( cp '${__tool_directory__}/README-3ob' \$out_folder README-3ob && cp '${__tool_directory__}/README-pbc' \$out_folder/README-pbc ); fi; |
45 zip -r dftb_results.zip \$out_folder params.yaml input_structure.* && | 49 zip -r dftb_results.zip \$out_folder params.yaml input_structure.* && |
46 find \$out_folder > tree.txt | 50 find \$out_folder > tree.txt |
47 ]]></command> | 51 ]]></command> |
48 <inputs> | 52 <inputs> |
49 <param type="data" name="muonated_structures" label="Muonated structures (.zip)" format="zip" help="A zip folder containing muonated structures, as generated by the 'Generate muonated structures' tool or pm-muairss."/> | 53 <param type="data" name="muonated_structures" label="Muonated structures (.zip)" format="zip" help="A zip folder containing muonated structures, as generated by the 'Generate muonated structures' tool or pm-muairss."/> |
68 </test> | 72 </test> |
69 </tests> | 73 </tests> |
70 <help><![CDATA[ | 74 <help><![CDATA[ |
71 usage: dftb+ | 75 usage: dftb+ |
72 Given some input muonated structures (structures containing a muon), applies DFTB+ optimization to refine them. | 76 Given some input muonated structures (structures containing a muon), applies DFTB+ optimization to refine them. |
77 | |
78 PyMuonSuite is distributed under the GPLv3 license. This tool wrapper is distributed under the MIT license. | |
73 | 79 |
74 **LICENSE** | 80 **LICENSE** |
75 | 81 |
76 All data is licensed under the Creative Commons Attribution-ShareAlike 4.0 | 82 All data is licensed under the Creative Commons Attribution-ShareAlike 4.0 |
77 International License. The full text of the license can be found at: | 83 International License. The full text of the license can be found at: |
121 ]]></help> | 127 ]]></help> |
122 <citations> | 128 <citations> |
123 <citation type="bibtex"> | 129 <citation type="bibtex"> |
124 @PYMUONSUITE_CITATION@ | 130 @PYMUONSUITE_CITATION@ |
125 </citation> | 131 </citation> |
126 <citation type="bibtex"> | 132 <citation type="doi">10.1063/1.5143190</citation> |
127 @article{doi:10.1063/1.5143190, | |
128 author = {Hourahine,B. and Aradi,B. and Blum,V. and Bonafé,F. and Buccheri,A. and Camacho,C. and Cevallos,C. and Deshaye,M. Y. and Dumitrică,T. and Dominguez,A. and Ehlert,S. and Elstner,M. and van der Heide,T. and Hermann,J. and Irle,S. and Kranz,J. J. and Köhler,C. and Kowalczyk,T. and Kubař,T. and Lee,I. S. and Lutsker,V. and Maurer,R. J. and Min,S. K. and Mitchell,I. and Negre,C. and Niehaus,T. A. and Niklasson,A. M. N. and Page,A. J. and Pecchia,A. and Penazzi,G. and Persson,M. P. and Řezáč,J. and Sánchez,C. G. and Sternberg,M. and Stöhr,M. and Stuckenberg,F. and Tkatchenko,A. and Yu,V. W.-z. and Frauenheim,T. }, | |
129 title = {DFTB+, a software package for efficient approximate density functional theory based atomistic simulations}, | |
130 journal = {The Journal of Chemical Physics}, | |
131 volume = {152}, | |
132 number = {12}, | |
133 pages = {124101}, | |
134 year = {2020}, | |
135 doi = {10.1063/1.5143190}, | |
136 | |
137 URL = { | |
138 https://doi.org/10.1063/1.5143190 | |
139 | |
140 }, | |
141 eprint = { | |
142 https://doi.org/10.1063/1.5143190 | |
143 } | |
144 } | |
145 </citation> | |
146 </citations> | 133 </citations> |
147 </tool> | 134 </tool> |