comparison physiofit.xml @ 2:232ad69fc93c draft

planemo upload for repository https://github.com/MetaSys-LISBP/PhysioFit commit 79951a0ab2644ba8ca6615200e9be1a8645d78d4
author workflow4metabolomics
date Tue, 16 Jan 2024 15:42:03 +0000
parents 52dddad92226
children 4e885e541368
comparison
equal deleted inserted replaced
1:52dddad92226 2:232ad69fc93c
1 <tool id='physiofit' name='PhysioFit' profile='21.09' version='@TOOL_VERSION@+galaxy0' python_template_version='3.5'> 1 <tool id='physiofit' name='PhysioFit: extracellular flux calculation' version='@TOOL_VERSION@+galaxy0' python_template_version='3.5' profile='21.05'>
2 <description>Extracellular flux analysis</description> 2 <description>PhysioFit is a scientific tool designed to quantify cell growth parameters and uptake and production fluxes</description>
3 <macros> 3 <macros>
4 <token name="@TOOL_VERSION@">2.2.1</token> 4 <token name='@TOOL_VERSION@'>3.3.2</token>
5 </macros> 5 </macros>
6 <requirements> 6 <requirements>
7 <requirement type='package' version='@TOOL_VERSION@'>physiofit4galaxy</requirement> 7 <requirement type='package' version='@TOOL_VERSION@'>physiofit</requirement>
8 </requirements> 8 </requirements>
9 <command detect_errors='exit_code'><![CDATA[ 9 <command detect_errors='exit_code'><![CDATA[
10 10 physiofit
11 physiofit4galaxy --galaxy 11 --galaxy
12 12 --config $configfile
13 #if $input_selection.input_selector == 'tsv': 13 --data $datafile
14 --data '$input_selection.datafile' 14 -or '$recap'
15 #end if 15 -oz $zip
16 16 2> $log
17 #if $input_selection.input_selector == 'json': 17 ]]>
18 --data '$input_selection.datafile' 18 </command>
19 --config '$input_selection.cfgfile'
20 #end if
21
22
23 #if $basic_settings.lag:
24 -l
25 #end if
26
27 #if $basic_settings.deg_select.deg == 'Yes':
28 -d '$basic_settings.deg_select.degconsts'
29 #end if
30
31 #if $basic_settings.mc_select.montecarlo == 'Yes':
32 -mc '$basic_settings.mc_select.iters'
33 #end if
34
35 --vini '$advanced_settings.vini'
36
37 #if $advanced_settings.sd_select.sd == 'Yes':
38 -s '$advanced_settings.sd_select.stddevs'
39 #end if
40
41 #if $advanced_settings.cm_select.cm == 'Yes':
42 -cm '$advanced_settings.cm_select.conc_met_bounds'
43 #end if
44
45 #if $advanced_settings.fm_select.fm == 'Yes':
46 -fm '$advanced_settings.fm_select.flux_met_bounds'
47 #end if
48
49 #if $advanced_settings.cb_select.cb == 'Yes':
50 -cb '$advanced_settings.cb_select.conc_biom_bounds'
51 #end if
52
53 #if $advanced_settings.fb_select.fb == 'Yes':
54 -fb '$advanced_settings.fb_select.flux_biom_bounds'
55 #end if
56
57 #if $advanced_settings.verbose:
58 -v
59 #end if
60
61 -op '$plots' -of '$fluxes' -os '$stats' -oc '$config' 2> $log
62
63 ]]></command>
64 <inputs> 19 <inputs>
65 20 <param name='datafile' type='data' format='tabular, txt' multiple='true' label='Upload data file containing biomass and concentration values'/>
66 <conditional name='input_selection'> 21 <param name='configfile' type='data' format='yaml' multiple='true' label='Upload yaml configuration file containing run parameters'/>
67 <param name='input_selector' type='select' label='Choose the input data type to upload (tsv or json config file. For more information please check the documentation'>
68 <option value='tsv'>tsv file</option>
69 <option value='json'>config file (json)</option>
70 </param>
71 <when value='tsv'>
72 <param name='datafile' type='data' format='tabular, txt' multiple='true' label='Upload data file containing biomass and concentration values'/>
73 </when>
74 <when value='json'>
75 <param name='datafile' type='data' format='tabular, txt' multiple='true' label='Upload data file containing biomass and concentration values'/>
76 <param name='cfgfile' type='data' format='json' label='Upload configuration file' />
77 </when>
78 </conditional>
79
80
81 <section name='basic_settings' title='Basic Settings'>
82
83 <param name='lag' type='boolean' argument='--lag' truevalue='-l' falsevalue='' label='Flag to estimate lag phase'/>
84
85 <conditional name='deg_select'>
86 <param name='deg' type='select' label='Select yes to add degradation constants'>
87 <option value='No'>No</option>
88 <option value='Yes'>Yes</option>
89 </param>
90 <when value='Yes'>
91 <param type='text' name='degconsts' value='{}' label='Enter degradation constants in dictionary format (see docs for more information)'>
92 <sanitizer>
93 <valid>
94 <add value='"'/>
95 <add value='{'/>
96 <add value='}'/>
97 </valid>
98 </sanitizer>
99 </param>
100 </when>
101 </conditional>
102
103 <conditional name='mc_select'>
104 <param name='montecarlo' type='select' label='Select yes for sensitivity analysis'>
105 <option value='Yes'>Yes</option>
106 <option value='No'>No</option>
107 </param>
108 <when value='Yes'>
109 <param name='iters' type='integer' value='100' label='Number of iterations for sensitivity analysis'/>
110 </when>
111 </conditional>
112
113 </section>
114
115
116 <section name='advanced_settings' title='Advanced Settings'>
117
118 <param name='vini' type='float' value='1' label='Initial value for fluxes to estimate' />
119
120 <conditional name='sd_select'>
121 <param name='sd' type='select' label='Select yes to add standard deviations'>
122 <option value='No'>No</option>
123 <option value='Yes'>Yes</option>
124 </param>
125 <when value='Yes'>
126 <param name='stddevs' type='text' value='{}' label='Standard deviation on measurements. Give SDs in dictionary format (see docs for more information)'>
127 <sanitizer>
128 <valid>
129 <add value='"'/>
130 <add value='{'/>
131 <add value='}'/>
132 </valid>
133 </sanitizer>
134 </param>
135 </when>
136 </conditional>
137
138 <conditional name='cm_select'>
139 <param name='cm' type='select' label='Flag to add bounds on metabolite concentrations'>
140 <option value='No'>No</option>
141 <option value='Yes'>Yes</option>
142 </param>
143 <when value='Yes'>
144 <param name='conc_met_bounds' type='text' value='()' label='Bounds on metabolite concentrations. Bounds should be given in tuple format (see docs for more information)'/>
145
146 </when>
147 </conditional>
148
149 <conditional name='fm_select'>
150 <param name='fm' type='select' label='Select yes to add bounds on metabolite fluxes'>
151 <option value='No'>No</option>
152 <option value='Yes'>Yes</option>
153 </param>
154 <when value='Yes'>
155 <param name='flux_met_bounds' type='text' value='()' label='Bounds on metabolite fluxes. Bounds should be given in tuple format (see docs for more information)' />
156 </when>
157 </conditional>
158
159 <conditional name='cb_select'>
160 <param name='cb' type='select' label='Select yes to add bounds on biomass concentrations'>
161 <option value='No'>No</option>
162 <option value='Yes'>Yes</option>
163 </param>
164 <when value='Yes'>
165 <param name='conc_biom_bounds' type='text' value='()' label='Bounds on biomass concentrations. Bounds should be given in tuple format (see docs for more information)' />
166 </when>
167 </conditional>
168
169 <conditional name='fb_select'>
170 <param name='fb' type='select' label='Select yes to add bounds on biomass fluxes'>
171 <option value='No'>No</option>
172 <option value='Yes'>Yes</option>
173 </param>
174 <when value='Yes'>
175 <param name='flux_biom_bounds' type='text' value='()' label='Bounds on biomass fluxes. Bounds should be given in tuple format (see docs for more information)' />
176 </when>
177 </conditional>
178
179 <param name='verbose' type='boolean' argument='--verbose' truevalue='-v' falsevalue='' label='Flag to get debug information'/>
180
181 </section>
182
183 </inputs> 22 </inputs>
184
185 <outputs> 23 <outputs>
186 <data name='plots' label='Plots' format='pdf'/> 24 <data name='recap' label='Summary file' format='csv'/>
187 <data name='fluxes' label='Flux_results' format='tabular'/> 25 <data name='zip' label='Results' format='zip'/>
188 <data name='stats' label='Stat_results' format='tabular'/> 26 <data name='log' label='Log' format='txt'/>
189 <data name='config' label='Config_file' format='json'/>
190 <data name='log' label='Run_Log' format='txt'/>
191 </outputs> 27 </outputs>
192
193 <tests> 28 <tests>
194 <test> 29 <test>
195 <param name='input_selection|input_selector' value='tsv' /> 30 <param name='datafile' value='data.txt'/>
196 <param name='input_selection|datafile' value='KEIO_ROBOT6_1.tsv' /> 31 <param name='configfile' value='config_file.yml'/>
197 <section name='basic_settings'> 32 <output name='recap'>
198 <param name='lag' value='No'/>
199 <param name='deg_select|deg' value='No'/>
200 <param name='mc_select|montecarlo' value='Yes'/>
201 </section>
202 <section name='advanced_settings'>
203 <param name='vini' value='1'/>
204 <param name='sd_select|sd' value='No'/>
205 <param name='cm_select|cm' value='No'/>
206 <param name='fm_select|fm' value='No'/>
207 <param name='cb_select|cb' value='No'/>
208 <param name='fb_select|fb' value='No'/>
209 <param name='verbose' value='No'/>
210 </section>
211 <output name='fluxes'>
212 <assert_contents> 33 <assert_contents>
213 <has_n_columns n='7'/> 34 <has_text text='experiments'/>
214 <has_n_lines n='7'/> 35 <has_text text='growth_rate'/>
215 <has_size value='767' delta='20'/> 36 <has_text text='Glc_q'/>
37 <has_text text='Glc_M0'/>
38 <has_text text='Ace_q'/>
39 <has_text text='Ace_M0'/>
40 <has_text text='optimal'/>
41 <has_text text='mean'/>
42 </assert_contents>
43 </output>
44 <output name='zip'>
45 <assert_contents>
46 <has_archive_member path='.*\.svg' min='3'/>
47 <has_archive_member path='.*\.tsv' min='2'/>
48 <has_archive_member path='.*\.pdf' min='1'/>
216 </assert_contents> 49 </assert_contents>
217 </output> 50 </output>
218 </test> 51 </test>
219 <!-- <test>-->
220 <!-- <param name='input_selection|input_selector' value='tsv' />-->
221 <!-- <param name='input_selection|datafile' value='KEIO_ROBOT6_1.tsv' />-->
222 <!-- <section name='basic_settings'>-->
223 <!-- <param name='lag' value='No'/>-->
224 <!-- <param name='deg_select|deg' value='No'/>-->
225 <!-- <param name='mc_select|montecarlo' value='No'/>-->
226 <!-- </section>-->
227 <!-- <section name='advanced_settings'>-->
228 <!-- <param name='vini' value='1'/>-->
229 <!-- <param name='sd_select|sd' value='No'/>-->
230 <!-- <param name='cm_select|cm' value='No'/>-->
231 <!-- <param name='fm_select|fm' value='No'/>-->
232 <!-- <param name='cb_select|cb' value='No'/>-->
233 <!-- <param name='fb_select|fb' value='No'/>-->
234 <!-- <param name='verbose' value='No'/>-->
235 <!-- </section>-->
236 <!-- <output name='fluxes' file='flux_results.tsv'/>-->
237 <!-- </test>-->
238 </tests> 52 </tests>
239
240 <help><![CDATA[ 53 <help><![CDATA[
241 .. class:: warningmark 54 **PhysioFit is a scientific tool designed to quantify cell growth parameters and uptake & production fluxes**
242 55
243 **PhysioFit is a scientific tool designed to i) quantify exchange (production and consumption) fluxes and ii) cell growth 56 Fluxes are estimated using mathematical models by fitting time-course measurements of the concentration of
244 rate during (batch) cultivations of microorganisms.** 57 cells and extracellular substrates and products. PhysioFit is shipped with some common growth models, and
245 58 additional tailor-made models can be implemented by users.
246 Fluxes are estimated from time-course measurements of extracellular metabolites and biomass concentrations. PhysioFit has been designed to 59
247 calculate fluxes in batch experiments, assuming cells are in metabolic (pseudo) steady-state (i.e. fluxes are constant during the experiment). 60 **PhysioFit includes the following features:**
248 61
249 **PhysioFit includes the following features:** 62 * **calculation of growth rate and extracellular (uptake and production) fluxes**,
250 63 * **a set of steady-state and dynamic models** are shipped with PhysioFit,
251 * **calculation of growth rate and extracellular (uptake and production) fluxes**. 64 * **tailor-made models** can be constructed by users,
252 * if cell growth has some **lag** (e.g. due to adaptation to a novel environment), lag can be taken into account and lag time estimated. 65 * Monte-Carlo sensitivity analysis to **estimate the precision of the calculated fluxes**,
253 * **non-enzymatic degradation** of some metabolites (e.g. DHA or glutamine) can be estimated and taken into account when calculating fluxes. 66 * **evaluation of the goodness of fit and visual inspection of the fitted curves**,
254 * sensitivity analyses are performed to **estimate the precision of the calculated fluxes**. 67 * shipped as a **library** with both a **graphical** and a **command line** interface,
255 * **evaluation of the goodness of fit and visual inspection of the fitted curves**. 68 * **open-source, free and easy to install** everywhere where Python 3 and pip run,
256 * shipped as a **library** with both a **graphical** and **command line** interface, 69 * **biologist-friendly**.
257 * open-source, free and easy to install everywhere where Python 3 and pip run, 70
258 * biologist-friendly. 71 It is one of the routine tools that we use at the
259 72 `MetaSys team <https://www.toulouse-biotechnology-institute.fr/en/poles/equipe-metasys/>`_
260 It is one of the routine tools that we use at the MetaSys team and `MetaToul platform <http://www.metatoul.fr>`_ to calculate fluxes. 73 and `MetaToul platform <https://mth-metatoul.com/>`_ to calculate fluxes.
261 74
262 The code is open-source, and available on `GitHub <https://github.com/MetaSys-LISBP/PhysioFit/>`_ under a GPLv3 license. 75 The code is open-source, and available on `GitHub <https://github.com/MetaSys-LISBP/PhysioFit/>`_ under a GPLv3 license.
263 76
264 We strongly encourage you to read the `documentation <https://physiofit.readthedocs.io/en/latest/>`_ before using PhysioFit. 77 This documentation is available on Read the Docs (`https://physiofit.readthedocs.io <https://physiofit.readthedocs.io/>`_)
265 78 and can be downloaded as a `PDF file <https://readthedocs.org/projects/physiofit/downloads/pdf/latest/>`_.
266 ]]></help> 79
80 ]]></help>
267 <citations> 81 <citations>
268 <citation type='bibtex'> 82 <citation type='bibtex'>@article{10.1101/2023.10.12.561695,
269 @misc{githubphysiofit, 83 author = {Le Grégam, Loïc and Guitton, Yann and Bellvert, Floriant and Heux, Stéphanie and Jourdan, Fabien and Portais, Jean-Charles and Millard, Pierre},
270 author = {Le Gregam, Loic}, 84 title = "{Physiofit: a software to quantify cell growth parameters and extracellular fluxes}",
271 year = {2022}, 85 year = {2023},
272 title = {PhysioFit}, 86 month = {10},
273 publisher = {Peiro et al.}, 87 abstract = '{Quantification of growth parameters and extracellular uptake and production fluxes is central in systems and synthetic biology.
274 journal = {Appl Environ Microbiol}, 88 Fluxes can be estimated using various mathematical models by fitting time-course measurements of the concentration of cells and
275 url = {https://journals.asm.org/doi/10.1128/AEM.00768-19}, 89 extracellular substrates and products. A single tool is available to calculate extracellular fluxes, but it is hardly interoperable and
276 }</citation> 90 includes a single hard-coded growth model. We present our open-source flux calculation software, PhysioFit, which can be used with any
277 </citations> 91 growth model and is interoperable by design. PhysioFit includes by default the most common growth models, and additional models can be
92 implemented by users to calculate fluxes and other growth parameters for metabolic systems or experimental setups that follow alternative
93 kinetics. PhysioFit can be used as a Python library and includes a graphical user interface for intuitive use by end-users and a
94 command-line interface to streamline integration into existing pipelines.}',
95 doi = {10.1101/2023.10.12.561695},
96 url = {https://doi.org/10.1101/2023.10.12.561695},
97 }
98 </citation>
99 </citations>
278 </tool> 100 </tool>