-
Notifications
You must be signed in to change notification settings - Fork 21
Problem with adaptation of vep apptainer version #379
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
Comments
Hey Alex, regarding your db_download.php adaptation you have to include your cwd to the bind paths. Our execApptainer() function adds the --no-mount home,cwd and --cleanenv flag to each container execution to make sure no unwanted files are mounted into the container, which could conflict with container execution. It seems that your plugin installation tries to create a folder in your cwd which is not writable for apptainer since cwd is not mounted. Since the vep container is one of the only containers I didn't build but pulled from the official ensemble-vep page from dockerhub (https://hub.docker.com/r/ensemblorg/ensembl-vep) I'm not sure why it can't find the INSTALL.pl script in your manual execution. Can you check if the script in the container can be found with your specified bind paths?
If you can find the INSTALL.pl script in the expected location you can try to execute the script with it's full path:
Hope that helps, let me know if it doesn't ;) Cheers, |
Hi, |
I'll try to replicate the problem and keep you updated on any solution ideas. |
Hey Alex, I found the problem. When trying to install an ensemble-vep plugin using the container You can circumvent this issue by copying the folder
Output:
But it seems like the SpliceRegion plugin is already installed inside the container. To utilize it you probably need to add |
Thank you, I will try that. |
Hi,
we typically add the "SpliceRegion" vep plugin to our megSAP analysis, because our biologists need the expanded splicing annotations.
Additionally, we adapted the
SpliceRegion.pm
-file to include all variants from -20/+3 to -3/+8 around the splice sites. However, I can't get the installation of the plugin to work.When I adapt the
db_download.php
line like this:$parser->execApptainer("vep", "INSTALL.pl", "--SPECIES homo_sapiens --ASSEMBLY GRCh38 --AUTO acp --NO_UPDATE --NO_BIOPERL --CACHEDIR $vep_data_dir/cache --CACHEURL $vep_data_dir/ftp --NO_TEST --NO_HTSLIB --PLUGINS SpliceRegion", [$vep_data_dir], [$vep_data_dir]);
I get the error
ERROR: Could not make directory ./Bio
When I try to run in manually like this:
apptainer exec -B <megSAPdir>/data/dbs/ensembl-vep-112/ <megSAPdir>/data/tools/apptainer_container/vep_release-112.0.sif INSTALL.pl --SPECIES homo_sapiens --ASSEMBLY GRCh38 --AUTO acp --NO_UPDATE --NO_BIOPERL --CACHEDIR <megSAPdir>/data/dbs/ensembl-vep-112/cache --CACHEURL <megSAPdir>/data/dbs/ensembl-vep-112/ftp/ --NO_TEST --NO_HTSLIB --PLUGINS SpliceRegion
I get the error
No such file or directory at /opt/vep/src/ensembl-vep/INSTALL.pl line 778.
Do you have a solution for me or maybe another way to get an extended SpliceRegion annotation?
Best,
Alex
The text was updated successfully, but these errors were encountered: