comparison optdoe.xml @ 0:7f13e58f1532 draft

"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
author tduigou
date Thu, 16 Dec 2021 13:23:29 +0000
parents
children c3f32929a4b7
comparison
equal deleted inserted replaced
-1:000000000000 0:7f13e58f1532
1 <tool id="OptDoE" name="Design of Experiment" version="2.0.1">
2 <description>An optimal design of experiments (DoE) base package for synthetic biology</description>
3 <requirements>
4 <requirement type="package" version="v2.0.1">doebase</requirement>
5 </requirements>
6 <command detect_errors="exit_code"><![CDATA[
7 python -m doebase
8 --func doeGetSBOL
9 #if $adv.genes_sbol_file
10 --sbol_file '$adv.genes_sbol_file'
11 #end if
12 #if $adv.ref_parts_file
13 --ref_parts_file '$adv.ref_parts_file'
14 #end if
15 --libsize '$adv.libsize'
16 --get_sequences '$adv.get_sequences'
17 --backtranslate '$adv.backtranslate'
18 --codon_table '$adv.codon_table'
19 '$genes_file'
20 '$constructs'
21 ]]></command>
22 <inputs>
23 <param name="genes_file" type="data" format="csv" label="Genes" />
24 <section name="adv" title="Advanced Options" expanded="false">
25 <param name="genes_sbol_file" type="data" format="xml" label="Optimised Genes" optional="true"/>
26 <param name="ref_parts_file" type="data" format="xml" value="None" label="Ref Parts" optional="true"/>
27 <param name="libsize" type="integer" value="32" label="Maximal library size" />
28 <param name="get_sequences" type="boolean" label="" checked="true" />
29 <param name="backtranslate" type="boolean" label="" checked="true" />
30 <param name="codon_table" type="text" value="Eecoli.cut" label="" />
31 </section>
32 </inputs>
33 <outputs>
34 <data name="constructs" format="xml" label="Constructs" />
35 </outputs>
36 <tests>
37 <test>
38 <!-- test 1: check if identical outputs are produced with default parameters -->
39 <param name="genes_file" value="genes_lycopene.csv" />
40 <output name="constructs" file="constructs_lycopene.xml" ftype="xml" compare="sim_size"/>
41 </test>
42 </tests>
43 <help><![CDATA[
44 OptDoE
45 ===========
46 This tool takes as input a rpSBML file, that contains for each heterologous reaction a ranked list of UniProt identifiers for the sequences, and the list of links to the DNA registry SynBioHub for the desired vector backbones, resistance cassette, and promoters (generated using the tool "OptDoE Parts Reference Generator"). An optimal design of experiments is performed by using OptBioDes based on logistic regression analysis with an assumed linear model for the response. The design is evaluated by its D-efficiency, defined as:
47
48 .. math:: D_{eff} = \frac{1}{n}\abs{X^{T}X}^{\frac{1}{p}}
49
50 |
51
52 Where n is the number of experimental runs or library size, p is the number of independent variables, and X is the model matrix, i.e., a row for each experimental run and a column for each term in the model. The library size n can be selected and should be above a minimal threshold depending on the number of combinatorial complexity of the library.
53 The experimental design can be evaluated through the provided diagnostics for D-efficiency, power analysis, and relative prediction variance, allowing the optimal selection of library size.
54 The resulting design is provided as an SBOL collection containing the definition of each DNA component and the combinatorial library of constructs.
55
56 .. image:: https://raw.githubusercontent.com/brsynth/synbiocad-galaxy-wrappers/master/OptDoE/img/image3.png
57 :width: 80 %
58 :align: center
59
60
61 .. image:: https://raw.githubusercontent.com/brsynth/synbiocad-galaxy-wrappers/master/OptDoE/img/image46.png
62 :width: 80 %
63 :align: center
64
65 |
66
67 Above are examples of two constructs generated through optimal combinatorial design and represented using SBOL Visual in SynBioHub.
68 Note: if advanced parameter "input_parts" is left empty, the following parts are used:
69
70
71 +---------+------------+--------------------------------------------------+
72 | Name | Type | SynBioHub |
73 +=========+============+==================================================+
74 | PlacUV5 | Promoter | https://synbiohub.org/public/igem/BBa_K1847014/1 |
75 +---------+------------+--------------------------------------------------+
76 | Ptrc | Promoter | https://synbiohub.org/public/igem/BBa_J56012/1 |
77 +---------+------------+--------------------------------------------------+
78 | BBR1 | Origin | https://synbiohub.org/public/igem/BBa_I50041/1 |
79 +---------+------------+--------------------------------------------------+
80 | p15A | Origin | https://synbiohub.org/public/igem/BBa_I50032/1 |
81 +---------+------------+--------------------------------------------------+
82 | ColE1 | Origin | https://synbiohub.org/public/igem/BBa_J64101/1 |
83 +---------+------------+--------------------------------------------------+
84 | res1 | Resistance | https://synbiohub.org/public/igem/BBa_I13800/1 |
85 +---------+------------+--------------------------------------------------+
86 | Ter | Terminator | https://synbiohub.org/public/igem/BBa_B1006/1 |
87 +---------+------------+--------------------------------------------------+
88
89 To generate another CSV
90
91 Input
92 -----
93
94 Required:
95
96 * **genes_file**\ : (string) Path to either tar.xz input collection of rpSBML files or a single rpSBML file.
97 * **-input_format**\ : (string) Format of the input
98 * **-input_sbol**\ : (string) Path to the SBOL input file
99 * **-input_parts**\ : (string) CSV with the genetic parts. Default (if left empty) is the above table. To generate a new compatible CSV file, please use the "OptDoE Parts Reference Generator" tool
100
101 Advanced options:
102
103 * **genes_sbol_file**\ : (string) Path to the optimised gens file (SBOL)
104 * **ref_parts_file**\ : (string) CSV with the genetic parts. Default (if left empty) is the above table. To generate a new compatible CSV file, please use the "OptDoE Parts Reference Generator" tool
105 * **libsize**\ : (integer, default: 32) Maximal library size
106 * **get_sequences**\ : (boolean, default: True)
107 * **backtranslate**\ : (boolean, default: True)
108 * **codon_table**\ : (text, default: Eecoli.cut)
109
110 Output
111 ------
112
113 * **constructs**\ : (string) Path to the output SBOL file
114
115 Project Link
116 ------------
117
118 * `Original Project <https://github.com/pablocarb/doebase>`_
119
120 Authors
121 -------
122
123 * **Pablo Carbonell**
124
125 License
126 -------
127
128 `MIT <https://raw.githubusercontent.com/pablocarb/appoptdes/master/LICENSE>`_
129
130 Acknowledgments
131 ---------------
132
133 * Joan Hérisson
134 * Thomas Duigou
135 ]]></help>
136 </tool>