This repository contains the code used for analyzing the single-cell microscopy data described in the following publication:
A genetically encoded biosensor to monitor dynamic changes of c-di-GMP with high temporal resolution
Andreas Kaczmarczyk, Simon van Vliet, Roman Peter Jakob, Raphael Dias Teixeira, Inga Scheidat, Alberto Reinders, Alexander Klotz, Timm Maier, Urs Jenal
Biozentrum, University of Basel, 4056 Basel, Switzerland
Correspondence to: urs.jenal[at]unibas.ch, andreas.kaczmarczyk[at]unibas.ch
Code developed by:
Simon van Vliet
Biozentrum, University Basel
simon.vanvliet[at]unibas.ch
- create a conda environment using the specified
environment.yml
file
Jupyter notebooks are provided to recreate the data analysis. Most notebooks have three versions, one for Caulobacter (_Cc
) and Pseudomonas (Pa
) at low time resolution and one for Caulobacter (_Cc_Fast
) at high time resolution.
To replicate the results follow the following steps:
- Run the
1_filter_data_[Cc/Pa/Cc_Fast]
notebooks to filter out tracklets with tracking / segmentation errors - Run the
2_plot_data_[Cc/Pa/Cc_Fast]
notebooks to recreate the main figures - Run the
3_plot_lineage_trees]
notebooks to recreate the lineage tree figures
filter_tracks.py
: function definition for tracklet filtering to identify segmentation/tracking results, used in1_filter_data_Cc_Fast
notebookfilter_paired_tracks.py
: function definition for paired tracklet filtering to identify segmentation/tracking results, used in1_filter_data_[Cc/Pa]
notebooksplot_lineage_tree.py
: class definition of function used to plot lineage trees
The data_files folder contains data frames of the filtered cell lineages.
Time-lapse movies were analyzed using DeLTA 2.0. The output of DeLTA was processed using the delta_postprocess.py
code that converts the DeLTA lineage object into Pandas dataframes with lineages separated into separate tracks. The Notebooks 0_postprocess_delta_[Cc/Pa/Cc_Fast]
used for this are provided as reference.