Behavior
A subscription to JoVE is required to view this content.
You will only be able to see the first 20 seconds.
The JoVE video player is compatible with HTML5 and Adobe Flash. Older browsers that do not support HTML5 and the H.264 video codec will still use a Flash-based video player. We recommend downloading the newest version of Flash here, but we support all versions 10 and above.
If that doesn't help, please let us know.
Video Processing and Manual Counting for C. elegans Lawn Avoidance Assay
Smartphone-Based Imaging for C. elegans Lawn Avoidance Assay
Authors
Institutions
Transcript
Identify the dimensions of a PA14 plate containing the L4 stage worms by running the Python script extract_frame.py. Then open the JPEG file in ImageJ. From the menu, choose Analyze, then Set Measurements.
Ensure that the display label box is checked and close the window. Using the straight line tool, measure the diameter of a plate by drawing a line across it. Then choose Analyze, then Measure from the menu.
If the video is in 1080 pixels, each plate will be about 480 pixels wide. Enter this information in the notepad to be used later and close the results window. Using the multi-point tool, mark points on the upper left side of each plate which will become the upper left corner of the cropped videos.
Mark it in order of when the plates were started. After creating a point for all the plates, choose Analyze, then Measure from the menu. Measurements including the X and Y coordinates of the points will appear in the results window.
To process multiple videos, repeat the process in ImageJ with other JPEG files. All X and Y coordinates will be listed in the same results window. Save the results window into a CSV file.
The file should be saved to the same directory as the movie files. To find the starting time for each plate, play the movie either on the computer or phone and take note of the starting times of each set of plates placed under the camera. Open the results.
csv file with the coordinates and add a start column. For each row corresponding to individual plates, enter appropriate start time in seconds under the start column. Save the file.
To crop and trim the videos, run the crop_n_trim. py script. Choose the results.
csv file. Enter the plate dimensions and the pixel value noted earlier. The script will now read each row of the results.
csv file to find the correct movie file after the script finishes running. A folder will appear with the same name as the movie, followed by the start time in which videos corresponding to the assay will be saved. For manual counting, open each AVI file in ImageJ.
Count the worms that are visible outside the lawn and then calculate the occupancy rate for each time point. The wild type N2 worms progressively left the bacterial lawn and stayed outside as noted in the occupancy rate over time. The counts made directly from the plates were compared against counts from imaged worms.
The counts made from imaged worms turned out to be highly accurate. When three trials for each strain were averaged together, the N2 and NPR1 strains yielded 99.5%and 96.2%accuracy respectively.
Related Videos
You might already have access to this content!
Please enter your Institution or Company email below to check.
has access to
Please create a free JoVE account to get access
Login to access JoVE
Please login to your JoVE account to get access
We use/store this info to ensure you have proper access and that your account is secure. We may use this info to send you notifications about your account, your institutional access, and/or other related products. To learn more about our GDPR policies click here.
If you want more info regarding data storage, please contact gdpr@jove.com.
Please enter your email address so we may send you a link to reset your password.
We use/store this info to ensure you have proper access and that your account is secure. We may use this info to send you notifications about your account, your institutional access, and/or other related products. To learn more about our GDPR policies click here.
If you want more info regarding data storage, please contact gdpr@jove.com.
Your JoVE Unlimited Free Trial
Fill the form to request your free trial.
We use/store this info to ensure you have proper access and that your account is secure. We may use this info to send you notifications about your account, your institutional access, and/or other related products. To learn more about our GDPR policies click here.
If you want more info regarding data storage, please contact gdpr@jove.com.
Thank You!
A JoVE representative will be in touch with you shortly.
Thank You!
You have already requested a trial and a JoVE representative will be in touch with you shortly. If you need immediate assistance, please email us at subscriptions@jove.com.
Thank You!
Please enjoy a free 2-hour trial. In order to begin, please login.
Thank You!
You have unlocked a 2-hour free trial now. All JoVE videos and articles can be accessed for free.
To get started, a verification email has been sent to email@institution.com. Please follow the link in the email to activate your free trial account. If you do not see the message in your inbox, please check your "Spam" folder.