Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request #678 from szilvajuhos/master
Browse files Browse the repository at this point in the history
Changing VEP to v92 and adjusting CPUs
  • Loading branch information
Szilveszter Juhos authored Nov 2, 2018
2 parents e100490 + 2c1f170 commit 436cf23
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### `Changed`

- [#678](https://github.com/SciLifeLab/Sarek/pull/678) - Changing VEP to v92 and adjusting CPUs for VEP
- [#663](https://github.com/SciLifeLab/Sarek/pull/663) - Update `do_release.sh` script
- [#671](https://github.com/SciLifeLab/Sarek/pull/671) - publishDir modes are now params

Expand Down
3 changes: 2 additions & 1 deletion annotate.nf
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,14 @@ process RunVEP {
script:
finalannotator = annotator == "snpeff" ? 'merge' : 'vep'
genome = params.genome == 'smallGRCh37' ? 'GRCh37' : params.genome
cache_version = params.genome == 'GRCh38' ? 92 : 91
"""
/opt/vep/src/ensembl-vep/vep --dir /opt/vep/.vep/ \
-i ${vcf} \
-o ${vcf.simpleName}_VEP.ann.vcf \
--assembly ${genome} \
--cache \
--cache_version 91 \
--cache_version ${cache_version} \
--database \
--everything \
--filter_common \
Expand Down
5 changes: 3 additions & 2 deletions conf/uppmax-localhost.config
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,16 @@ process {
memory = {params.totalMemory}
}
withName:RunSnpeff {
cpus = 1
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'ignore'}
memory = {params.totalMemory} // TODO Does SnpEff really require that much?
memory = {params.singleCPUMem * task.attempt}
}
withName:RunStrelka {
cpus = 16
memory = {params.totalMemory}
}
withName:RunVEP {
cpus = 16
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'ignore'}
memory = {params.totalMemory} // TODO Does VEP really require that much?
}
}
1 change: 0 additions & 1 deletion conf/uppmax-slurm.config
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ process {
time = {params.runTime * task.attempt}
}
withName:RunVEP {
cpus = 1
errorStrategy = { task.exitStatus == 143 ? 'retry' : 'ignore' }
}
}
2 changes: 1 addition & 1 deletion containers/vepgrch38/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL \
# Setup ENV variables
ENV \
GENOME=GRCh38 \
VEP_VERSION=91
VEP_VERSION=92

# Download Genome
RUN \
Expand Down
4 changes: 2 additions & 2 deletions docs/CONTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ We provide script to build/push or pull all containers

### vepgrch38 [![vepgrch38-docker status][vepgrch38-docker-badge]][vepgrch38-docker-link]

- Based on `willmclaren/ensembl-vep:release_90.6`
- Contain **[VEP][vep-link]** 90.5
- Based on `willmclaren/ensembl-vep:release_92`
- Contain **[VEP][vep-link]** 92
- Contain GRCh38

[allelecount-link]: https://github.com/cancerit/alleleCount
Expand Down

0 comments on commit 436cf23

Please sign in to comment.