Skip to content

Commit

Permalink
Merge pull request #708 from nf-core/feature/danhead
Browse files Browse the repository at this point in the history
[WIP]: danhead @ KU
  • Loading branch information
AdrijaK committed Jun 20, 2024
2 parents e0e084c + f33525d commit a7e6237
Show file tree
Hide file tree
Showing 8 changed files with 94 additions and 117 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
- "janelia"
- "jax"
- "jex"
- "ku_sund_dangpu"
- "ku_sund_danhead"
- "leicester"
- "lugh"
- "m3c"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Currently documentation is available for the following systems:
- [Janelia Research Campus](docs/janelia.md)
- [JAX](docs/jax.md)
- [Jex](docs/jex.md)
- [KU SUND DANGPU](docs/ku_sund_dangpu.md)
- [KU SUND DANHEAD](docs/ku_sund_danhead.md)
- [LUGH](docs/lugh.md)
- [M3C](docs/m3c.md)
- [MAESTRO](docs/maestro.md)
Expand Down
25 changes: 0 additions & 25 deletions conf/ku_sund_dangpu.config

This file was deleted.

43 changes: 43 additions & 0 deletions conf/ku_sund_danhead.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
params {

config_profile_contact = 'Adrija Kalvisa <adrija.kalvisa@sund.ku.dk>'
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'
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
params {
config_profile_contact = 'Adrija Kalvisa (@adrijak)'
config_profile_description = 'nf-core/methylseq ku_sund_dangpu profile provided by nf-core/configs'
config_profile_description = 'nf-core/methylseq ku_sund_danhead profile provided by nf-core/configs'

// methylseq usually runs extremely long hours, use 2x the normal max_time allowance for this pipeline
max_time = 144.h
Expand Down
88 changes: 0 additions & 88 deletions docs/ku_sund_dangpu.md

This file was deleted.

47 changes: 47 additions & 0 deletions docs/ku_sund_danhead.md
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`
2 changes: 1 addition & 1 deletion nfcore_custom.config
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ profiles {
janelia { includeConfig "${params.custom_config_base}/conf/janelia.config" }
jax { includeConfig "${params.custom_config_base}/conf/jax.config" }
jex { includeConfig "${params.custom_config_base}/conf/jex.config" }
ku_sund_dangpu { includeConfig "${params.custom_config_base}/conf/ku_sund_dangpu.config"}
ku_sund_danhead { includeConfig "${params.custom_config_base}/conf/ku_sund_danhead.config"}
leicester { includeConfig "${params.custom_config_base}/conf/leicester.config" }
lugh { includeConfig "${params.custom_config_base}/conf/lugh.config" }
m3c { includeConfig "${params.custom_config_base}/conf/m3c.config" }
Expand Down

0 comments on commit a7e6237

Please sign in to comment.