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

Commit

Permalink
nasty hack to accommodate VEP version for GRCh38
Browse files Browse the repository at this point in the history
  • Loading branch information
Szilveszter Juhos authored and Szilveszter Juhos committed Oct 31, 2018
1 parent 2ada704 commit 2c1f170
Showing 1 changed file with 2 additions and 1 deletion.
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 92 \
--cache_version ${cache_version} \
--database \
--everything \
--filter_common \
Expand Down

0 comments on commit 2c1f170

Please sign in to comment.