2
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
1 <tool id="biobb_mutate" name="Mutate" version="0.1.5" >
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
2 <description>: mutate one aminoacid by another</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 #if $config.sele == "option1":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
9 ln -s -f ${config.properties} ${config.properties}.${config.properties.ext};
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
10 #end if
|
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 mutate --input_pdb_path $inputname.${inputname.ext}
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
12 #if $config.sele == "option1":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
13 --config ${config.properties}.${config.properties.ext}
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
14 #else if $config.sele == "option2":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
15 --config ${config.jsonstr}
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
16 #end if
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
17 --output_pdb_path $output;
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
18 #if $config.sele == "option1":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
19 rm -f ${config.properties}.${config.properties.ext};
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
20 #end if
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
21 rm -f ${inputname}.${inputname.ext}
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
22 </command>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
23 <inputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
24 <param name="outname" type="text" value="myMutate.pdb" label="Output PDB name" help="Name for the Output list. Format: [output].pdb "/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
25 <param name="inputname" type="data" format="pdb" label="Input PDB file" help="Select your input file. Format: [input].pdb"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
26 <conditional name="config">
|
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">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
28 <option value="option1">from configuration file</option>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
29 <option value="option2">from JSON string</option>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
30 <option value="option3" selected="true">by default</option>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
31 </param>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
32 <when value="option1">
|
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"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
34 </when>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
35 <when value="option2">
|
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"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
37 </when>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
38 <when value="option3">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
39 </when>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
40
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
41 </conditional>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
42 </inputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
43 <outputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
44 <data name="output" format="pdb" label="${outname}"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
45 </outputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
46 <tests>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
47 <test>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
48 </test>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
49 </tests>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
50 <help>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
51 .. class:: warningmark
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
52
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
53
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
54 Check the syntax for setting the tool parameters at the original library documentation: https://biobb-model.readthedocs.io/en/latest/model.html#module-model.mutate
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
55
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
56 -----
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
57
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
58 .. image:: ${static_path}/images/biobb.png
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
59 :height: 57
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
60 :width: 150
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
61
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
62
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
63 **https://bioexcel.eu**
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
64 </help>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
65 <citations>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
66 <citation type="bibtex">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
67 @misc{githubbiobb,
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
68 author = {Andrio P, Hospital A, Gelpi JL},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
69 year = {2019},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
70 title = {biobb: BioExcel building blocks },
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
71 publisher = {GitHub},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
72 journal = {GitHub repository},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
73 url = {https://github.com/bioexcel/biobb_io},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
74 }</citation>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
75 </citations>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
76 </tool>
|