Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VEPFlags refuses to accept the scriptPath of VEP #6

Open
Rohit-Satyam opened this issue Jan 11, 2023 · 1 comment
Open

VEPFlags refuses to accept the scriptPath of VEP #6

Rohit-Satyam opened this issue Jan 11, 2023 · 1 comment
Assignees

Comments

@Rohit-Satyam
Copy link

Rohit-Satyam commented Jan 11, 2023

I successfully installed VEP in my ubuntu v.20 and added its path to ~/.bashrc as shown below but still I get the error
.bashrc file content

export PATH="$PATH:/home/subudhak/ensembl-vep-release-108"
alias vep="sudo /home/subudhak/ensembl-vep-release-108/vep"

Error msg

Error in validObject(.Object) : 
  invalid class “VEPFlags” object: Ensembl >=88 requires vep script  (not variant_effect_predictor.pl)

When trying to explicitly define the path the error message persists: (even renamed vep to variant_effect_predictor.pl)

param <- VEPFlags(flags=list(host="useastdb.ensembl.org"), scriptPath = as.character("home/subudhak/ensembl-vep-release-108/variant_effect_predictor.pl"))
Error in validObject(.Object) : 
  invalid classVEPFlagsobject: Ensembl >=88 requires vep script  (not variant_effect_predictor.pl)
@jwokaty jwokaty self-assigned this Jan 11, 2023
@jwokaty
Copy link
Contributor

jwokaty commented Jan 21, 2023

Sorry it took awhile to get back to this. I was sick most of last week.

It would be helpful to see what code you are executing that produces the error messages so that I can perform the same steps. I don't think you need an alias. After you add the export line to your .bashrc, you need to log out and log back in. (But it also might work in a new terminal window.) If it's working, you should get the path to your vep when doing which vep. Alternatively, if this is your computer, you could also put the same line /etc/profile and logout for it to take effect.

In order to install, I believe I had do something similar to how we set up ensemble-vep on the build machines:

sudo cpan install Archive::Zip
sudo cpan install File::Copy::Recursive
sudo perl INSTALL.pl --NO_HTSLIB
# When asked if you want to install any cache files - say no
# When asked if you want to install any FASTA files - say no
# When asked if you want to install any plugins - say no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants