mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-23 08:49:54 +00:00
Merge pull request #374 from jfy133/taxprofiler
Add taxprofiler pipeline sepcific config for EVA
This commit is contained in:
commit
4a50fd40e7
4 changed files with 55 additions and 2 deletions
|
@ -194,11 +194,13 @@ Currently documentation is available for the following pipelines within specific
|
||||||
- [EVA](docs/pipeline/eager/eva.md)
|
- [EVA](docs/pipeline/eager/eva.md)
|
||||||
- rnafusion
|
- rnafusion
|
||||||
- [MUNIN](docs/pipeline/rnafusion/munin.md)
|
- [MUNIN](docs/pipeline/rnafusion/munin.md)
|
||||||
|
- rnavar
|
||||||
|
- [MUNIN](docs/pipeline/rnavar/munin.md)
|
||||||
- sarek
|
- sarek
|
||||||
- [MUNIN](docs/pipeline/sarek/munin.md)
|
- [MUNIN](docs/pipeline/sarek/munin.md)
|
||||||
- [UPPMAX](docs/pipeline/sarek/uppmax.md)
|
- [UPPMAX](docs/pipeline/sarek/uppmax.md)
|
||||||
- rnavar
|
- taxprofiler
|
||||||
- [MUNIN](docs/pipeline/rnavar/munin.md)
|
- [EVA](docs/pipeline/taxprofiler/eva.md)
|
||||||
|
|
||||||
### Pipeline-specific documentation
|
### Pipeline-specific documentation
|
||||||
|
|
||||||
|
|
29
conf/pipeline/taxprofiler/eva.config
Normal file
29
conf/pipeline/taxprofiler/eva.config
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
params {
|
||||||
|
// Specific nf-core/configs params
|
||||||
|
config_profile_contact = 'James Fellows Yates (@jfy133)'
|
||||||
|
config_profile_description = 'nf-core/taxprofiler EVA profile provided by nf-core/configs'
|
||||||
|
}
|
||||||
|
|
||||||
|
process {
|
||||||
|
|
||||||
|
withName: BBMAP_BBDUK {
|
||||||
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 2)}G" }
|
||||||
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||||||
|
}
|
||||||
|
|
||||||
|
withName: MALT_RUN {
|
||||||
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 4)}G" }
|
||||||
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||||||
|
}
|
||||||
|
|
||||||
|
withName: METAPHLAN3 {
|
||||||
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 3)}G" }
|
||||||
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||||||
|
}
|
||||||
|
|
||||||
|
withName: MEGAN_RMA2INFO {
|
||||||
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 4)}G" }
|
||||||
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
19
docs/pipeline/taxprofiler/eva.md
Normal file
19
docs/pipeline/taxprofiler/eva.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# nf-core/configs: eva taxprofiler specific configuration
|
||||||
|
|
||||||
|
Extra specific configuration for taxprofiler pipeline
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
To use, run the pipeline with `-profile eva`.
|
||||||
|
|
||||||
|
This will download and launch the taxprofiler specific [`eva.config`](../../../conf/pipeline/taxprofiler/eva.config) which has been pre-configured with a setup suitable for the MPI-EVA cluster.
|
||||||
|
|
||||||
|
Example: `nextflow run nf-core/taxprofiler -profile eva`
|
||||||
|
|
||||||
|
## taxprofiler specific configurations for eva
|
||||||
|
|
||||||
|
Specific configurations for eva has been made for taxprofiler.
|
||||||
|
|
||||||
|
### General profiles
|
||||||
|
|
||||||
|
- The general MPI-EVA profile runs with default nf-core/taxprofiler parameters, but with modifications to account for issues SGE have with Java and python tools, nameling: BBDUK, MALT, MetaPhlAn3, and MEGAN
|
3
pipeline/taxprofiler.config
Normal file
3
pipeline/taxprofiler.config
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
profiles {
|
||||||
|
eva { includeConfig "${params.custom_config_base}/conf/pipeline/taxprofiler/eva.config" }
|
||||||
|
}
|
Loading…
Reference in a new issue