You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ecological and evolutionary processes of microbes are characterized by observables like growth rates and biomass yield, inferred from kinetics experiments.
7
3
Across conditions, these observables map response patterns such as antibiotic growth inhibition and yield dependence on substrate.
8
4
But how do we extract ecological and evolutionary insights from massive datasets of time-resolved microbial data? Here we introduce Kinbiont — an ecosystem of numerical methods combining state-of-the-art solvers for ordinary differential equations, non-linear optimization, signal processing, and interpretable machine learning algorithms.
9
5
Kinbiont provides a comprehensive, model-based analysis pipeline, covering all aspects of microbial kinetics data, from preprocessing to result interpretation.
10
-
For the stable documentation please consult [Documentation](https://kinbiont.fuzue.org/)
6
+
7
+
8
+
9
+
For stable documentation please consult [Documentation](https://kinbiont.fuzue.org/).
10
+
11
+
Pre-print at [Biorxiv](https://www.biorxiv.org/content/10.1101/2024.09.09.611847v1) .
12
+
13
+
Data and scripts to reproduce the paper results at [Kinbiont utilities](https://github.com/pinheiroGroup/Kinbiont_utilities)
Copy file name to clipboardexpand all lines: src/Fit_one_file_functions.jl
+5-2
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Fits a logarithmic-linear model to data from a .csv file. The function assumes t
43
43
- `pt_avg=7`: Number of points used in the rolling average smoothing.
44
44
- `pt_smoothing_derivative=7`: Number of points for evaluating specific growth rate. If less than 2, uses interpolation; otherwise, a sliding window approach is used.
45
45
- `pt_min_size_of_win=7`: Minimum size of the exponential windows in terms of the number of smoothed points.
46
-
- `type_of_win="maximum"`: Method for selecting the exponential phase window. Options are `"maximum"` or `"global_thr"`.
46
+
- `type_of_win="maximum"`: Method for selecting the exponential phase window. Options are "maximum"` or `"global_thr"` "max_with_min_OD".
47
47
- `threshold_of_exp=0.9`: Threshold in quantile to define the exponential windows, between 0 and 1.
48
48
- `do_blank_subtraction="avg_blank"`: Method for blank subtraction. Options include `"NO"`, `"avg_subtraction"`, and `"time_avg"`.
49
49
- `blank_value=0.0`: Average value of the blank, used only if `do_blank_subtraction` is not `"NO"`.
@@ -143,8 +143,11 @@ function fit_one_file_Log_Lin(
143
143
144
144
# excluding blank data and discarded wells
145
145
iflength(list_of_blank) >0
146
+
146
147
names_of_cols =filter!(e ->!(e in list_of_blank), names_of_cols)
148
+
147
149
end
150
+
148
151
iflength(list_of_discarded) >0
149
152
150
153
names_of_cols =filter!(e ->!(e in list_of_discarded), names_of_cols)
@@ -1662,7 +1665,7 @@ function segment_gr_analysis_file(
Copy file name to clipboardexpand all lines: src/Fit_one_well_functions.jl
+79-13
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Fits a logarithmic-linear model to data from a .csv file. The function assumes t
34
34
- `pt_avg=7`: Number of points used in the rolling average smoothing.
35
35
- `pt_smoothing_derivative=7`: Number of points for evaluating specific growth rate. If less than 2, uses interpolation; otherwise, a sliding window approach is used.
36
36
- `pt_min_size_of_win=7`: Minimum size of the exponential windows in terms of the number of smoothed points.
37
-
- `type_of_win="maximum"`: Method for selecting the exponential phase window. Options are `"maximum"`or `"global_thr"`.
37
+
- `type_of_win="maximum"`: Method for selecting the exponential phase window. Options are `"maximum"`, `"global_thr"` or `"max_with_min_OD"`.
38
38
- `threshold_of_exp=0.9`: Threshold in quantile to define the exponential windows, between 0 and 1.
39
39
- `do_blank_subtraction="avg_blank"`: Method for blank subtraction. Options include `"NO"`, `"avg_subtraction"`, and `"time_avg"`.
40
40
- `blank_value=0.0`: Average value of the blank, used only if `do_blank_subtraction` is not `"NO"`.
@@ -85,7 +85,7 @@ function fitting_one_well_Log_Lin(
This function fits an Ordinary Differential Equation (ODE) model to segmented time-series data. Users provide fixed change points, and the function models to each segment defined by these points.
1192
+
This function fits an Ordinary Differential Equation (ODE) model to segmented time-series data. Users provide fixed change points, and the function models to each segment defined by these points.
1127
1193
1128
1194
# Arguments:
1129
1195
@@ -1455,7 +1521,7 @@ function segmentation_ODE(
1455
1521
pt_avg=1, # number of the point to generate intial condition
1456
1522
smoothing=true, # the smoothing is done or not?
1457
1523
path_to_results="NA",
1458
-
win_size=14, #
1524
+
win_size=14, #
1459
1525
pt_smooth_derivative=7,
1460
1526
beta_smoothing_ms=2.0,
1461
1527
multiple_scattering_correction=false, # if true uses the given calibration curve to fix the data
@@ -1775,7 +1841,7 @@ function segment_gr_analysis(
1775
1841
thr_lowess=0.05, # keyword argument of lowees smoothing
0 commit comments