-
Notifications
You must be signed in to change notification settings - Fork 6
getting started
- A fairly modern PC with a good amount of RAM (16/32GB +).
- Linux installed on it (We use Ubuntu 18.04) or a Windows PC.
- Python3.6+
- It should work on Mac, but it's not been tested.
$ lama/install_LAMA.sh
The above script will install pip3, elastix, R, and LAMA
Install pip, if needed.
sudo apt install python3-pip
Install via pip
pip3 install lama_phenotype_detection --user
### 2) Installation method 2 Clone the git repository ###
```bash
$ git clone https://github.com/mpi2/LAMA.git
Install dependencies listed in Pipfile (you can use pipenv for this)
Give executable permission to the scripts, and add lama_phenotype_detection to your PATH
$ chmod -R u+x scripts/ utilities/
R For statistical analysis. elastix For doing the registrations.
elastix can be installed via apt in Ubuntu 18.04, However it appears to be compiled without support for a metric needed for inversion of images so download the binaries from github.
Check that elastix is installed
source ~/.bashrc
elastix
If installed correclty you will get a message like:
Use "elastix --help" for information about elastix-usage.
Check that R is installed
foo@bar:~$ R
R version 3.4.4 (2018-03-15) -- "Someone to Lean On" ...
Check that LAMA is installed correctly
foo@bar:~$ lama_reg
usage: The LAMA registration pipeline [-h] -c CONFIG ...
https://www.anaconda.com/distribution/
https://cran.r-project.org/bin/windows/base/
Download and unzip elastix from here: https://github.com/SuperElastix/elastix/releases/download/4.9.0/elastix-4.9.0-win64.zip
Add elastix to your path:
- Control panel > Advanced > Environment Variables
- Select User variables > Path, then edit
- Then browse for the folder containing the elastix binaries to add it to the path
open the Anaconda Prompt
pip install lama_phenotype_detection
- Take a look at the LAMA workflow to see how to run phenotype detection pipeline
- Run the walkthroughs on some real data to get a feel of how the pipeline works.