MIAAIM is a software to align multiple-omics tissue imaging data. The worflow includes high-dimensional image compression, registration, and transforming images to align in the same spatial domain. MIAAIM was developed at the Vaccine and Immunotherapy Center at MGH in the labs of Dr. Patrick Reeves and Dr. Ruxandra Sîrbulescu. MIAAIM is written in Nextflow with containerized workflows to enable modular development and application across diverse computing architectures.
If you are not comfortable running Nextflow, or if your pipeline needs to be tailored for a specific application, please feel free to navigate to MIAAIM in Python.
MIAAIM uses nextflow, which requires Java 8 or later.
To get started with MIAAIM:
- Install Docker. You can ensure that Docker is available to your system using the command
docker images
- Install Nextflow using
curl -s https://get.nextflow.io | bash
- You can check that Nextflow is installed by calling it in the context of the
directory that you installed it in with
./nextflow run
. - (Recommended) If you want to be able to call Nextflow directly from the command line without entering the path to it, enter the follwing command:
chmod +x nextflow # be able to call nextflow
To run Nextflow in Windows, you will need to install WSL prior to installing Nextflow. To do this, follow these steps:
- Open Windows Powershell as administrator.
- Download WSL by typing
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- Enable virtual machine
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- Download the latest Linux kernel update package (https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi).
- Set WSL2 as your default kernel by typing
wsl --set-default-version 2
- Install linux distribution -- we have tested MIAAIM successfully using Ubuntu 20.04 LTS.
- Open your Ubuntu installation (you will be asked to set up your installation by providing a user name and password)
- Within the Ubuntu shell enter the following commands to install necessary components for Nextflow and pulling the MIAAIM repository from GitHub:
sudo apt update
sudo apt install openjdk-14-jre-headless
curl -s https://get.nextflow.io | bash
chmod +x nextflow
sudo apt-get -y install git
- Now install Docker for windows and allow it to connect with your WSL2 (see here for details). You should now be able to run nextflow and MIAAIM within your installed WSL!
This work is supported by philanthropic funding at the Vaccine and Immunotherapy Center. Joshua Hess is supported by the NSF Graduate Research Fellowship under grant no. 1746886.