1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-24 00:59:55 +00:00
nf-configs/docs/mana.md

46 lines
1.6 KiB
Markdown
Raw Normal View History

2022-10-03 03:38:48 +00:00
# nf-core/configs Mana (at University of Hawaii at Manoa) Configuration
2022-10-04 19:50:51 +00:00
To use, run the pipeline with `-profile mana`. It will use the following parameters for Mana (UHM HPCC):
2022-10-03 03:38:48 +00:00
- Load singularity and use it as default container technology
- Setup a container cache directory in your home (~/.singularity_images_cache)
- Select appropriate queues (currently: `shared,exclusive,kill-shared,kill-exclusive`)
- Set the maximum available resources (available in 09/02/2022):
- CPUs: 96
- Memory: 400.GB
- Time: 72.h
## Pre-requisites
In order to run a nf-core pipeline on Mana, you will need to setup nextflow in your environment.
At the moment, nextflow is not available as a module (but might be in the future).
### Install nextflow in a conda environment
Before we start, we will need to work on an interactive node (currently, mana doesn't let you execute any program in the login node):
```bash
# Request an interactive sandbox node for 30 min
srun --pty -t 30 -p sandbox /bin/bash
```
To setup nextflow on your account, follow these steps.
```bash
# Load the latest anaconda3 module
2022-10-03 05:15:59 +00:00
module load lang/Anaconda3/2022.05
2022-10-03 03:38:48 +00:00
# Initialize environment
2022-10-03 05:15:59 +00:00
. $(conda info --base)/etc/profile.d/conda.sh
2022-10-03 03:38:48 +00:00
# Install nextflow (here in base environment, but you can create a new one if you'd like)
conda install -c bioconda nextflow
```
If you want these settings to be persistent, you can add the first 2 commands in your .bash_profile file like this:
```bash
2022-10-03 05:15:59 +00:00
echo "module load lang/Anaconda3/2022.05" >> ~/.bash_profile
echo "$(conda info --base)/etc/profile.d/conda.sh" >> ~/.bash_profile
```