Despite it’s 2020, we still have issues in installing standard software such as vep. On Focal (ubuntu distribution), do the following
- Install following libraries
- libdbd-mysql-perl
- libdbi-perl
- libarchive-zip-perl
- Run the command
- cpan Module::Build (This would give you many options, I chose sudo)
- Now clone the vep repo
- Clone the vep repo (git clone https://github.com/Ensembl/ensembl-vep.git)
- Go to ensembl-vep repo
- You should see htslib directory. you can keep it if you are okay with it. I did step 4 and 5
- Delete the htslib
- Clone the htslib (git clone https://github.com/samtools/htslib.git)
- Now execute the command
- perl INSTALL.pl
This should build VEP and asks you to download the cache and fasta (reference) files. They are huge. Do not download unless you are working in ivory towers. You can download the plugins though. Plugins are installed in your home directory/.vep. They are small.