-
Notifications
You must be signed in to change notification settings - Fork 273
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 #708 from nf-core/feature/danhead
[WIP]: danhead @ KU
- Loading branch information
Showing
8 changed files
with
94 additions
and
117 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
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 was deleted.
Oops, something went wrong.
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,43 @@ | ||
params { | ||
|
||
config_profile_contact = 'Adrija Kalvisa <[email protected]>' | ||
config_profile_description = 'danhead01fl configuration' | ||
config_profile_url = '' | ||
|
||
max_cpus = 8 | ||
max_memory = 64.GB | ||
max_time = 72.h | ||
} | ||
|
||
cleanup = true | ||
|
||
singularity { | ||
enabled = true | ||
autoMounts = true | ||
runOptions = '--bind /projects:/projects' | ||
} | ||
|
||
process { | ||
executor = 'slurm' | ||
containerOptions = "--env NUMBA_CACHE_DIR=/tmp/numbacache" | ||
withName: SRATOOLS_PREFETCH { | ||
ext.args = '--max-size 60g' | ||
} | ||
} | ||
|
||
executor { | ||
queueSize = 5 | ||
submitRateLimit = '30/1min' | ||
} | ||
|
||
profiles { | ||
dancmpn01fl { | ||
process.clusterOptions = '-w dancmpn01fl' | ||
} | ||
dancmpn02fl { | ||
process.clusterOptions = '-w dancmpn02fl' | ||
} | ||
dangpu01fl { | ||
process.clusterOptions = '-p gpuqueue' | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
.../pipeline/methylseq/ku_sund_dangpu.config → ...pipeline/methylseq/ku_sund_danhead.config
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 was deleted.
Oops, something went wrong.
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,47 @@ | ||
# nf-core/configs: ku_sund_danhead configuration | ||
|
||
All nf-core pipelines have been successfully configured for use on the DanHead server | ||
at the Novo Nordisk Foundation Center for Stem Cell Medicine (reNEW) at the University of Copenhagen. | ||
The server consists of two computing nodes and one GPU node. | ||
|
||
To use the institution profile, run the pipeline with `-profile ku_sund_danhead`. | ||
This will download and launch the [`ku_sund_danhead.config`](../conf/ku_sund_danhead.config) | ||
which has been pre-configured with a setup suitable for the DANGPU. | ||
|
||
## Environment variables | ||
|
||
The main environment variables for nextflow are specified in `/projects/dan1/apps/etc/bashrc`. | ||
|
||
## How to run a pipeline with institution profile | ||
|
||
To download and test a pipeline for the first time, use the `-profile test` and | ||
specify `--outdir`. It is a good practice to use the pipeline version with | ||
specifying `-r` each time you run a pipeline. `-r` refers to a revision version | ||
and is useful to ensure reproducibility when rerunning the pipeline. You can read | ||
more on nf-core pipeline reproducibility [here](https://nf-co.re/rnaseq/3.10.1/usage#reproducibility). | ||
|
||
For example to run `nf-core/rnaseq` on **dancmpn01fl**: | ||
|
||
```bash | ||
#!/bin/bash | ||
|
||
#SBATCH --job-name=test | ||
#SBATCH --mail-type=END,FAIL | ||
#SBATCH --mail-user=NONE | ||
#SBATCH -c 1 | ||
#SBATCH --mem=2gb | ||
#SBATCH --time=1-00:00:00 | ||
#SBATCH --output=test.log | ||
#SBATCH -w dancmpn01fl | ||
|
||
module load openjdk/20.0.0 nextflow/23.04.1.5866 singularity/3.8.0 | ||
|
||
nextflow run nf-core/rnaseq \ | ||
-profile test,ku_sund_danhead,dancmpn01fl \ | ||
--input <name-of-input-csv-file> \ | ||
--outdir <name-of-output-directory> | ||
|
||
``` | ||
|
||
To run it on **dancmpn02fl** change `#SBATCH -w dancmpn02fl` and | ||
`-profile test,ku_sund_danhead,dancmpn02fl` |
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