1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-14 05:33:09 +00:00
nf-configs/docs/seg_globe.md

22 lines
1.5 KiB
Markdown
Raw Normal View History

# nf-core/configs: Section for Evolutionary Genomics at GLOBE, Univeristy of Copenhagen (hologenomics partition on HPC) Configuration
2021-01-20 23:17:08 +00:00
2021-01-21 05:30:43 +00:00
> **NB:** You will need an account to use the HPC cluster to run the pipeline. If in doubt contact IT.
The profile is configured to run with Singularity version 3.6.3-1.el7 which is part of the OS installtion and does not need to be loaded as a module.
2021-01-20 23:17:08 +00:00
2021-01-21 12:04:12 +00:00
Before running the pipeline you will need to load Java, miniconda and Nextflow. You can do this by including the commands below in your SLURM/sbatch script:
2021-01-20 23:17:08 +00:00
```bash
## Load Java and Nextflow environment modules
2021-01-20 23:17:08 +00:00
module purge
module load lib
2021-01-21 12:04:12 +00:00
module load java/v1.8.0_202-jdk miniconda nextflow/v20.07.1.5412
2021-01-20 23:17:08 +00:00
```
All of the intermediate files required to run the pipeline will be stored in the `work/` directory. It is recommended to delete this directory after the pipeline has finished successfully because it can get quite large, and all of the main output files will be saved in the `results/` directory anyway.
The config contains a `cleanup` command that removes the `work/` directory automatically once the pipeline has completeed successfully. If the run does not complete successfully then the `work/` dir should be removed manually to save storage space.
This configuration will automatically choose the correct SLURM queue (short,medium,long) depending on the time and memory required by each process.
2021-01-21 05:30:43 +00:00
> **NB:** Nextflow will need to submit the jobs via SLURM to the HPC cluster and as such the commands above will have to be submitted from one of the login nodes.