comparison biobb_genion.xml @ 2:4c626e984fde draft default tip

Uploaded
author spanish_national_institue_of_bioinformatics
date Fri, 12 Apr 2019 07:18:48 -0400
parents
children
comparison
equal deleted inserted replaced
1:21a0f28aea68 2:4c626e984fde
1 <tool id="biobb_genion" name="Genion" version="0.1.5">
2 <description>: adding ions to Gromacs topology</description>
3 <requirements>
4 <requirement type="binary">docker</requirement>
5 </requirements>
6 <command detect_errors="aggressive">
7 ln -f -s ${inputname} ${inputname}.${inputname.ext};
8 ln -f -s ${inputzip} ${inputzip}.${inputzip.ext};
9 #if $config.sele == "option1":
10 ln -s -f ${config.properties} ${config.properties}.${config.properties.ext};
11 #end if
12 docker run -v $__root_dir__/database/files:$__root_dir__/database/files quay.io/biocontainers/biobb_md:0.1.5--py_0 genion --input_tpr_path $inputname.${inputname.ext} --input_top_zip_path ${inputzip}.${inputzip.ext}
13 #if $config.sele == "option1":
14 --config ${config.properties}.${config.properties.ext}
15 #else if $config.sele == "option2":
16 --config ${config.jsonstr}
17 #end if
18 --output_gro_path $__root_dir__/database/files/000/$outname
19 --output_top_zip_path $outputzip;
20 #if $config.sele == "option1":
21 rm -f ${config.properties}.${config.properties.ext};
22 #end if
23 rm -f ${inputname}.${inputname.ext} ${inputzip}.${inputzip.ext};
24 mv $__root_dir__/database/files/000/$outname $output
25 </command>
26 <inputs>
27 <param name="outname" type="text" value="myGenion.gro" label="Output GRO name" help="Name for the Output. Format: [output].gro "/>
28 <param name="outnamezip" type="text" value="myGenion.zip" label="Output ZIP name" help="Name for the Output topology TOP and ITP files. Format: [output].zip "/>
29 <param name="inputname" type="data" format="tpr" label="Input TPR file" help="Select your input portable run TPR file. Format: [input].tpr"/>
30 <param name="inputzip" type="data" format="zip" label="Input ZIP file" help="Select your input topology TOP and ITP files zipball. Format: [input].zip"/>
31 <conditional name="config">
32 <param name="sele" type="select" label="Take tool settings:" help="Select where tool settings are to be read from">
33 <option value="option1">from configuration file</option>
34 <option value="option2">from JSON string</option>
35 <option value="option3" selected="true">by default</option>
36 </param>
37 <when value="option1">
38 <param name="properties" type="data" format="yml,json" optional="false" label="Configuration file" help="File containing tool settings. See below for the syntax"/>
39 </when>
40 <when value="option2">
41 <param name="jsonstr" type="text" value="{}" optional="false" label="JSON string" help="JSON string containing tool settings. See below for the syntax"/>
42 </when>
43 <when value="option3">
44 </when>
45
46 </conditional>
47 </inputs>
48 <outputs>
49 <data name="output" format="gro" label="${outname}"/>
50 <data name="outputzip" format="zip" label="${outnamezip}"/>
51
52 </outputs>
53 <tests>
54 <test>
55 </test>
56 </tests>
57 <help>
58 .. class:: warningmark
59
60
61 Check the syntax for setting the tool parameters at the original library documentation: https://biobb-md.readthedocs.io/en/latest/gromacs.html#module-gromacs.genion
62
63 -----
64
65 The main output of this BB will be an updated post-procesed Gromacs structure file (.gro) and a zip file containing the updated topology file (.top) and the restriction files (.itp).
66
67 .. image:: ${static_path}/images/biobb.png
68 :height: 57
69 :width: 150
70
71
72 **https://bioexcel.eu**
73 </help>
74 <citations>
75 <citation type="bibtex">
76 @misc{githubbiobb,
77 author = {Andrio P, Hospital A, Gelpi JL},
78 year = {2019},
79 title = {biobb: BioExcel building blocks },
80 publisher = {GitHub},
81 journal = {GitHub repository},
82 url = {https://github.com/bioexcel/biobb_io},
83 }</citation>
84 </citations>
85 </tool>