Abstract
Kymographs or space-time plots are widely used in cell biology to reduce the dimensions of a time-series in microscopy for both qualitative and quantitative insight into spatio-temporal dynamics. While multiple tools for image kymography have been described before, quantification remains largely manual. Here, we describe a novel software tool for automated multi-peak tracking kymography (AMTraK), which uses peak information and distance minimization to track and automatically quantify kymographs, integrated in a GUI. The program takes fluorescence time-series data as an input and tracks contours in the kymographs based on intensity and gradient peaks. By integrating a branch-point detection method, it can be used to identify merging and splitting events of tracks, important in separation and coalescence events. In tests with synthetic images, we demonstrate sub-pixel positional accuracy of the program. We test the program by quantifying sub-cellular dynamics in rod-shaped bacteria, microtubule (MT) transport and vesicle dynamics. A time-series of E. coli cell division with labeled nucleoid DNA is used to identify the time-point and rate at which the nucleoid segregates. The mean velocity of microtubule (MT) gliding motility due to a recombinant kinesin motor is estimated as 0.5 μm/s, in agreement with published values, and comparable to estimates using software for nanometer precision filament-tracking. We proceed to employ AMTraK to analyze previously published time-series microscopy data where kymographs had been manually quantified: clathrin polymerization kinetics during vesicle formation and anterograde and retrograde transport in axons. AMTraK analysis not only reproduces the reported parameters, it also provides an objective and automated method for reproducible analysis of kymographs from in vitro and in vivo fluorescence microscopy time-series of sub-cellular dynamics.
Introduction
Kymographs, or space-time plots, have been extensively used to analyse sub-cellular microscopy time-lapse data with improvements in microscopy. It has been used in the past to characterize organelle transport, cell division and molecular motor motility as reviewed by Pereira et al. [1], and the wide-range of applications could be the result of the reduced spatial dimensions of complex microscopy time-series. Most often however, kymography has been used as a qualitative readout of movement or dynamics. In studies where kymographs have been quantified, most often this has been manual, as seen in the Multi Kymograph plugin for ImageJ [2]. Most of the existing tools such as the automated kymography tool [3] and ‘guided’ kymography [1] focus on automating the process of kymograph building. Few methods for the automated quantification of kymographs exist, such as ‘Kymomaker’ [4] and a curvelets based tool [5]. Both these tools automate quantification, but cannot deal with merging and spitting events. Despite the ubiquitous nature of merging and splitting events in typical sub-cellular processes, none of the existing tools for the automated quantification of kymographs include a feature to handle budding and coalescence.
Genome segregation is conserved across cellular systems and has been extremely well studied in the rod-shaped Gram-negative bacterium Escherichia coli [6,7]. However microscopic analysis of DNA segregation has only recently been made possible with improvements in microscopy and image-analysis [8–10]. Given the almost 1D geometry of segregation of the genome along the long axis of the cell, kymography is a convenient way to analyze the process of nucleoid DNA segregation. Recent studies using explicit 3D over time tracking have found compaction waves are associated with E. coli genome segregation [11]. Based on a reduction in dimensions to 1D over time, a quantitative kymograph-based analysis could be used to screen for changes and defects in segregation, without the need for more complex datasets and their analysis.
The process of microtubule transport by molecular motors reconstituted in vitro, referred to as a `gliding assay’ has been extensively used to examine the fundamental nature of multi-molecular transport of actin and microtubule filaments by motors [12–15]. Recent studies have also used ‘gliding assays’ to address microtubule mechanics based on the bending of filaments while undergoing transport [16]. Kymography of cytoskeletal filaments in vivo has been used to follow actin contractility and microtubule buckling dynamics [17]. However in most cases the use of kymography has been limited to visualizing the time-series in a single-image, as a compact form of data representation. A general tool that could use this information to objectively extract the measures of motility would hence be of some use to these multiple applications.
The assembly of proteins by ‘recruitment’ to structures is fundamental in multi-protein complex formation. The assembly of vesicles by budding off membranes and their fusion is critical for cellular function. For the assembly of coated pits with clathrin for endocytosis the site of assembly [18], sequence of binding events [19] and interactions of other proteins [20] is considered to be critical. Microscopy of in vitro reconstituted membrane bilayers has become a powerful tool to study the dynamics of protein assembly during vesicle formation [21,22]. Proteins such as epsin, which were reported to accelerate clathrin ‘recruitment’ [23] have been examined using kymography of the fluorescently labelled clathrin and the effect of mutant epsins on the process [24]. While such an approach lends itself to high-content screening, the analysis of the kymograph has been manual. Many other such ‘recruiment’ dynamics studies could benefit from an automated routine to quantify the kinetics of assembly through intensity measurements coupled to kymography.
Neuronal vesicles are transported in axons by the action of molecular motors. Microscopy of in vitro reconstituted [25] and the in vivo transport in cultured cells [26,27] has provided insights into both the components and forces regulating transport. Recent technical developments have allowed whole animal in vivo microscopy of sub-cellular vesicle movements in neurons [28]. In this and comparable studies, quantitative statistics have been obtained using manual detection of kymographs. This is possibly due to the complex nature of the time-series with cross-overs and the crowded in vivo environment. An approach that uses objective criteria and automates the process of quantification could provide valuable improvements to our understanding of fundamental nature of vesicle transport as well as aid in the process of modeling vesicle transport.
Here, we have developed a novel tool to automatically quantify kymographs from fluorescence image time-series. We proceed to demonstrate the utility of the automated multi-peak tracking kymography (AMTraK) tool by quantifying dynamics from diverse sub-cellular fluorescence microscopy data sets. These include bacterial genome-segregation, microtubule (MT) motility of 1D filaments and 2D radial asters, membrane protein assembly dynamics and vesicle transport in axons.
Algorithm and workflow
The automated multi-peak tracking kymography (AMTraK) is open source software based on an algorithm that combines peak detection and distance minimization based linking to quantify dynamics of fluorescence image time-series. The source code has been released with a GPL license and can be accessed from: http://www.iiserpune.ac.in/~cathale/SupplementaryMaterial/Amtrak.html and https://github.com/athale/AMTraK
The program has a GUI front-end and is accompanied by a detailed help file. The algorithmic workflow (Fig 1A) is divided broadly into three steps:
Making the kymograph
Peak detection and tracking
Statistics
These steps in the workflow are reflected in the graphical user interface (GUI) layout (Fig 1B). The functioning of each of these steps is briefly described as follows:
(a) Making the kymograph
The user chooses an input image time-series with the “Open File” button. Image time-series are assumed to be uncompressed, multi-page TIF files (independent of bit depth). The user can choose to process either the whole or a subset of frames using the “Frame nos.” text box. For example entering “2:2:8” will now result in only frames 2, 4, 6 and 8 being processed for further analysis. The text box “Save as sub-folder” takes a number input (default “1”) indicating where the outputs will be stored (e.g.: “./amtrak-1”). The drop-down menu “Apply LOI” allows the user to either choose a line of interest (LOI) using the mouse (“Interactive”) or apply a pre-existing LOI on a different channel (color) of the image time-series (“From file”). Once an interactively drawn LOI is selected, it is stored in the output sub-folder as “LOIselection.txt” (S1 Data). This LOI can subsequently be applied, to another channel or the same region of another dataset (e.g.: microfluidics channels) using the “From file” mode. For this, the user is required to load a separate TIF time-series using “Open File” and change the sub-folder number in order to prevent overwriting old data. The “LOI width (pixels)” allows a user to choose the width of the LOI, to compensate for occasional drift of the object, in a direction orthogonal to the LOI orientation. The choice widths- 1, 3 and 5 pixels- is centered around the selected LOI pixels, similar to that implemented in the ImageJ Multi Kymograph plugin [2]. The drop-down menu “Units” allows the user to select distance and time units, and the text boxes “Scaling factor” and “Time interval” are used to provide conversion factors per pixel and frame respectively. This results in scaling the pixels and frame numbers to physical units. The button “Make Kymograph” produces a maximum intensity projection image of the input time-series, if the user had chosen the “Interactive” mode (default) in the “Apply LOI” menu. The user is required to select the line of interest by drag-clicking the mouse. Double-clicking ends the selection, and throws a dialog box, which prompts the user to choose to either select more LOIs or continue with the processing of the one already selected. This generates file one or more “LOIselection.txt” files in the sub-folders. If the “From file” mode was selected, the program allows the user to select a pre-existing “LOIselection.txt” from the directory structure. The program then generates kymographs based on these LOIs and stores the matrices corresponding to the LOIs in sub-folders numbered according to the sequence of LOI selection (e.g.: “/amtrak-1/”, “/amtrak-2/” etc.).
(b) Peak detection and tracking
Detecting peaks: The button “Subfolder” allows the user to choose the kymographs to be processed using “Add”, which adds the subfolders created earlier to the active list. Using this feature, a user can either process a single kymograph at a time, or process multiple kymographs using the same parameters. The kymograph is segmented row-wise using Otsu’s method [29] and the resulting binary image is processed for “Peak detection”. The user can choose between three alternative methods: (i) findpeaks [30] and (ii) watershed [31] to find central peaks, while (iii) Canny edge detection [32] is useful if the edge information is the most reliable descriptor of the dynamics. Typically findpeaks and watershed are ideal for spherical objects.
Linking: The list of peaks P(t) for each time point t is linked resulting in tracks, based on user input parameters of “Peak search radius” (λ1) and “Min. track length” (λ2). Peaks are linked if the minimal pair-wise distance dj(t,t+τ) between every jth peak in successive rows (t, t+τ) satisfies the condition min(dj(t, t+τ)) ≤ λ1, iteratively for the jth peak in every subsequent time step (t+τ). If two or more peaks are equidistant, the peak that makes the largest angle (0 to π) with the existing track is chosen, similar to our previously developed branch detection method [33]. For the peaks in t = 1, the angle criterion does not hold true and equidistant peaks are resolved by user-input. Tracks are eliminated from further analysis if their number of peaks linked len(P) ≤ λ2, to avoid artifacts due to very short tracks.
Remove redundant: If the checkbox “Remove redundant tracks” is selected, each ith track with ηi coordinates, is tested for intersections using the inbuilt intersect function. If the number of common coordinates ηc satisfies the condition ηc ≥ ηi/3, it is eliminated as a redundant track.
Splitting and joining tracks: If the checkbox “Splitting events: Link tracks” is selected, events where two tracks merge are identified by a two-step process. First, all peaks (I(x,t)) are evaluated for the condition I(x,t) = (dte ≤ ω1) AND (dxe ≤ ω2), where dte is the distance on the time-axis (t) and dxe is the distance on the spatial (x) axis. Then, a peak with the minimal (Euclidean) distance is minimized for the distance to the end-point (e) coordinate Jm. The time and distance thresholds are set by the user in the text box for ω1 (frames) and ω2 (pixels) respectively.
The button “Detect Peaks” then outputs an image of the kymograph with the peaks overlaid in color, while invoking the button “Make tracks” links the peaks based on the input parameters. Lastly the button “Quantify” produces a text file corresponding to each track (S2 Data, S3 Data and S4 Data).
(c) Statistics
This section of the code produces both text-file outputs and plots of the dynamics estimated from the kymograph. The frequency distribution of “Instantaneous Displacement”, “Total Displacement”, “Instantaneous Velocity”, “Speed” and “Tortuosity” (i.e. directionality) are plotted if the button “Plot” corresponding to these variables is pressed. Additionally the mean and standard deviation (s.d.) of these variables are also generated in the text boxes. Pressing the “Track Intensity” button plots the normalized (0–1) grey value intensity of each track as a function of the time. The button “Track orientation” triggers a recoloring the tracks in the kymograph based on the net direction of movement along the X-axis- blue (-ve, left), red (+ve, right) and green (stationary, neutral).
The outputs of the analysis are stored in multiple tab-delimited text files: “LOIselection.txt” with the LOI coordinates (S1 Data), “USER_TrackStats.txt” which reports track-wise mean values (S2 Data), “USER_InstStats.txt” which reports the time-dependent statistics (S3 Data), “Tracklist.txt” which stores the grey-value intensities as a function of track number and time (S4 Data) and “Branchpoints.txt” which stores the position and time coordinates of detected branches (S5 Data). The user-inputs to AMTraK in terms of files, directories and parameters are all stored in “All_Parameters.txt” (S6 Data), to enable reproducible analysis.
Materials and Methods
Simulated test images
Simulated images of static beads were generated by creating 8 bit images with a black background (intensity: 0) with equally spaced single white pixels (intensity: 255) in MATLAB (MathWorks Inc., USA). To simulate bead motion, a simple 1D random-walk was implemented where each bead was moved randomly in each frame, with displacement drawn from a normally distributed random number with mean m = 0 and standard deviation (s). The standard deviation is a measure of the mean speed of motion. Both the static and mobile bead image time-series were filtered with a 5x5 disk filter and smoothed using a 3x3 averaging filter. The resulting convolved circular objects (S1A Fig) have intensity profiles that resemble point sources of fluorescence signal (S1B Fig). The time-series were saved as a multi-page TIF files. Noise was added to individual time-series in order to simulate increasing levels of image-noise using a Gaussian filter with increasing standard deviation (0–100) using ImageJ [34].
Bacterial growth and microscopy
E. coli MG1655 (CGSC, Yale, USA) expressing the pBAD24-hupA-GFP [35] were cultured in Luria Bertani (LB) medium (HiMedia, Mumbai, India) with 100 μg/ml Ampicillin (Sigma-Aldrich, Mumbai, India) at 37°C with shaking at 170 rpm (Forma, ThermoScientific, USA). Nutrient ‘agar-pads’ with 0.2% arabinose (Sisco Research Labs, Mumbai, India) and 100 μg/ml ampicillin were imaged on a glass-bottomed Petri dish (Corning, NY, USA) at 37°C using an inverted Zeiss LSM780 confocal microscope (Carl Zeiss, Germany) with a Plan Apochromat 63x (N.A. 1.40, oil) lens in DIC and fluorescence (excitation by 405 nm diode laser with a beam splitter MBS 405 and the emission collected between 487–582 nm) modes. Images were corrected for drift using the rigid body transformation in the StackReg plugin [36] for ImageJ.
Microtubule gliding assay
A 1:4 ratio of TRITC-labeled bovine and unlabeled porcine tubulin (Cytoskeleton Inc., USA) at a concentration of 20 μM were used to prepare taxol stabilized MT-filaments in general tubulin buffer as described by the supplier (Cytoskeleton Inc., USA). Into a double backed tape chamber, we sequentially flowed in 4.1 μg/μl of a 67 kDa recombinant human kinesin (Cytoskeleton Inc., USA), blocking buffer (5 mg/ml Casein) and MT filaments. The chamber was then washed with a casein-containing buffer and the reaction was started with 1 mM ATP with anti-fade mix (0.05 M glucose, 1% sucrose, 0.5 mg/ml catalase, 0.5 mg/ml glucose oxidase, 0.5% beta-mercaptoethanol (Cytoskeleton Inc., USA)). Time-series images were acquired every minute for 30 minutes on an upright epifluorescence microscope with a 40x (N.A. 0.75) EC Plan Neofluar lens mounted on a Zeiss Axio Imager.Z1 (Carl Zeiss, Germany) using filters for excitation (563 nm) and emission (581 nm) and an MRC camera (Carl Zeiss, Germany).
Image processing
The acquired time-series and movies taken from published data were converted to uncompressed TIF time-series using ImageJ (Schneider et al., 2012) and online converters for MOV files. MT-gliding assay images were de-noised using a median filter in ImageJ. For manual analysis of kymographs of MT-gliding, a program was written in MATLAB (MathWorks Inc., USA) to generate a kymograph from the time-series, interactively draw a segmented line along the edges and extract coordinates to calculate velocities. The automated multi-peak tracking kymography (AMTraK) code was implemented in MATLAB R2014b (MathWorks Inc., USA) in combination with the Image Processing (ver. 7.0) and Statistics (ver. 7.3) Toolboxes and tested on Linux, Mac OSX and Windows7 platforms. Vesicle transport image time-series in C. elegans from supporting material of published work [28] were calibrated based on the width of the axon from the same report.
Data analysis
All data analysis and plotting was performed using MATLAB 2014b (MathWorks Inc., USA). Fitting of custom functions was performed using either the Levenberg-Marquardt non-linear least square routine or the Trust-Region method, implemented in the CurveFitting toolbox (ver. 3.5) of MATLAB.
Results
Accuracy of detection
To test the positional detection accuracy of the algorithm, we have created simulated image time-series of circular objects that represent typical fluorescence images of circular objects (Fig 2A), comparable to images of sub-cellular structures in pixels (S1A Fig). Since the time-series consists of the same image, the objects are perfectly static as seen in the resulting kymograph (Fig 2B) output from running AMTraK on the data. Intensity variations are a result of the noise from the spatial filter (s.d. 40). The difference between the position of the detected tracks (xD) and the simulated position (xS) is used as an estimate of the limit of accuracy in position detection, Δx = |xS-xD|. The normalized frequency distribution of Δx can be fit to an exponential decay function to obtain a mean accuracy <Δx> = 1/b from the fit, in pixel units (Fig 2C). For all images with noise of s.d.< 40, the mean error (from fit) in detection 〈Δx〉<1 pixel. For higher values appears to saturate between 2–3 pixels (Fig 2D). Using the arithmetic mean as an estimate of the accuracy for a given noise s.d. appears to result in an underestimate that does not change with increasing noise s.d. (Fig 2D), and hence the mean from the exponential decay of the frequency of Δx was taken to be more representative of the central tendency. To test if motility affected the positional accuracy, we also evaluated the positional accuracy of particles undergoing a random walk (as described in the Materials and Methods section) with a fixed image noise (noise s.d. 30). By increasing the s.d. of the random walk we estimated the effect of increasing velocity on Δx (Fig 3A). The accuracy of positional detection using both the arithmetic and exponential mean error (<Δx >) as before, is less than 1 pixel for the chosen range of velocities of the random walk (Fig 3B). At higher velocities, the tracking errors accumulate, suggesting image noise is the major limiting factor for the positional accuracy of detection, independent of particle motility. Thus, while AMTraK analysis can result in sub-pixel accuracy of position detection, it is essential that the input data have low-noise. We proceeded to test our method on the multiple experimental datasets to examine the utility of this program involving bacterial DNA segregation, microtubule motility and vesicle assembly and transport dynamics.
Detecting splitting events in bacterial DNA-segregation
A time-series of growing E. coli is acquired in fluorescence (Movie A in S1 Video) and DIC (Movie B in S1 Video) to follow the nucleoid segregation dynamics of HupA-GFP labeled DNA (Fig 4A). Using the maximum intensity projection produced from AMTraK, the LOIs are chosen (Fig 4B) and used to generate and analyze two kymographs (Fig 4C and 4D). The segregation of the genome is captured by the branched structures of the tracks marked in the kymographs. Additionally we can evaluate both the instantaneous velocity for time-dependence (Fig 4E) and average statistics (Fig 4F). The mean nucleoid transport velocity is 0.103±0.12 μm/min (arithmetic mean ± standard deviation). Based on the form of the frequency distribution of instantaneous velocities, we also fit an exponential decay function to obtain the exponential mean velocity vex = 0.104 μm/min. These values of nucleoid movement speed from E. coli MG1655 (wild-type) cells are comparable to a previous report in which nucleoids were tracked in 3D over time [11]. While nucleoids form a diffraction-limited spot in microscopy images, un-branched cytoskeletal filaments form typical 1D structures and dynamics of transport on them and of the filaments themselves, are ideally suited for kymography.
Microtubule transport: filament edges, centers and time-dependence of velocity
The transport of microtubule (MT) filaments by surface-immobilized molecular motors in the presence of ATP and buffers is referred to in the literature as ‘gliding assay’ or ‘collective transport assay’. Here, we analyze the gliding motility of MT on kinesin, as described in the methods section, using AMTraK. The analysis of a representative kymograph using either peak- (Fig 5A) or edge-detection (Fig 5B) successful traces the centroids and edges respectively. The mean velocity estimates for collective motor transport show variations between individual filaments. The centroid and edge velocity estimates of multiple MT filaments (n = 10) are strongly correlated as evidenced by the straight line fit with slope ~ 1 (Fig 5C and 5D), as expected. However, the linear correlation of edge-based velocities has a slope of ~0.9 (Fig 5E), suggesting small deviations from the ideal slope, within the range of the average positional detection error (Fig 2C). While typical kymograph analysis of cytoskeletal transport averages the edge information (movement of the tips over time), correlating edge-velocities could potentially be used to estimate small alterations in the filament geometry such as bending and length change. The mean velocity of 0.5 μm/min obtained from our analysis of the assay (Fig 5F) is consistent with previous reports for the same construct [37,38]. While the transport of effectively 1D MT filaments lends itself to kymography, we proceeded to investigate if 2D radial MT structures or asters can also be analyzed by kymography.
Fusion of MT asters
In recent experiments by Foster et al. [39] they examined the spontaneous contraction dynamics of radial MT arrays or asters labeled with Alexa647-tagged tubulin, in Xenopus egg extracts. We have taken a time-series of such asters from published data (kindly shared by the author Peter J. Foster) and analyzed coalescence events using AMTraK (Fig 6A) The projection of the time-series for selecting the LOI enables us to reduce the complex movements of such 2D structures to a 1D over time process. The movement of the smaller aster as it merges with the larger one is rapid. The fluorescence intensity following the merger fluctuates, but does not increase, which we interpret to mean tubulin density at the center of the new aster does not increase (Fig 6B). While the coalescence appears not to result in a compaction of the aster, it demonstrates the utility of the code for 2D MT array transport. On the other hand, intensity measurements are expected to change during processes such as molecular ‘recruitment’ of sub-cellular structures, so we proceed to test the tool on this process, which had previously been studied using manual kymography.
Kinetics of clathrin assembly during in vitro vesicle formation
We proceed to quantify the assembly kinetics of clathrin on membranes from an in vitro reconstitution assay of clathrin assembly on vesicle precursors reported previously by Holkar et al. [24]. This process has been analyzed using kymography due to its effectively 1D spatial extent and the multiple simultaneous events of assembly. The published time-series of fluorescently labeled clathrin assembly kinetics in the presence of wild-type epsin (supplementary movie 3 in [24]) and L6W mutant epsin (supplementary movie 5 in [24]) in the form of 16 bit TIF images were provided by the authors (Sachin Holkar, personal communication). AMTraK was used to analyze this data without any pre-processing, resulting in tracked kymographs of assembly kinetics with wild-type (Fig 7A) and mutant epsin (Fig 7B). The software outputs a text-file of grey-value intensities normalized by the bit-depth (maximum normalized, between 0–1) (S4 Data), which when multiplied by the bit-depth of the input images, produced intensity profiles of clathrin assembly in grey-values with time in the presence of wild-type (Fig 7C, S3A Fig) and mutant epsin (Fig 7D, S3B Fig). These intensity profiles were fit to a single phase exponential function y = a+(b-a)*(1-e-c*t), where y is the intensity which increases with time t, and depends on three fit parameters, a, b and c, the same function as used by Holkar et al. [24]. A large proportion of the assembly events were successfully tracked and most showed saturation kinetics that were fit by curves with R2>0.7 (S3 Fig). While the parameters a and b are scaling factors, c determines the characteristic clathrin polymerization time, τ = 1/c. In our analysis the clathrin assembly time in presence of wild-type epsin is <τ> = 71.49±44.09 s while with mutant epsin <τ> = 70.16±29.89 s. In our estimate of the mutant assembly time is indistinguishable from wild-type, consistent with the previous report, which used manual quantification of the kymograph [24]. We proceed to examine if our tool, which appears to work successfully on in vitro data with low background noise, can also be used for the quantification of in vivo dynamics inside the crowded environment of an intact cell.
Axonal vesicle transport: Characterizing directional switching
Synaptic vesicles in Caenorhabditis elegans mechanoreceptor neurons labeled with GFP-Rab3 have been recently studied by Mondal et al. in a whole-animal microfluidics device, providing retrograde and anterograde vesicle transport statistics [28]. Such in vivo data is complex, involves multiple crossovers and has many objects close to each other. AMTraK based analysis of the published data could detect up to 17 different tracks (Fig 8A). Vesicles that were not detected have typically low intensity or were out of focus and were not segmented. The spread of the distribution of instantaneous velocities (left-ward: negative, anterograde; right-ward: positive, retrograde, non-motile: paused) shows that the GFP-Rab3 vesicles are equally likely to be anterograde and retrograde in their transport (Fig 8B). Based on the shape of the frequency distribution of the non-zero velocities in anterograde (Fig 8C) and retrograde (Fig 8D) directions, an exponential decay fit to the frequency distribution was used to estimate mean velocities (goodness of fit, R2 = 0.99). To enable comparison with the arithmetic means reported in literature [28], we also estimate the average. The mean velocity from the exponential fits of anterograde transport is 0.625 μm/s (n = 425, arithmetic mean±s.d.: 0.77±0.53 μm/s) while the mean retrograde velocity is 0.714 μm/s (n = 540, arithmetic mean±s.d.: 0.854±0.67 μm/s). In this case, both means are comparable since only non-zero values were the analyzed. Velocities in both directions are of comparable order of magnitude to the published values obtained by manual detection [28], but 1.5-fold lower, due to a (non-zero) threshold velocity used by the authors to define pauses (as personally communicated by the author, Sudip Mondal). Thus, AMTraK can be reliably used to quantify transport and assembly dynamics from both in vitro and in vivo fluorescence microscopy data, as seen from the quantification, which is consistent with literature.
Discussion
In this report, we have described a novel tool for automatic detection and quantification of kymographs from fluorescence microscopy time-series. Using simulations we have demonstrated sub-pixel position detection accuracy of our proposed method, in conditions of low Gaussian noise. The program quantifies position, motility, and brightness intensity of fluorescence signal and fusion/splitting events. The utility of the code is tested on in vitro and in vivo fluorescence time-series ranging from in vitro assays of MT gliding assays with kinesin, coalescence dynamics of MT-asters, clathrin assembly kinetics on lipid tethers to in vivo axonal synaptic vesicle transport. The measures of average transport and kinetics of these diverse data types are consistent with published data and provides opportunities for improved statistics of individual events from a dynamic time-series, which were not as easily accessible with current methods.
Manual quantification of kymographs [2] depends typically on reliable edge detection. As a result, quantification varies between individuals and requires prior information or experience [40]. Yet, manual kymography is widely reported in cell-biological literature for the analysis of dynamic processes, possibly due to the heterogeneity of the data types and the absence of a single standard method or even criterion, which to make the process less interactive. While developing AMTraK, we tested global (whole-image) methods of edge-segmentation (contour-, watershed- and gradient-based), but found them to be inadequate for the task. Possible reasons include the time-dependent brightness and contrast changes of the sample resulting from either bleaching or intrinsic dynamics. We find that for some applications such as vesicle transport and protein recruitment, the detecting and tracking peaks is ideal, while for microtubule gliding assays edge detection is better. As a result our code allows the user to choose amongst three different methods of segmentation based on the nature of their data (a) peak detection by findpeaks and (b) watershed and (c) edge detection using the Canny edge detector.
Typical problems in peak or edge detection arise when the data has poor signal to noise. This is also seen in our error analysis with increasing noise amplitude (Fig 2D). One solution is to background subtract the image, which can be easily done in multiple tools. The occasional loss of some particles in a time-series such as synaptic vesicles (Fig 8A), despite being visible to the eye, results from a failure in detection or a `pruning’ step used to remove spurious and redundant tracks. Such pruning however was found to be necessary to ensure robustness of the code for handling multiple data types and is simple to trouble-shoot due to the limited number of adjustable parameters. While intensity matching did not improve the percentage vesicles tracked, in future additional features like those used in pattern-matching for tracking [41] could be used further improve the detection percentages. Our test with increasing Gaussian random image noise (Fig 2) also suggests that increases of fluorescently tagged proteins (for instance due to expression level increases in vivo), could result in reduced spatial contrast. Such data would then be difficult to automatically quantify using AMTraK. The data would require pre-processing with something similar to an anisotropic diffusion filter [42] to preserve edge information but reduce non-specific signal. In future, multiple data pre-processing routines could be implemented in a separate module, to add to the functionality of the program.
Our quantification of the frequency distribution of synaptic vesicle transport in anterograde and retrograde directions (Fig 8C and 8D) suggests the instantaneous velocities are exponentially distributed. While the arithmetic mean suffices for comparison with experimental reports [28], the quantification of the precise nature of the distribution of velocities could be used as a test of theoretical models. Such a comparison has been made in previous work on synaptic vesicle precursor trafficking [43]. Such models are relevant for both neurophysiology as well as understanding of collective effects in molecular-motor driven vesicle transport in vivo [44,45].
The collective motor velocity of human kinesin driven gliding of MTs has been well characterized in previous work [12,46,47]. Many of these studies have shown that the MT length and kinesin density do not affect the mean speed. However, the time-series of individual filaments show small time-dependent variations (Fig 4A and 4B), possibly a result of the local inhomogeneity of motor distributions. This information could be of some use when mixed-motor populations are used [48]. Recent studies of filament motility have used a filament-tracking approach based on a MATLAB program FIESTA [49], with a positional accuracy of 30 nm. We find the distribution of time-averaged velocity of gliding calculated using AMTraK match closely the distribution obtained from analysis using FIESTA (S2 Fig). This suggests that while complex transport dynamics in 2D are indeed better analyzed using tracking tools, for those data sets that are amenable to kymography analysis, AMTraK results are comparable to those obtained from tracking tools with sub-pixel accuracy.
While the dynamics of multiple particles can be simultaneously quantified using AMTraK, the selection of LOIs remains manual. However, once an LOI has been selected, the program can also be used in the “From file” mode to apply a pre-existing LOI to quantify kymographs in other channels (e.g.: bright field, fluorescence) and other fields of view with similar sample geometries. Potentially, LOIs could be generated independent of AMTraK too, provided they are compatible with the input format. The multiple bright-field and fluorescence correlative analysis tools for bacterial image analysis [10,33,50,51] are an example in case. More recent developments in image-analysis software to systematically extract data from microfluidics experiments automatically output channel information [52], which could also form the basis for the LOIs for multiple fields of view. These approaches could in future further increase the throughput our analysis tool.
Multiple software tools for kymography have been described in the recent past in literature and their features are summarized in Table 1 for comparison. While most tools including this one, require user inputs for the process of kymograph generation, only AMTraK and Kymograph Direct [53] automates the detection and connection. However, certain features of AMTraK make it unique, being absent in other comparable tools, such as automated branch-point detection, an integrated quantification module and sub-pixel positional accuracy accessible with an easy to use GUI front-end. In addition, since the code is open source and written in MATLAB, it is more likely to be used in an existing microscopy analysis workflow, due to the increasing spread of MATLAB as a data analysis platform in quantitative cell-biology research [54,55]. Thus, AMTraK could serve as a tool for the rapid quantification of image time-series of transport and assembly kinetics from microscopy. This has become particularly relevant in the context of high-content screening [56], where the spatial interaction patterns are becoming just as important as bulk kinetics measured in traditional high throughput screens.
Table 1. A comparison of features in kymography tools described in literature and commonly in use for cellular and sub-cellular scale images.
Feature / Tool | AMTraK | Multi-kymograph | Makekymograph | Icy- Kymograph Tracker | Kymomaker | Points from Kymograph | Kymograph mt2 | KymographClear and KymographDirect |
---|---|---|---|---|---|---|---|---|
LOI selection | Manual | Manual | Semi-automated | Manual | Manual | No | Manual | Manual |
Multiple LOIs | Yes | Yes | Yes | Yes | Yes | No | No | No |
Automated track detection | Yes | No | No | Semi-automated | Yes | Semi-automated | No | Yes |
Quantification | Yes | Separate | No | Separate | No | XY-coordinates | No | Separate |
No. of adjustable parameters | 8 | 1 | 1 | 7 | 13 | - | - | - |
Split and merge detection | Automatic | No | No | No | No | No | No | Manual |
Open source | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes |
Programming language | MATLAB | ImageJ macro | Java (ImageJ plugin) | Plugin for Icy | - | Java (ImageJ plugin) | Java (ImageJ plugin) | ImageJ macro and LabView |
Reference | This report | [57] | [58] | [5] | [4] | [59] | [60] | [53] |
We have developed an automated tool for the quantification of kymographs. Our approach detects peak and edge information and utilizes a distance minimization approach to link them. We demonstrate the wide utility of our tool by quantifying microtubule transport dynamics, clathrin polymerization kinetics and vesicle transport. Combined with a user-friendly interface, objective detection criteria and open source code, we believe AMTraK can be used to extract more and reproducible statistics from microscopy of sub-cellular dynamics.
Supporting Information
Acknowledgments
A grant from Dept. of Biotechnology, Govt. of India in Basic Biology (BT/PR1595/BRB/10/1043/2012) financed part of this work. ARC, KJ and MSG are supported by fellowships from the University Grants Commission (UGC) India (F.2-14/2011 (SA-1)), DST-Inspire Fellowship and Indian Council of Medical Research (ICMR) respectively. We are grateful to Peter J. Foster for sharing the original MT aster time-series data and Sachin Holkar for sharing the original image time-series data and calibration values for the Clathrin assembly kinetics. We are grateful to Sudip Mondal for an explanation of the vesicle transport analysis.
Data Availability
All data is included in the paper. Software that forms an important part of the report has been released as open source and can be downloaded from the author's website (http://www.iiserpune.ac.in/~cathale/SupplementaryMaterial/Amtrak.html) and from GitHub at https://github.com/athale/AMTraK.
Funding Statement
This research was supported by The Department of Biotechnology (DBT), Govt. of India (BT/PR1595/BRB/10/1043/2012), University Grants Commission (F.2-14/2011 (SA-1)), Department of Science and Technology, Ministry of Science and Technology (INSPIRE IF130394), and Indian Council of Medical Research (3/13/WLC/JRF-2011/HRD-156 (51550)).
References
- 1.Pereira AJ, Maiato H (2010) Improved kymography tools and its applications to mitosis. Methods 51: 214–219. 10.1016/j.ymeth.2010.01.016 [DOI] [PubMed] [Google Scholar]
- 2.Rietdorf J, Seitz A (2008) Multi Kymograph. Available: http://fiji.sc/Multi_Kymograph.
- 3.Chetta J, Shah SB (2011) A novel algorithm to generate kymographs from dynamic axons for the quantitative analysis of axonal transport. J Neurosci Methods 199: 230–240. Available: http://www.ncbi.nlm.nih.gov/pubmed/21620890. 10.1016/j.jneumeth.2011.05.013 [DOI] [PubMed] [Google Scholar]
- 4.Chiba K, Shimada Y, Kinjo M, Suzuki T, Uchida S (2014) Simple and direct assembly of kymographs from movies using KYMOMAKER. Traffic 15: 1–11. 10.1111/tra.12127 [DOI] [PubMed] [Google Scholar]
- 5.Chenouard N, Buisson J, Bloch I, Bastin P, Olivo-Marin J-C (2010) Curvelet analysis of kymograph for tracking bi-directional particles in fluorescence microscopy images. IEEE International Conference on Image Processing (ICIP). http://icy.bioimageanalysis.org/plugin/KymographTracker.
- 6.Skarstad K, Steen HB, Boye E (1985) Escherichia coli DNA distributions measured by flow cytometry and compared with theoretical computer simulations. J Bacteriol 163: 661–668. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Nordström K, Dasgupta S (2006) Copy-number control of the Escherichia coli chromosome: a plasmidologist’s view. EMBO Rep 7: 484–489. 10.1038/sj.embor.7400681 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Nielsen HJ, Ottesen JR, Youngren B, Austin SJ, Hansen FG (2006) The Escherichia coli chromosome is organized with the left and right chromosome arms in separate cell halves. Mol Microbiol 62: 331–338. 10.1111/j.1365-2958.2006.05346.x [DOI] [PubMed] [Google Scholar]
- 9.Spahn C, Endesfelder U, Heilemann M (2014) Super-resolution imaging of Escherichia coli nucleoids reveals highly structured and asymmetric segregation during fast growth. J Struct Biol 185: 243–249. 10.1016/j.jsb.2014.01.007 [DOI] [PubMed] [Google Scholar]
- 10.Sliusarenko O, Heinritz J, Emonet T, Jacobs-Wagner C (2011) High-throughput, subpixel precision analysis of bacterial morphogenesis and intracellular spatio-temporal dynamics. Mol Microbiol 80: 612–627. 10.1111/j.1365-2958.2011.07579.x [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Fisher JK, Bourniquel A, Witz G, Weiner B, Prentiss M, et al. (2013) Four-Dimensional Imaging of E. coli Nucleoid Organization and Dynamics in Living Cells. Cell 153: 882–895. 10.1016/j.cell.2013.04.006 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Howard J, Hudspeth AJ, Vale RD (1989) Movement of microtubules by single kinesin molecules. Nature 342: 154–158. 10.1038/342154a0 [DOI] [PubMed] [Google Scholar]
- 13.Nitzsche B, Bormuth V, Brauer C, Howard J, Ionov L, et al. (2010) {S}tudying kinesin motors by optical 3D-nanometry in gliding motility assays. Methods Cell Biol 95: 247–271. 10.1016/S0091-679X(10)95014-0 [DOI] [PubMed] [Google Scholar]
- 14.Leduc C, Ruhnow F, Howard J, Diez S (2007) Detection of fractional steps in cargo movement by the collective operation of kinesin-1 motors. Proc Natl Acad Sci U S A 104: 10847–10852. 10.1073/pnas.0701864104 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Toyoshima YY, Kron SJ, McNally EM, Niebling KR, Toyoshima C, et al. (1987) Myosin subfragment-1 is sufficient to move actin filaments in vitro. Nature 328: 536–539. 10.1038/328536a0 [DOI] [PubMed] [Google Scholar]
- 16.Martin DS (2013) Measuring microtubule persistence length using a microtubule gliding assay. Methods Cell Biol 115: 13–25. 10.1016/B978-0-12-407757-7.00002-5 [DOI] [PubMed] [Google Scholar]
- 17.Bicek AD, Tuzel E, Demtchouk A, Uppalapati M, Hancock WO, et al. (2009) Anterograde microtubule transport drives microtubule bending in LLC-PK1 epithelial cells. Mol Biol Cell 20: 2943–2953. 10.1091/mbc.E08-09-0909 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Ungewickell E, Branton D (1981) Assembly units of clathrin coats. Nature 289: 420–422. [DOI] [PubMed] [Google Scholar]
- 19.Avinoam O, Schorb M, Beese CJ, Briggs JA, Kaksonen M (2015) Endocytosis. Endocytic sites mature by continuous bending and remodeling of the clathrin coat. Science 348: 1369–1372. 10.1126/science.aaa9555 [DOI] [PubMed] [Google Scholar]
- 20.Skruzny M, Desfosses A, Prinz S, Dodonova SO, Gieras A, et al. (2015) An organized co-assembly of clathrin adaptors is essential for endocytosis. Dev Cell 33: 150–162. 10.1016/j.devcel.2015.02.023 [DOI] [PubMed] [Google Scholar]
- 21.Pucadyil TJ, Schmid SL (2010) Supported bilayers with excess membrane reservoir: a template for reconstituting membrane budding and fission. Biophys J 99: 517–525. 10.1016/j.bpj.2010.04.036 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Neumann S, Pucadyil TJ, Schmid SL (2013) Analyzing membrane remodeling and fission using supported bilayers with excess membrane reservoir. Nat Protoc 8: 213–222. 10.1038/nprot.2012.152 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Kalthoff C, Alves J, Urbanke C, Knorr R, Ungewickell EJ (2002) Unusual structural organization of the endocytic proteins AP180 and epsin 1. J Biol Chem 277: 8209–8216. 10.1074/jbc.M111587200 [DOI] [PubMed] [Google Scholar]
- 24.Holkar SS, Kamerkar SC, Pucadyil TJ (2015) Spatial Control of Epsin-induced Clathrin Assembly by Membrane Curvature. J Biol Chem 290: 14267–14276. 10.1074/jbc.M115.653394 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Allan VJ, Vale RD (1991) Control of Microtubule-based Membrane Transport and Tubule Formation In Vitro. J Cell Biol 113: 347–359. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Welzel O, Knörr J, Stroebel AM, Kornhuber J, Groemer TW (2011) A fast and robust method for automated analysis of axonal transport. Eur Biophys J 40: 1061–1069. 10.1007/s00249-011-0722-3 [DOI] [PubMed] [Google Scholar]
- 27.Hill DB, Plaza MJ, Bonin K, Holzwarth G (2004) Fast vesicle transport in PC12 neurites: velocities and forces. Eur Biophys J 33: 623–632. 10.1007/s00249-004-0403-6 [DOI] [PubMed] [Google Scholar]
- 28.Mondal S, Ahlawat S, Rau K, Venkataraman V, Koushika SP (2011) Imaging in vivo Neuronal Transport in Genetic Model Organisms Using Microfluidic Devices. Traffic 12: 372–385. 10.1111/j.1600-0854.2010.01157.x [DOI] [PubMed] [Google Scholar]
- 29.Otsu N (1979) A Threshold Selection Method from Gray-Level Histograms. IEEE Trans Syst Man Cybern SMC-9: 62–66. [Google Scholar]
- 30.Brookes, Mike (2005) Voicebox. http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html.
- 31.Meyer F (1994) Topographic distance and watershed lines. Signal Processing 38: 113–125. [Google Scholar]
- 32.Canny J (1986) A Computational Approach to Edge Detection. IEEE Trans Patt Analy Mach Int 8: 679–698. [PubMed] [Google Scholar]
- 33.Athale CA, Chaudhari H (2011) Population length variability and nucleoid numbers in Escherichia coli. Bioinformatics 27: 2944–2948. 10.1093/bioinformatics/btr501 [DOI] [PubMed] [Google Scholar]
- 34.Schneider CA, Rasband WS, Eliceiri KW (2012) NIH Image to ImageJ: 25 years of image analysis. Nat Methods 9: 671–675. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Wery M, Woldringh CL, Rouviere-Yaniv J (2001) HU-GFP and DAPI co-localize on the Escherichia coli nucleoid. Biochimie 83: 193–200. [DOI] [PubMed] [Google Scholar]
- 36.Thévenaz P, U.E. R, Unser M (1998) Thévenaz P1, Ruttimann UE, Unser M. IEEE Trans Image Process 7: 27–41. [DOI] [PubMed] [Google Scholar]
- 37.Cytoskeleton (2005) Kinesin Motility Assay Biochem Kit BK027. Denver, CO, USA.
- 38.Stewart RJ, Thaler JP, Goldsteint LSB (1993) Direction of microtubule movement is an intrinsic property of the motor domains of kinesin heavy chain and Drosophila ncd protein. Proc Nat Acad Sci USA 90: 5209–5213. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Foster PJ, Fürthauer S, Shelley MJ, Needleman DJ (2015) Active contraction of microtubule networks Active Contraction of Microtubule Networks. Elife 4:e10837: 1–21. 10.7554/eLife.10837 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Welzel O, Boening D, Stroebel A, Reulbach U, Klingauf J, et al. (2009) Determination of axonal transport velocities via image cross- and autocorrelation. Eur Biophys J 38: 883–889. 10.1007/s00249-009-0458-5 [DOI] [PubMed] [Google Scholar]
- 41.Miura K (2005) Tracking Movement in Cell Biology In: Rietdorf J, editor. Adv. Biochem. Engin/Biotechnol. Springer Berlin / Heidelberg; pp. 267–295. [DOI] [PubMed] [Google Scholar]
- 42.Perona P, Malik J (1990) Scale-space and edge detection using anisotropic diffusion. IEEE Trans Pattern Anal Mach Intell 12: 629–639. [Google Scholar]
- 43.Maeder CI, San-Miguel A, Wu EY, Lu H, Shen K (2014) In vivo neuron-wide analysis of synaptic vesicle precursor trafficking. Traffic 15: 273–291. 10.1111/tra.12142 [DOI] [PubMed] [Google Scholar]
- 44.Bridgman PC (1999) Myosin Va movements in normal and dilute-lethal axons provide support for a dual filament motor complex. J Cell Biol 146: 1045–1060. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Hendricks AG, Perlson E, Ross JL, Schroeder HW, Tokito M, et al. (2010) {M}otor coordination via a tug-of-war mechanism drives bidirectional vesicle transport. Curr Biol 20: 697–702. 10.1016/j.cub.2010.02.058 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Howard J (2001) Mechanics of Motor Proteins and the Cytoskeleton. Sunderland: Sinauer Associates. [Google Scholar]
- 47.Gibbons F, Chauwin JF, Despósito M, José J V (2001) A dynamical model of kinesin-microtubule motility assays. Biophys J 80: 2515–2526. 10.1016/S0006-3495(01)76223-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Ikuta J, Kamisetty NK, Shintaku H, Kotera H, Kon T, et al. (2014) Tug-of-war of microtubule filaments at the boundary of a kinesin- and dynein-patterned surface. Sci Reports 4: 5281. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Ruhnow F, Zwicker D, Diez S (2011) Tracking Single Particles and Elongated Filaments with Nanometer Precision. Biophys J 100: 2820–2828. 10.1016/j.bpj.2011.04.023 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Guberman JM, Fay A, Dworkin J, Wingreen NS, Gitai Z (2008) PSICIC: noise and asymmetry in bacterial division revealed by computational image analysis at sub-pixel resolution. PLoS Comp Biol 4: e1000233. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Ducret A, Quardokus EM, Brun Y V (2016) MicrobeJ, a high throughput tool for quantitative bacterial cell detection and analysis. Nat Microbiol 1: 1–7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Sachs CC, Grünberger A, Helfrich S, Probst C, Wiechert W, et al. (2016) Image-Based Single Cell Profiling: High- Throughput Processing of Mother Machine Experiments. PLoS One 11: e0163453 10.1371/journal.pone.0163453 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Mangeol P, Prevo B, Peterman EJG (2016) KymographClear and KymographDirect: two tools for the automated quantitative analysis of molecular and cellular dynamics using kymographs. Mol Biol Cell 27: 1948–1957. 10.1091/mbc.E15-06-0404 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Shekhar S, Zhu L, Mazutis L, Sgro AE, Fai TG, et al. (2014) Quantitative biology: where modern biology meets physical sciences. Mol Biol Cell 25: 3482–3485. 10.1091/mbc.E14-08-1286 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Howard J (2014) Quantitative cell biology: the essential role of theory. Mol Biol Cell 25: 3438–3440. 10.1091/mbc.E14-02-0715 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Zanella F, Lorens JB, Link W (2010) High content screening: seeing is believing. Trends Biotechnol 28: 237–245. 10.1016/j.tibtech.2010.02.005 [DOI] [PubMed] [Google Scholar]
- 57.Rietdorf, Jens (FMI B, Seitz A (EMBL H (2008) Kymograph (time space plot) Plugin for ImageJ. http://www.embl.de/eamnet/html/body_kymograph.html.
- 58.Hallman S (2007) Make_Kymograph plugin. http://www.ics.uci.edu/~fowlkes/sam_hallman/doc/
- 59.Das M, Drake T, Wiley DJ, Buchwald P, Vavylonis D, et al. (2012) Oscillatory dynamics of Cdc42 GTPase in the control of polarized growth. Science (80-) 337: 239–243. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Siebrasse JP, Kaminski T, Kubitscheck U (2012) Nuclear export of single native mRNA molecules observed by light sheet fluorescence microscopy. Proc Natl Acad Sci USA 109: 9426–9431. 10.1073/pnas.1201781109 [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All data is included in the paper. Software that forms an important part of the report has been released as open source and can be downloaded from the author's website (http://www.iiserpune.ac.in/~cathale/SupplementaryMaterial/Amtrak.html) and from GitHub at https://github.com/athale/AMTraK.