ttimbers / MWT_Locomotion_summary_analysis

Other
1 stars 2 forks source link

Summary analysis of Locomotion experiments on the Multi-worm Tracker

The aim of this project is to create software that can be used after running a 600s basal locomotion experiment using the Multi-worm tracker (Swierczek et al., 2011) to generate summary figures and statistics for that experiment.

This script also backs up experiment .zip files to a webdav server specified by the user.

Figures it generates

Statistics reported

How to use it

Installation Dependencies

Java, R, R packages ggplot2, plyr, stringr, asbio,and fmsb, and the Multi-worm Tracker Analysis software (Chore.jar) as a shell script in the executable path named Chore. To "easily" do this on a Mac or Linux OS, please follow the following installation instructions:

For Mac OSX

  1. Install Homebrew by typing the following into the command line:

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Install the Multi-worm Tracker Analysis software via Homebrew to install Chore.jar and have it accesible as a shell script in the executable path named "Chore":

    brew install homebrew/science/multi-worm-tracker

For Linux

  1. Install Linuxbrew by typing the following into the command line:

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
  2. Put brew in your executable path by adding the commands below to either .bashrc or .zshrc:

    export PATH="$HOME/.linuxbrew/bin:$PATH"
    export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
    export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
  3. Install the Multi-worm Tracker Analysis software via Homebrew to install Chore.jar and have it accesible as a shell script in the executable path named "Chore":

    brew install homebrew/science/multi-worm-tracker

Running the analysis

bash bin/locomotion_driver.sh https://webdav.server/location folder_to_backup_to 4

This code is still a work in progress. More instructions to come as code is developed further.