Easy drag and drop software under http://deepmirror.ai/kymobutler
Download this repository and open KymoButler.nb in Mathematica. Run the first cell to download the necessary neural networks and import the KymoButler package. Then use the functions BiKymoButler[] or UniKymoButler[] to analyse your bidirectional/unidirectional kymographs.
- Install Mathematica onto your local machine. If you have Stanford credentials, you can obtain a free license here: https://uit.stanford.edu/service/softwarelic/mathematica
- Clone this forked repository onto your personal lab folder on beehive. For example,
/gladstone/engelhardt/lab/adamw/KymoButler. - Mount the beehive filesystem onto your local machine using a
sshfscommand such assshfs beehive:/gladstone/engelhardt/ /Users/aweiner/beehive. - Navigate to the location of this cloned repository on your local machine (e.g.
/Users/aweiner/beehive/lab/adamw/KymoButler) and open thebidirectional_kymos_adam.nbfile using Mathematica. - Run the first cell to download the necessary neural networks and import the KymoButler package.
- In the second cell, edit the
baseDirvariable to point to the folder where your kymographs are located, thewellIDsvariable , along with experiment parameters. These input kymographs are expected to be generated by theconklin_mitochondria_traffick/notebooks/kymograph_generation.ipynbnotebook. - Run the rest of the cells to generate
combined_output.csvandpixel_tracks.csvfiles for eachwellIDalong with PNG images of the kymographs overlaid with the predicted tracks. All output files are saved in the specifiedoutputDir. The CSV files can be used for downstream analysis in python. Note that each cell must be manually run separately, in order, as Mathematica'sEvaluate Notebookperforms lazy parallel evaluation of all cells in the notebook (unlike jupyter notebooks which ensure that all cells are run in order). - Reset the Mathematica kernel via
Evaluation -> Quit Kernel -> Localand clear outputs viaCell -> Clear All Outputs. Repeat steps 5-7 for the next set of experiment(s) & well(s) until all kymobutler runs are complete.
