Skip to content

Commit 0821f93

Browse files
committed
Handle different versions of vep and different vep cache locations
1 parent c61ff73 commit 0821f93

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

config/bianca.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
params.vep_cache_version = 89
12
process {
23
$index_bamfile {
34
module = ['bioinfo-tools', 'samtools/1.3']
@@ -37,7 +38,7 @@ process {
3738

3839
$variant_effect_predictor {
3940
cpus = 4
40-
module = ['bioinfo-tools', 'vep/84']
41+
module = ['bioinfo-tools', 'vep/89']
4142
}
4243

4344
$snpEff {

config/milou.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
params.vep_cache_version = 84
12
process {
23
$index_bamfile {
34
module = ['bioinfo-tools', 'samtools/1.3']

main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ process variant_effect_predictor {
353353
"""
354354
INFILE="$infile"
355355
OUTFILE="\${INFILE%.vcf}.vep.vcf"
356-
VEP_CACHE="/sw/data/uppnex/vep/84"
356+
VEP_CACHE="/sw/data/uppnex/vep/$params.vep_cache_version"
357357
ASSEMBLY="$params.assembly"
358358
359359
case "\$INFILE" in

0 commit comments

Comments
 (0)