You can run the MAGMA pipeline using the Conda based package manager to install all the prerequisite softwares.
The conda
environments are expected by the conda_local
profile of the pipeline, to be created within MAGMA/conda_envs
directory
NOTE If you do have access to Singularity or Podman, then owing to their compatibility with Docker, you can still use the MAGMA Docker containers mentioned docker.config.
You can use the conda
based setup for the pipeline for running MAGMA
- On a local linux machine (e.g. your laptop or university server)
- On an HPC cluster in case you don't have access to container systems like Singularity, Podman or Docker
NOTE These steps are only necessary if you don't have access to any container system, then therefore you'd need to install all softwares using the
conda
package manager.
- Copy the environment files from conda_envs folder locally
$ git clone https://github.com/TORCH-Consortium/MAGMA
$ cd MAGMA
- After
cd
in theconda_envs
folder and execute the following commands to create the env
TIP
- For faster installation process, please download mamba tool and replace
conda
withmamba
in the above commands.- The path
-p
should be customized as per you setup
$ conda env create -p magma-env-1 --file magma-env-1.yml
$ conda env create -p magma-env-2 --file magma-env-2.yml
-
Customize the pipeline and process level settings in the default_params file
-
From inside the
MAGMA
folder, invoke the pipeline
$ nextflow run main.nf -profile conda_local
- Use the
-resume
flag to continue from previously generated output files, rather than restarting the entire analysis.
$ nextflow run main.nf -profile conda_local -resume