comparison pm_dftb_opt.xml @ 0:43fb752fc295 draft

planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_dftb_opt commit d130cf2c46d933fa9d0214ddbd5ddf860f322dc4
author muon-spectroscopy-computational-project
date Thu, 25 Aug 2022 16:18:08 +0000
parents
children 23cb25b1d776
comparison
equal deleted inserted replaced
-1:000000000000 0:43fb752fc295
1 <tool id="pm_dftb_opt" name="PyMuonSuite AIRSS DFTB+ Optimise" version="0.1.1" python_template_version="3.5" profile="22.01">
2 <description>run DFTB+ optimisation</description>
3 <macros>
4 <!-- citation should be updated with every underlying tool version -->
5 <!-- typical fields to update are version, month, year, and doi -->
6 <token name="@PYMUONSUITE_CITATION@">
7 @software{pymuon-suite,
8 author = {Sturniolo, Simone and Liborio, Leandro and Chadwick, Eli and Murgatroyd, Laura and Laverack, Adam and {Muon Spectroscopy Computational Project}},
9 license = {GPL-3.0},
10 title = {{pymuon-suite}},
11 url = {https://github.com/muon-spectroscopy-computational-project/pymuon-suite},
12 version = {v0.2.1},
13 month = {2},
14 year = {2022},
15 doi = {}
16 }
17 </token>
18 </macros>
19 <creator>
20 <person givenName="Jyothish" familyName="Thomas" identifier="https://orcid.org/0000-0003-4724-6924"/>
21 <person givenName="Eli" familyName="Chadwick" url="https://github.com/elichad" identifier="https://orcid.org/0000-0002-0035-6475"/>
22 <organization url="https://muon-spectroscopy-computational-project.github.io/index.html" name="The Muon Spectroscopy Computational Project"/>
23 </creator>
24 <requirements>
25 <!-- note versioning is different due to multiple dependencies -->
26 <requirement type="package" version="21.2">dftbplus</requirement>
27 <requirement type="package" version="0.2.1">pymuonsuite</requirement>
28 <requirement type="package" version="3.0">zip</requirement>
29 </requirements>
30 <command detect_errors="exit_code"><![CDATA[
31 unzip "$muonated_structures" &&
32 if test -f "params.yaml"; then echo "params.yaml present"; else echo "params.yaml missing" && exit 64; fi
33 && if ( test -f input_structure.* ) ; then echo "input structure present"; else echo "input structure missing" && exit 64; fi
34 && out_folder="`python ${__tool_directory__}/get_out_folder.py`" ;
35 bash ${__tool_directory__}/run.sh \$out_folder ;
36 passed=$? &&
37 echo \$passed &&
38 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 &&
39 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;
40 zip -r dftb_results.zip \$out_folder params.yaml input_structure.* &&
41 find \$out_folder > tree.txt
42 ]]></command>
43 <inputs>
44 <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."/>
45 <param type="hidden" name="testing" label="Test mode" value="false"/>
46 </inputs>
47 <outputs>
48 <data label="DFTB results for $muonated_structures.name" name="dftb_results" format="zip" from_work_dir="dftb_results.zip"/>
49 <data label="File tree (testing only)" name="file_tree" format="txt" from_work_dir="tree.txt" hidden="true">
50 <filter>(testing == "true")</filter>
51 </data>
52 </outputs>
53 <tests>
54 <test expect_num_outputs="2">
55 <param name="testing" value="true"/>
56 <param name="muonated_structures" value="muonated-dftb.zip" ftype="zip"/>
57 <output name="file_tree" file="tree.txt" ftype="txt" sort="true"/>
58 </test>
59 <!-- check that file_tree filter works -->
60 <test expect_num_outputs="1">
61 <param name="testing" value="false"/>
62 <param name="muonated_structures" value="muonated-dftb.zip" ftype="zip"/>
63 </test>
64 </tests>
65 <help><![CDATA[
66 usage: dftb+
67 Given some input muonated structures (structures containing a muon), applies DFTB+ optimization to refine them.
68
69 **LICENSE**
70
71 All data is licensed under the Creative Commons Attribution-ShareAlike 4.0
72 International License. The full text of the license can be found at:
73
74 https://creativecommons.org/licenses/by-sa/4.0/legalcode
75
76 For specific data sets remember to cite the following papers, by element :
77
78 | **3-ob-1**
79
80
81 +--------------+------------------------------------------------+-----------------------------------+------------------------------------+
82 | [JCTC2013] | \ J. Chem. Theory Comput., 2013, 9, 338-354. | (O, N, C, H) | https://doi.org/10.1021/ct300849w |
83 +--------------+------------------------------------------------+-----------------------------------+------------------------------------+
84 | [JCTC2014] | \ J. Chem. Theory Comput., 2014, 10, 1518-1537.| (P,S-\*) | https://doi.org/10.1021/ct401002w |
85 +--------------+------------------------------------------------+-----------------------------------+------------------------------------+
86 | [JCTC2015-1] | \ J. Phys. Chem. B, 2015, 119, 1062-1082. | (Mg,Zn-\*) | https://doi.org/10.1021/jp506557r |
87 +--------------+------------------------------------------------+-----------------------------------+------------------------------------+
88 | [JCTC2015-2] | \ J. Chem. Theory Comput., 2015, 11, 332-342. | (Na,F,K,Ca,Cl,Br,I-\*) | https://doi.org/10.1021/ct5009137 |
89 +--------------+------------------------------------------------+-----------------------------------+------------------------------------+
90
91 |
92 | **pbc-0-3**
93
94 +------------+--------------------------------------------------------------------------------------------+---------+------------------------------------------------+
95 | [SiC] | \ E. Rauls, R. Gutierrez, J. Elsner, and Th. Frauenheim, Sol. State Comm. 111, 459 (1999) | (Si-C) | https://doi.org/10.1016/S0038-1098(99)00137-4 |
96 +------------+--------------------------------------------------------------------------------------------+---------+------------------------------------------------+
97 | [SiO] | \ C. Koehler, Z. Hajnal, P. Deak, Th. Frauenheim, S. Suhai, Phys. Rev. B 64, 085333 (2001) | (Si-O) | https://doi.org/10.1103/PhysRevB.64.085333 |
98 +------------+--------------------------------------------------------------------------------------------+---------+------------------------------------------------+
99 | [Silicon] | \ A. Sieck, Th. Frauenheim, and K. A. Jackson, phys. stat. sol. (b) 240, 537 (2003). | (Si) | https://doi.org/10.1002/pssb.200301886 |
100 +------------+--------------------------------------------------------------------------------------------+---------+------------------------------------------------+
101 | [Fluorine] | \ C. Koehler and Th. Frauenheim, Surf. Sci. 600, 453 (2006). | \ (F) | https://doi.org/10.1016/j.susc.2005.10.044 |
102 +------------+--------------------------------------------------------------------------------------------+---------+------------------------------------------------+
103 | [Iron] | \ C. Koehler, G. Seifert and Th. Frauenheim, Chem. Phys. 309, 23 (2005). | (Fe) | https://doi.org/10.1016/j.chemphys.2004.03.034 |
104 +------------+--------------------------------------------------------------------------------------------+---------+------------------------------------------------+
105 | [SiSi] | \ A. Sieck, PhD. Thesis, University of Paderborn, 2000. | (Si-Si) | https://www.osti.gov/etdeweb/biblio/20249635 |
106 +------------+--------------------------------------------------------------------------------------------+---------+------------------------------------------------+
107
108 |
109 | The full sets and all other data can be found at the following URLs:
110
111 +----------+------------------------------------------------------------+
112 | 3-ob-1 | https://www.dftb.org/parameters/download/3ob/3ob-3-1-cc/ |
113 +----------+------------------------------------------------------------+
114 | pbc-0-3 | https://www.dftb.org/parameters/download/pbc/pbc-0-3-cc/ |
115 +----------+------------------------------------------------------------+
116 ]]></help>
117 <citations>
118 <citation type="bibtex">
119 @PYMUONSUITE_CITATION@
120 </citation>
121 <citation type="bibtex">
122 @article{doi:10.1063/1.5143190,
123 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. },
124 title = {DFTB+, a software package for efficient approximate density functional theory based atomistic simulations},
125 journal = {The Journal of Chemical Physics},
126 volume = {152},
127 number = {12},
128 pages = {124101},
129 year = {2020},
130 doi = {10.1063/1.5143190},
131
132 URL = {
133 https://doi.org/10.1063/1.5143190
134
135 },
136 eprint = {
137 https://doi.org/10.1063/1.5143190
138 }
139 }
140 </citation>
141 </citations>
142 </tool>