Skip to content
Worm movement assay
Jupyter Notebook Python
Branch: master
Clone or download
Pull request Compare This branch is even with fraser-lab-UofT:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Supporting information for "An image-based assay for the rapid quantification of C. elegans movement in response to genetic and chemical perturbations"


The files here should be sufficient to reproduce the data acquisition and analysis pipeline described in our paper, used in conjunction with several other packages of freely-available software.

The files are:

File Description
NIS_elements_example_script.xml An example microscope control macro for use in Nikon NIS elements sortware Custom python script to extract individual 8-bit TIFF images from Nikon ND2 files Custom python script to analyse a set of 8-bit image files from an experiment, return mobility scores As above but tuned for larger, adult worms. Ignores eggs in the well
example_levamisole_data.npy numpy array containing sample FMS data for a range of levamisole concentrations
levamisole_analysis.ipynb An example jupyter (formerly ipython notebook) file illustrating normalization and plotting of data

Required third-party software:

  1. Python 2.7
  • numpy
  • scipy
  • matplotlib
  • scikit-image
  1. ImageMagick (for
  2. bfconvert:
  3. Jupyter:

Example Data

A set of example images is available at Open Science Framework:

Running on the example images should recreate the fractional mobility score data in example_levamisole_data.npy

An example jupyter notebook, levamisole_analysis.ipynb illustrates the normalization of data and plotting procedure, using the data in example_levamisole_data.npy.

You can’t perform that action at this time.