bioinformatics/vep:116.3
Version sha256.5f0a29d28f27c3bbe39c8d6379c29641805a0fa99e59385a7456f32cf7bc35ad
Image size: 281.0 MB
For more on pulling from the registry, see the ilifu documentation.
First, once: add the registry and make it your default
singularity remote add --no-login idia-registry https://sregistry.idia.ac.za
singularity remote use idia-registry
If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.
Log in, for a private collection
singularity remote login idia-registry
Paste a token from your token page when asked. Public collections need no login.
Pull the container
singularity pull library://bioinformatics/vep:116.3
Shell into the container
singularity shell library://bioinformatics/vep:116.3
Run the container
singularity run library://bioinformatics/vep:116.3
First, once: add the registry and make it your default
apptainer remote add --no-login idia-registry https://sregistry.idia.ac.za
apptainer remote use idia-registry
If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.
Log in, for a private collection
apptainer remote login idia-registry
Paste a token from your token page when asked. Public collections need no login.
Pull the container
apptainer pull library://bioinformatics/vep:116.3
Shell into the container
apptainer shell library://bioinformatics/vep:116.3
Run the container
apptainer run library://bioinformatics/vep:116.3
Ensembl Variant Effect Predictor (VEP) release 116.3. Predicts the effect of variants
(SNPs, insertions, deletions, CNVs or structural variants) on genes, transcripts and
protein sequence.
The image has no cache or plugins. Point --dir_cache at a VEP cache you have downloaded,
and --dir_plugins at a plugins checkout if you use any.
Usage:
singularity run vep_116.3.sif --input_file in.vcf --output_file out.txt \
--cache --offline --dir_cache /path/to/vep_cache
Apps: filter_vep, variant_recoder and haplo, e.g.
singularity run --app filter_vep vep_116.3.sif --help
Documentation: https://www.ensembl.org/info/docs/tools/vep/script/index.html
This image has 3 apps. Pick one to see how to use it.
singularity run --app filter_vep library://bioinformatics/vep:116.3
This works once you've added the registry as a remote (see the CLI tab). Add the app's arguments after the command. With Apptainer, start it with apptainer instead.
Help
Filters VEP output (tab-delimited or VCF) by the values of its annotation fields, e.g.
consequence, gene, allele frequency or SIFT score. It needs no cache, except that
--ontology looks up Sequence Ontology terms in the Ensembl database.
singularity run --app filter_vep vep_116.3.sif --input_file out.txt \
--output_file filtered.txt --filter "Consequence is missense_variant"
Docs: https://www.ensembl.org/info/docs/tools/vep/script/vep_filter.html
Runs
exec filter_vep "$@"
singularity run --app haplo library://bioinformatics/vep:116.3
This works once you've added the registry as a remote (see the CLI tab). Add the app's arguments after the command. With Apptainer, start it with apptainer instead.
Help
Haplosaurus: builds each sample's transcript and protein haplotypes from the phased
genotypes in a VCF, rather than predicting each variant on its own. Like vep, it needs
a VEP cache (--cache, with --dir_cache) or a database connection (--database).
singularity run --app haplo vep_116.3.sif --input_file phased.vcf \
--output_file haplotypes.txt --cache --dir_cache /path/to/vep_cache
Docs: https://www.ensembl.org/info/docs/tools/vep/haplo/index.html
Runs
exec haplo "$@"
singularity run --app variant_recoder library://bioinformatics/vep:116.3
This works once you've added the registry as a remote (see the CLI tab). Add the app's arguments after the command. With Apptainer, start it with apptainer instead.
Help
Translates variant identifiers and HGVS notations into all the other equivalents
(rsID, HGVSg, HGVSc, HGVSp, SPDI), printed as JSON. It has no cache mode: it always
queries an Ensembl database, the public ensembldb.ensembl.org by default (needs
network access), or your own mirror with --host, --port and --user.
singularity run --app variant_recoder vep_116.3.sif --input_data rs699 --pretty
Docs: https://www.ensembl.org/info/docs/tools/vep/recoder/index.html
Runs
exec variant_recoder "$@"
Bootstrap: docker
From: ensemblorg/ensembl-vep:release_116.3
%labels
Maintainer IDIA <support@ilifu.ac.za>
Version 116.3
Source https://github.com/Ensembl/ensembl-vep
%help
Ensembl Variant Effect Predictor (VEP) release 116.3. Predicts the effect of variants
(SNPs, insertions, deletions, CNVs or structural variants) on genes, transcripts and
protein sequence.
The image has no cache or plugins. Point --dir_cache at a VEP cache you have downloaded,
and --dir_plugins at a plugins checkout if you use any.
Usage:
singularity run vep_116.3.sif --input_file in.vcf --output_file out.txt \
--cache --offline --dir_cache /path/to/vep_cache
Apps: filter_vep, variant_recoder and haplo, e.g.
singularity run --app filter_vep vep_116.3.sif --help
Documentation: https://www.ensembl.org/info/docs/tools/vep/script/index.html
%runscript
exec vep "$@"
%apprun filter_vep
exec filter_vep "$@"
%apphelp filter_vep
Filters VEP output (tab-delimited or VCF) by the values of its annotation fields, e.g.
consequence, gene, allele frequency or SIFT score. It needs no cache, except that
--ontology looks up Sequence Ontology terms in the Ensembl database.
singularity run --app filter_vep vep_116.3.sif --input_file out.txt \
--output_file filtered.txt --filter "Consequence is missense_variant"
Docs: https://www.ensembl.org/info/docs/tools/vep/script/vep_filter.html
%apprun variant_recoder
exec variant_recoder "$@"
%apphelp variant_recoder
Translates variant identifiers and HGVS notations into all the other equivalents
(rsID, HGVSg, HGVSc, HGVSp, SPDI), printed as JSON. It has no cache mode: it always
queries an Ensembl database, the public ensembldb.ensembl.org by default (needs
network access), or your own mirror with --host, --port and --user.
singularity run --app variant_recoder vep_116.3.sif --input_data rs699 --pretty
Docs: https://www.ensembl.org/info/docs/tools/vep/recoder/index.html
%apprun haplo
exec haplo "$@"
%apphelp haplo
Haplosaurus: builds each sample's transcript and protein haplotypes from the phased
genotypes in a VCF, rather than predicting each variant on its own. Like vep, it needs
a VEP cache (--cache, with --dir_cache) or a database connection (--database).
singularity run --app haplo vep_116.3.sif --input_file phased.vcf \
--output_file haplotypes.txt --cache --dir_cache /path/to/vep_cache
Docs: https://www.ensembl.org/info/docs/tools/vep/haplo/index.html
%test
vep --help | grep -qE 'ensembl-vep +: 116\.3' || exit 1
for app in filter_vep variant_recoder haplo; do
command -v "$app" >/dev/null || exit 1
done
Download bioinformatics-vep_116.3.def
#!/bin/sh
exec vep "$@"
#!/bin/sh
vep --help | grep -qE 'ensembl-vep +: 116\.3' || exit 1
for app in filter_vep variant_recoder haplo; do
command -v "$app" >/dev/null || exit 1
done
# /.singularity.d/env/10-docker2singularity.sh
#!/bin/sh
export PATH="/plugins/GeneSplicer:/opt/vep/src/ensembl-vep:/opt/vep/src/var_c_code:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export OPT="${OPT:-"/opt/vep"}"
export OPT_SRC="${OPT_SRC:-"/opt/vep/src"}"
export PERL5LIB_TMP="${PERL5LIB_TMP:-":/opt/vep/src/ensembl-vep:/opt/vep/src/ensembl-vep/modules:/plugins"}"
export PERL5LIB="${PERL5LIB:-":/opt/vep/src/ensembl-vep:/opt/vep/src/ensembl-vep/modules:/plugins"}"
export KENT_SRC="${KENT_SRC:-"/opt/vep/src/kent-335_base/src"}"
export HTSLIB_DIR="${HTSLIB_DIR:-"/opt/vep/src/htslib"}"
export DEPS="${DEPS:-"/opt/vep/src"}"
export LANG_VAR="${LANG_VAR:-"en_US.UTF-8"}"
export LC_ALL="${LC_ALL:-"en_US.UTF-8"}"
export LANG="${LANG:-"en_US.UTF-8"}"
export VEP_NO_UPDATE="${VEP_NO_UPDATE:-"1"}"
export VEP_NO_HTSLIB="${VEP_NO_HTSLIB:-"1"}"
export VEP_NO_PLUGINS="${VEP_NO_PLUGINS:-"1"}"
export VEP_DIR_PLUGINS="${VEP_DIR_PLUGINS:-"/plugins"}"
export VEP_PLUGINSDIR="${VEP_PLUGINSDIR:-"/plugins"}"
export PLUGIN_DEPS="${PLUGIN_DEPS:-"https://raw.githubusercontent.com/Ensembl/VEP_plugins/release/116/config"}"