2
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
1 <tool id="biobb_genion" name="Genion" version="0.1.5">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
2 <description>: adding ions to Gromacs topology</description>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
3 <requirements>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
4 <requirement type="binary">docker</requirement>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
5 </requirements>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
6 <command detect_errors="aggressive">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
7 ln -f -s ${inputname} ${inputname}.${inputname.ext};
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
8 ln -f -s ${inputzip} ${inputzip}.${inputzip.ext};
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
9 #if $config.sele == "option1":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
10 ln -s -f ${config.properties} ${config.properties}.${config.properties.ext};
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
11 #end if
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
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}
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
13 #if $config.sele == "option1":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
14 --config ${config.properties}.${config.properties.ext}
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
15 #else if $config.sele == "option2":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
16 --config ${config.jsonstr}
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
17 #end if
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
18 --output_gro_path $__root_dir__/database/files/000/$outname
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
19 --output_top_zip_path $outputzip;
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
20 #if $config.sele == "option1":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
21 rm -f ${config.properties}.${config.properties.ext};
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
22 #end if
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
23 rm -f ${inputname}.${inputname.ext} ${inputzip}.${inputzip.ext};
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
24 mv $__root_dir__/database/files/000/$outname $output
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
25 </command>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
26 <inputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
27 <param name="outname" type="text" value="myGenion.gro" label="Output GRO name" help="Name for the Output. Format: [output].gro "/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
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 "/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
29 <param name="inputname" type="data" format="tpr" label="Input TPR file" help="Select your input portable run TPR file. Format: [input].tpr"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
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"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
31 <conditional name="config">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
32 <param name="sele" type="select" label="Take tool settings:" help="Select where tool settings are to be read from">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
33 <option value="option1">from configuration file</option>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
34 <option value="option2">from JSON string</option>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
35 <option value="option3" selected="true">by default</option>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
36 </param>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
37 <when value="option1">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
38 <param name="properties" type="data" format="yml,json" optional="false" label="Configuration file" help="File containing tool settings. See below for the syntax"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
39 </when>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
40 <when value="option2">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
41 <param name="jsonstr" type="text" value="{}" optional="false" label="JSON string" help="JSON string containing tool settings. See below for the syntax"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
42 </when>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
43 <when value="option3">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
44 </when>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
45
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
46 </conditional>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
47 </inputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
48 <outputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
49 <data name="output" format="gro" label="${outname}"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
50 <data name="outputzip" format="zip" label="${outnamezip}"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
51
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
52 </outputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
53 <tests>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
54 <test>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
55 </test>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
56 </tests>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
57 <help>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
58 .. class:: warningmark
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
59
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
60
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
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
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
62
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
63 -----
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
64
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
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).
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
66
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
67 .. image:: ${static_path}/images/biobb.png
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
68 :height: 57
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
69 :width: 150
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
70
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
71
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
72 **https://bioexcel.eu**
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
73 </help>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
74 <citations>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
75 <citation type="bibtex">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
76 @misc{githubbiobb,
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
77 author = {Andrio P, Hospital A, Gelpi JL},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
78 year = {2019},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
79 title = {biobb: BioExcel building blocks },
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
80 publisher = {GitHub},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
81 journal = {GitHub repository},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
82 url = {https://github.com/bioexcel/biobb_io},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
83 }</citation>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
84 </citations>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
85 </tool>
|