-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #626 from ahepperla/master
add UNC longleaf config
- Loading branch information
Showing
5 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,7 @@ jobs: | |
- "uge" | ||
- "unibe_ibu" | ||
- "unc_lccc" | ||
- "unc_longleaf" | ||
- "uod_hpc" | ||
- "uppmax" | ||
- "utd_ganymede" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters