Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MDKCalculator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TBRU
MDKCalculator
Commits
4f3b7968
Commit
4f3b7968
authored
3 months ago
by
Selim Bouaouina
Browse files
Options
Downloads
Patches
Plain Diff
Upload ReadmeGetMDK.txt
parent
fd5cc077
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ReadmeGetMDK.txt
+29
-0
29 additions, 0 deletions
ReadmeGetMDK.txt
with
29 additions
and
0 deletions
ReadmeGetMDK.txt
0 → 100644
+
29
−
0
View file @
4f3b7968
The GetMDK function is a simple tool to calculate the minimum duration for killing (MDK) from time killing assays.
It takes an excel file as input with the sampling time points in the first column (header set to time (Days) as default)
folowed by survival data for each strain with each column labelled by strain name.
Example input:
time (Days) Strain A Strain B Strain C Strain C
0 1 1 1 1
2 0.024630542 0.017617925 7.69073E-06 0.027384615
4 0.000525452 0.004351415 4.61444E-11 0.002030769
6 9.85222E-05 0.000141509 0 0.000615385
Antibiotic action is generalized to presume an exponential decal model, tolerance is measured
during the exponential portion so typically log survival is considered to extrapolate a linear function.
If you do not want to assume a decay model you can toggle log to = FALSE
This script considers each pair of adjacent timepoints and assesses whether survival within that interval
crosses the set threshold for MDK. By default a threshold of 0.01 is set to assess 99% killing or 1% survival
Once the interval is found, it solves for x (time) where y (survival) is at 0.01 or the input threshold
The output is a csv file containing MDK values for all strains in the input file
This script was written for experiments with Mycobacterium tuberculosis as such all labels specify "Days" but
this can be changed.
Developed by Dr. Michaela Zwyer
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment