Cool stuff Ensembl VEP can do: run faster with Nextflow

Ensembl VEP is now wrapped in a Nextflow pipeline which means you can analyse large variant sets more quickly using simple parallelisation.

Nextflow has become a popular tool for producing scalable and reproducible scientific workflows. The pipeline uses container technology making it easy to set up and deploy. It supports Singularity containers and has been tested using the LSF job scheduling system and local job runs. An experimental option for the SLURM job scheduler is also available.

The process has the following steps:

  • Split the input VCF into chromosomes-specific files
  • Run VEP on each chromosome in parallel
  • Merge the VEP VCF output

Setup

The tools required for running Ensembl VEP with Nextflow are:

Clone the ensembl-vep repo. cd to nextflow directory and run ./setup-images.sh to set up the necessary singularity containers.

Configuration

The following files are needed to configure the compute resources and analysis options:

  • Ensembl VEP config – generate by running:
cp nf_config/vep.ini.template nf_config/vep.ini
  • Nextflow config – the default options should suit most needs but it can be customised

Usage

The sample command below triggers the Nextflow Ensembl VEP workflow:

nextflow run workflows/run_vep.nf -C nf_config/nextflow.config --vcf <path-to-vcf> --chros 1,2 -profile <standard or lsf or slurm>