-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uondrs_ada config file : WIP #715
base: master
Are you sure you want to change the base?
Changes from all commits
122370b
cbe5523
9a337ab
47e90ec
a32a627
bf4f7c7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ jobs: | |
strategy: | ||
matrix: | ||
profile: | ||
- "uondrs_ada" | ||
- "abims" | ||
- "adcra" | ||
- "alice" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
//Profile config names for nf-core/configs | ||
|
||
params { | ||
// Config Params | ||
config_profile_description = 'University of Nottingham DRS - HPC Profile -- provided by nf-core/configs.' | ||
config_profile_contact = 'Niraj Shah (@ShahNiraj)' | ||
config_profile_url = 'https://forms.office.com/Pages/ResponsePage.aspx?id=7qe9Z4D970GskTWEGCkKHpYhN2mnMuNPm5Y3GQx5rlxUMzJQTDE0OUVSNUtHT0UyU0o2UTRCQzNaQSQlQCN0PWcu' | ||
|
||
} | ||
|
||
// definition of the slurm executor. Run the pipeline in a node able to submit jobs to a HPC via sbatch | ||
singularity { | ||
enabled = true | ||
autoMounts = true | ||
// Some processes don't respect the TMP environment variables: https://github.com/nf-core/rnaseq/issues/115 | ||
} | ||
|
||
process { | ||
// Global process config | ||
executor = 'slurm' | ||
queueSize = 10 | ||
queue = 'defq' | ||
submitRateLimit = '10/2min' | ||
} | ||
|
||
process { | ||
|
||
// resources for default process execution | ||
withLabel:process_low { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This list of process labels isn't exhaustive I think. Do you need to define them? Normally we've been recommending setting max resources in params (https://nf-co.re/docs/usage/getting_started/configuration#max-resources). Nextflow has changed for the better since but that haven't yet reached everywhere, so I still think that's a good idea. |
||
cpus = 2 | ||
memory = 12.GB | ||
time = 6.h | ||
} | ||
withLabel:process_medium { | ||
cpus = 6 | ||
memory = 36.GB | ||
time = 6.h | ||
} | ||
withLabel:process_high { | ||
cpus = 12 | ||
memory = 240.GB | ||
time = 6.h | ||
} | ||
withLabel:process_long { | ||
time = 20.h | ||
} | ||
withLabel:error_ignore { | ||
errorStrategy = 'ignore' | ||
} | ||
withLabel:error_retry { | ||
errorStrategy = 'retry' | ||
maxRetries = 2 | ||
} | ||
// resources for execution of processes / modules with the label "two cpus". This override the default ones. | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# nf-core/configs: Ada HPC Configuration | ||
|
||
nfcore pipeline rnaseq have been tested on the Ada HPC. | ||
|
||
## Before running the pipeline | ||
|
||
- You will need an account to use the Ada HPC cluster in order to run the pipeline. | ||
- Make sure that Singularity and Nextflow are installed. | ||
- Downlode pipeline singularity images to a HPC system using [nf-core tools](https://nf-co.re/tools/#downloading-pipelines-for-offline-use) | ||
|
||
``` | ||
$ conda install nf-core | ||
$ nf-core download | ||
``` | ||
|
||
|
||
|
||
|
||
## Running the pipeline using the adcra config profile | ||
|
||
- Run the pipeline within a [screen](https://linuxize.com/post/how-to-use-linux-screen/) or [tmux](https://linuxize.com/post/getting-started-with-tmux/) session. | ||
- Specify the config profile with `-profile uondrs_ada`. | ||
|
||
``` | ||
nextflow run /path/to/nf-core/rnaseq -profile uondrs_ada \ | ||
--genome GRCh38 \ | ||
--igenomes_base /path/to/genome_references/ \ | ||
... # the rest of pipeline flags | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This path doesn't seem to exist?