Skip to content

Commit

Permalink
Merge pull request #626 from ahepperla/master
Browse files Browse the repository at this point in the history
add UNC longleaf config
  • Loading branch information
jfy133 authored Feb 3, 2024
2 parents 02fd6e6 + fde8fca commit 76970da
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ jobs:
- "uge"
- "unibe_ibu"
- "unc_lccc"
- "unc_longleaf"
- "uod_hpc"
- "uppmax"
- "utd_ganymede"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ Currently documentation is available for the following systems:
- [UCL_MYRIAD](docs/ucl_myriad.md)
- [UCT_HPC](docs/uct_hpc.md)
- [UNC_LCCC](docs/unc_lccc.md)
- [UNC_LONGLEAF](docs/unc_longleaf.md)
- [UGE](docs/uge.md)
- [UNIBE_IBU](docs/unibe_ibu.md)
- [UOD_HPC](docs/uod_hpc.md)
Expand Down
29 changes: 29 additions & 0 deletions conf/unc_longleaf.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
params {
config_profile_description = "BARC nf-core profile for UNC's Longleaf HPC."
config_profile_contact = "Austin Hepperla ([email protected])"
config_profile_url = "https://help.rc.unc.edu/longleaf-cluster/"
}

apptainer {
enabled = true
autoMounts = true
cacheDir = "/work/appscr/singularity/nf-core/singularity_images_cache"
registry = 'quay.io'
}

process {
executor = 'slurm'
queue = 'general'
clusterOptions = '--exclude=b1024'
}

executor {
queueGlobalStatus = true
}

params {
max_memory = 3041.GB
max_cpus = 256
max_time = 10.h
}

22 changes: 22 additions & 0 deletions docs/unc_longleaf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# nf-core/configs: Longleaf High-Performance Computing Cluster, University of North Carolina at Chapel Hill

> **NB:** You will need an [account](https://help.rc.unc.edu/getting-started-on-longleaf/) to use the HPC cluster to run the pipeline.
We have configured the compute clusters to Apptainer (Singularity) loaded by default. Do not load the Singularity module or it will fail, as it is an older version than what's on the compute nodes.

Before running the pipeline you will need to load Nextflow. You can do this by including the commands below in your SLURM/sbatch script:

```bash
## Load Nextflow environment modules
module load nextflow/23.04.2
```

All of the intermediate files required to run the pipeline will be stored in the `work/` directory, which will be generated inside the location you ran the nf-core pipeline. 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.

This configuration will automatically submit jobs to the `general` SLURM queue, where it may automatically be shuffled to different partitions depending on the time required by each process.

```bash
run nextflow nf-core/rnaseq -profile unc_longleaf
```

> **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.
1 change: 1 addition & 0 deletions nfcore_custom.config
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ profiles {
uct_hpc { includeConfig "${params.custom_config_base}/conf/uct_hpc.config" }
uge { includeConfig "${params.custom_config_base}/conf/uge.config" }
unc_lccc { includeConfig "${params.custom_config_base}/conf/unc_lccc.config" }
unc_longleaf { includeConfig "${params.custom_config_base}/conf/unc_longleaf.config" }
unibe_ibu { includeConfig "${params.custom_config_base}/conf/unibe_ibu.config" }
uod_hpc { includeConfig "${params.custom_config_base}/conf/uod_hpc.config" }
uppmax { includeConfig "${params.custom_config_base}/conf/uppmax.config" }
Expand Down

0 comments on commit 76970da

Please sign in to comment.