|
5 | 5 |
|
6 | 6 | ## Purposes
|
7 | 7 |
|
| 8 | +Recent advances in the field of microscopy allow the capture, at nanometer resolution, of the motion of fluorescently-labeled particles in live cells such as proteins or chromatin loci. Therefore, the development of methods to characterize the dynamics of a group of particles has become more than necessary. |
8 | 9 |
|
9 | 10 | `TrackSegNet` is a tool designed for the classification and segmentation of experimental trajectories, specifically those obtained from single-particle tracking microscopy data, into different diffusive states.
|
10 | 11 |
|
11 |
| -To enable the training of the LSTM neural network, synthetic trajectories are initially generated, and the parameters of the generator can be fine-tuned. |
| 12 | +- To enable the training of the LSTM neural network, synthetic trajectories are initially generated, and the parameters of the generator can be fine-tuned. |
12 | 13 |
|
13 |
| -Upon completion of the training process, the experimental trajectories are classified at each point using the trained model. Subsequently, the trajectories are segmented and grouped based on their respective diffusive states. In this context, "diffusive states" refer to the distinct modes or patterns observed in the movement of particles. |
| 14 | +- Upon completion of the training process, the experimental trajectories are classified at each point using the trained model. Subsequently, the trajectories are segmented and grouped based on their respective diffusive states. In this context, "diffusive states" refer to the distinct modes or patterns observed in the movement of particles. |
14 | 15 |
|
15 |
| -For each segmented track, the diffusion constant ($D$) and anomalous exponent ($\alpha$) are further estimated. This is accomplished by computing the mean squared displacement (MSD), providing valuable insights into the dynamic behavior of the particles within each identified diffusive state. |
| 16 | +- For each segmented track, the diffusion constant () and anomalous exponent () are further estimated. This is accomplished by computing the mean squared displacement (MSD), providing valuable insights into the dynamic behavior of the particles within each identified diffusive state. |
16 | 17 |
|
17 | 18 |
|
18 | 19 | 
|
@@ -87,22 +88,27 @@ If `CSV` format is used, the headers should be: `x, y, frame, track_id`
|
87 | 88 |
|
88 | 89 | ### Change the main parameters
|
89 | 90 |
|
90 |
| -Update the main parameters in the `parms.csv` file according to your experiment: |
| 91 | +Tune the main parameters of the training in the `params.csv` file according to your experiment: |
| 92 | + |
| 93 | +* `num_states` the number of diffusive states for the classification(from 2 to 6 states). This number can vary from 2 to 6 states, but it is recommended to choose 2 to 4 states. |
| 94 | +* `state_i_diff` and `state_i_alpha` the approximate motion parameters for each of the  diffusive state. The diffusion constant  is dimensionless, and the anomalous exponent value  is ranging from 0 to 2 (: subdiffusion, : Brownian motion, : superdiffusion). |
| 95 | +* `pt_i_j` the probability of transitionning from state i to state j. The total number of probabilities should be . |
| 96 | + |
| 97 | +The remaining parameters are related to the experimental dataset: |
| 98 | + |
| 99 | +* `data_path`, the path of the dataset of trajectories to segment. |
| 100 | +* `track_format`, the format of the files containing the trajectory coordinates, either `MDF` (see `MTrackJ` data file format) or `CSV` |
| 101 | +* `time_frame`, the time interval between two trajectory points in seconds. |
| 102 | +* `pixel_size`, the dimension of a pixel in . |
91 | 103 |
|
92 |
| -- `data_path`: the path containing your data folder `SPT_experiment` to analyze |
93 |
| -- `track_format`: The format of the files containing the trajectory coordinates, should be `MDF` or `CSV` |
94 |
| -- `time_frame`: the time interval between two trajectory points (in second) |
95 |
| -- `pixel_size`: the dimension of a pixel (in µm) |
96 |
| -- `num_states`: the number of diffusive states for the classification(from 2 to 6 states) |
97 |
| -- `state_X_diff`: The expected diffusion value for state X (in µm^2/s). |
98 |
| -- `state_X_alpha`: The expected anomalous exponent α value for state X (from 0 to 2 -- ]0-1[: subdiffusion, 1: Brownian motion, ]1-2[: superdiffusion). |
99 |
| -- `pt_i_j`: the probability of transitionning from the state i to the state j. The total number of probabilities should be $N^2$. |
100 | 104 |
|
101 | 105 | Note that the program will run on the toy example if the parameters are unchanged.
|
102 | 106 |
|
103 | 107 | For updating the parameters of the track simulation and neural network training, please make the changes in the main file `tracksegnet.py`.
|
104 | 108 |
|
105 | 109 |
|
| 110 | + |
| 111 | + |
106 | 112 | ## Reference
|
107 | 113 |
|
108 | 114 | Yavuz, S., Kabbech, H., van Staalduinen, J., Linder, S., van Cappellen, W.A., Nigg, A.L., Abraham, T.E., Slotman, J.A., Quevedo, M. Poot, R.A., Zwart, W., van Royen, M.E., Grosveld, F.G., Smal, I., Houtsmuller, A.B. (2023). Compartmentalization of androgen receptors at endogenous genes in living cells, *Nucleic Acids Research* 51(20), [https://doi.org/10.1093/nar/gkad803](https://doi.org/10.1093/nar/gkad803).
|
|
0 commit comments