annotate biobb_fix_side_chain.xml @ 2:4c626e984fde draft default tip

Uploaded
author spanish_national_institue_of_bioinformatics
date Fri, 12 Apr 2019 07:18:48 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
1 <tool id="biobb_fix_side_chain" name="Fix Side Chain" version="0.1.5" >
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
2 <description>: reconstructs the missing side chains and heavy atoms.</description>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
3 <requirements>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
4 <requirement type="binary">docker</requirement>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
5 </requirements>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
6 <command detect_errors="aggressive">
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
7 ln -f -s ${inputname} ${inputname}.${inputname.ext};
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
8 #if $config.sele == "option1":
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
9 ln -s -f ${config.properties} ${config.properties}.${config.properties.ext};
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
10 #end if
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
11 docker run -v $__root_dir__/database/files:$__root_dir__/database/files quay.io/biocontainers/biobb_model:0.1.5--py_0 fix_side_chain --input_pdb_path $inputname.${inputname.ext}
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
12 #if $config.sele == "option1":
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
13 --config ${config.properties}.${config.properties.ext}
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
14 #else if $config.sele == "option2":
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
15 --config ${config.jsonstr}
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
16 #end if
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
17 --output_pdb_path $output;
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
18 #if $config.sele == "option1":
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
19 rm -f ${config.properties}.${config.properties.ext};
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
20 #end if
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
21 rm -f ${inputname}.${inputname.ext}
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
22 </command>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
23 <inputs>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
24 <param name="outname" type="text" value="myFixSideChain.pdb" label="Output PDB name" help="Name for the Output list. Format: [output].pdb "/>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
25 <param name="inputname" type="data" format="pdb" label="Input PDB file" help="Select your input PDB file. Format: [input].pdb"/>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
26 <conditional name="config">
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
27 <param name="sele" type="select" label="Take tool settings:" help="Select where tool settings are to be read from">
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
28 <option value="option1">from configuration file</option>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
29 <option value="option2">from JSON string</option>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
30 <option value="option3" selected="true">by default</option>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
31 </param>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
32 <when value="option1">
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
33 <param name="properties" type="data" format="yml,json" optional="false" label="Configuration file" help="File containing tool settings. See below for the syntax"/>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
34 </when>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
35 <when value="option2">
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
36 <param name="jsonstr" type="text" value="{}" optional="false" label="JSON string" help="JSON string containing tool settings. See below for the syntax"/>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
37 </when>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
38 <when value="option3">
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
39 </when>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
40
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
41 </conditional>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
42 </inputs>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
43 <outputs>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
44 <data name="output" format="pdb" label="${outname}"/>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
45 </outputs>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
46 <tests>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
47 <test>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
48 <param name="inputname" value="../test-data/2ki5.pdb"/>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
49 <output name="output" file="../test-data/biobb_fix_side_chain_myFixSideChain.pdb"/>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
50 </test>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
51 </tests>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
52 <help>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
53 .. class:: warningmark
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
54
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
55
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
56 Check the syntax for setting the tool parameters at the original library documentation: https://biobb-model.readthedocs.io/en/latest/model.html#module-model.fix_side_chain
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
57
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
58 -----
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
59
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
60 .. image:: ${static_path}/images/biobb.png
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
61 :height: 57
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
62 :width: 150
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
63
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
64
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
65 **https://bioexcel.eu**
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
66 </help>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
67 <citations>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
68 <citation type="bibtex">
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
69 @misc{githubbiobb,
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
70 author = {Andrio P, Hospital A, Gelpi JL},
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
71 year = {2019},
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
72 title = {biobb: BioExcel building blocks },
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
73 publisher = {GitHub},
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
74 journal = {GitHub repository},
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
75 url = {https://github.com/bioexcel/biobb_io},
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
76 }</citation>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
77 </citations>
4c626e984fde Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
78 </tool>