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

feat: update of dockerfile to use more secure image; #1546

Open
wants to merge 232 commits into
base: release/110
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
364a999
Return features impacted by BND variants
nuno-agostinho Dec 7, 2022
dbb935a
Merge branch 'postreleasefix/109' into add/bnd-support
nuno-agostinho Apr 13, 2023
3766dde
Allow min_max regions per chromosome
nuno-agostinho Apr 14, 2023
1e71189
Minor changes
nuno-agostinho Apr 14, 2023
c9e3ded
Delete reg dba when done (#1396)
nakib103 Apr 17, 2023
9796f11
Delete reg dba when done (#1396)
nakib103 Apr 17, 2023
506b13b
Allow multiple vep and vcf config with one-to-one relationship
nakib103 Apr 18, 2023
f621fea
Support breakend described in INFO field
nuno-agostinho Apr 18, 2023
9ebf7c3
Detect newer BND alternative allele format in VCF
nuno-agostinho Apr 18, 2023
47a8edb
Print BND alternative allele in output (if available)
nuno-agostinho Apr 18, 2023
3a2601d
Added support for multiple output dir
nakib103 Apr 19, 2023
98b5c72
Updated some comments in the code
nakib103 Apr 19, 2023
1b1e7ed
Merge branch 'postreleasefix/110'
nakib103 Apr 19, 2023
2f45a48
Fix unit tests and add breakend examples
nuno-agostinho Apr 19, 2023
6717660
Keep output for vcf workflow
nakib103 Apr 19, 2023
b1ecdd8
Fix unit tests
nuno-agostinho Apr 19, 2023
6b4f93a
Avoid experimental warnings
nuno-agostinho Apr 19, 2023
f1163eb
Fix unknown chromosome in features from unit tests
nuno-agostinho Apr 20, 2023
85a6706
Further fix unit tests
nuno-agostinho Apr 20, 2023
1e7b5ae
Support csi indexing
nakib103 Apr 20, 2023
f7186ce
More verbose extension matching
nakib103 Apr 20, 2023
f7329ed
Integrate SV Overlap plugin features
nuno-agostinho Apr 21, 2023
34fa8b6
Merge branch 'postreleasefix/110'
nakib103 Apr 24, 2023
aa20035
Fix using wrong variables
nuno-agostinho Apr 26, 2023
fa6ee64
Fix SO term comparison
nuno-agostinho Apr 27, 2023
b416642
Improve docs on overlap_cutoff
nuno-agostinho Apr 27, 2023
77ecae6
Fix unit tests
nuno-agostinho Apr 27, 2023
5b93c94
Merge branch 'postreleasefix/110'
nakib103 May 2, 2023
2b8f6c0
There can be dot in vcf file name
nakib103 May 19, 2023
5c09683
Merge branch 'postreleasefix/110'
nakib103 May 24, 2023
a65d1b8
Get ref allele from phenotype feature attrib
dglemos May 25, 2023
4660cef
Merge pull request #1423 from dglemos/ENSVAR_5773
nakib103 Jun 2, 2023
ab207ea
Merge branch 'postreleasefix/110'
nakib103 Jun 2, 2023
491353b
Update dump VEP directories (#1394)
nakib103 Jun 2, 2023
f3829f7
Update refseq stable id only when undefined
nakib103 Jun 5, 2023
5bd0487
Merge branch 'postreleasefix/110'
dglemos Jun 14, 2023
90b6352
Merge branch 'postreleasefix/110'
nakib103 Jun 15, 2023
919255f
Merge branch 'postreleasefix/110'
likhitha-surapaneni Jun 19, 2023
ff160ab
Branch name changed to main
likhitha-surapaneni Jun 19, 2023
71049d8
Merge branch 'postreleasefix/110' into add/bnd-support
nuno-agostinho Jun 19, 2023
9cd0b75
Fix git merge changes
nuno-agostinho Jun 19, 2023
70152ff
Merge branch 'postreleasefix/110'
nuno-agostinho Jun 19, 2023
00efc83
Fix class SO term for breakends
nuno-agostinho Jun 20, 2023
b4e3753
Merge branch 'postreleasefix/110' into add/SV-overlap
nuno-agostinho Jun 20, 2023
763562d
Fix unit tests
nuno-agostinho Jun 20, 2023
5eca8c3
Merge branch 'postreleasefix/110'
Jun 20, 2023
0d9c247
Merge branch 'postreleasefix/110'
nuno-agostinho Jun 20, 2023
a7281ea
Improve regex for validation of alternative alleles
nuno-agostinho Jun 21, 2023
ec973ac
Avoid nested routines
nuno-agostinho Jun 21, 2023
884bf9c
Update class SO term to chromosome_breakpoint
nuno-agostinho Jun 21, 2023
e0f91bd
quick fix (#1441)
olaaustine Jun 26, 2023
6866c50
Return overlap_percentage for exact matches
nuno-agostinho Jun 26, 2023
8f4bf14
Fix overlap_percentage for exact matches
nuno-agostinho Jun 26, 2023
68a5cb5
Fixed consequences for indels when shift_3prime is enabled for all in…
likhitha-surapaneni Jun 26, 2023
792eb49
Remove duplicated function
nuno-agostinho Jun 26, 2023
b466357
Fix overlap definition based on
nuno-agostinho Jun 26, 2023
716b382
Merge branch 'postreleasefix/111' into add/SV-overlap
nuno-agostinho Jun 26, 2023
2b9371a
Fix unit tests
nuno-agostinho Jun 26, 2023
5d3d54e
Update unit tests
nuno-agostinho Jun 26, 2023
3f7f6b8
Fixed test cases for uploaded_allele as a flag
likhitha-surapaneni Jun 26, 2023
df0ed89
Avoid calculating overlap for breakpoints
nuno-agostinho Jun 26, 2023
87ed9fd
Update modules/Bio/EnsEMBL/VEP/Parser.pm
likhitha-surapaneni Jun 26, 2023
c2860e3
Minor fix
likhitha-surapaneni Jun 26, 2023
1f6925f
Fix issues with unit tests
nuno-agostinho Jun 26, 2023
179f3d1
Fix missing parameter on unit tests
nuno-agostinho Jun 27, 2023
b020d4d
remove blank line
nakib103 Jun 27, 2023
3b7372a
use null instead of string
nakib103 Jun 27, 2023
84622e5
use null instead of string
nakib103 Jun 27, 2023
e96b62e
fix the case where no index is not given
nakib103 Jun 27, 2023
e1fa200
remove params from modules
nakib103 Jun 27, 2023
c78fcce
remove blank line
nakib103 Jun 27, 2023
c418703
refactor split vcf module
nakib103 Jun 27, 2023
7f9ba2f
Create output dir before moving
nakib103 Jun 27, 2023
19f91e0
Added unit tests for uploaded_allele flag
likhitha-surapaneni Jun 27, 2023
7f43ee5
Remove many-to-many scenario altogether
nakib103 Jun 27, 2023
8455124
Fix custom headers warning in unit tests
nuno-agostinho Jun 27, 2023
05bc566
remove unnecessary params and if branches
nakib103 Jun 27, 2023
c42dd04
fix typo
nakib103 Jun 27, 2023
afe393f
convert non-absolute output dir path
nakib103 Jun 27, 2023
a296499
Revert overlap flag check
nuno-agostinho Jun 27, 2023
8e48b86
Fixing test cases
likhitha-surapaneni Jun 27, 2023
7a3f38e
Minor fix
likhitha-surapaneni Jun 28, 2023
ffaf4cf
Merge pull request #1407 from nuno-agostinho/add/SV-overlap
nuno-agostinho Jun 28, 2023
6426e75
Merge pull request #1399 from nuno-agostinho/add/bnd-support
nuno-agostinho Jun 28, 2023
9e39781
Merge pull request #1444 from likhitha-surapaneni/fix-uploaded-allele
nuno-agostinho Jun 28, 2023
5cb8d6d
Minor fix for default values
nuno-agostinho Jun 28, 2023
c673533
Merge pull request #1398 from nakib103/nxf_from_pipeline
nuno-agostinho Jun 28, 2023
47cb7fd
bugfix: many-to-one situation; stop channeling output_dir
nakib103 Jun 29, 2023
10c22d7
flow vep_config from run_vep
nakib103 Jul 3, 2023
56d92d4
take in vep_config from run_vep
nakib103 Jul 3, 2023
2b95205
Fix one-to-many situation
nakib103 Jul 4, 2023
826e8b1
Merge pull request #1448 from nakib103/nxf_from_pipeline
nuno-agostinho Jul 4, 2023
8e7af98
Ignore alternative allele when checking VCF format
nuno-agostinho Jul 7, 2023
e1d66bb
Avoid warning regarding comma usage in qw
nuno-agostinho Jul 7, 2023
6428f0a
Support N as alternative allele (used in telomere breakends)
nuno-agostinho Jul 7, 2023
af5e99d
Improve SV type detection and add more skipped variants to skipped_va…
nuno-agostinho Jul 7, 2023
fc58646
Revert "Update refseq stable id only when undefined"
nakib103 Jul 12, 2023
906ac0c
Allow non rna- prefix in transcript stable id
nakib103 Jul 12, 2023
64011bf
Put a end-of-line condition in the regex for better match
nakib103 Jul 12, 2023
1fed75f
Extra condition to check MT transcripts
nakib103 Jul 12, 2023
b5826a9
Merge pull request #1451 from nuno-agostinho/fix/sv-alt-vcf
nakib103 Jul 17, 2023
dfe341a
Fix Docker build process
nuno-agostinho Jul 18, 2023
c9da003
Add tag for manual run
nuno-agostinho Jul 18, 2023
05b530a
Merge pull request #1454 from nuno-agostinho/fix/gh-actions-docker
likhitha-surapaneni Jul 18, 2023
d8de03d
Update dockerfile for ubuntu 22.04
nakib103 Jul 24, 2023
c57d9bf
Fix Dockerfile context
nuno-agostinho Jul 24, 2023
80dd5cd
Merge pull request #1462 from nuno-agostinho/fix/dockerfile-context
likhitha-surapaneni Jul 24, 2023
408a78b
Avoid Docker layer caching
nuno-agostinho Jul 24, 2023
c4fbf9c
Merge pull request #1463 from nuno-agostinho/fix/dockerfile-context
likhitha-surapaneni Jul 24, 2023
6564673
Remove test sed expressions
nakib103 Jul 24, 2023
6c780a1
Symlink python to python2
nakib103 Jul 25, 2023
bd26a56
Avoid smartmatch (#1461)
nuno-agostinho Aug 3, 2023
881b264
Avoid annotating skipped variants
nuno-agostinho Aug 7, 2023
c53c462
Merge pull request #1464 from nakib103/ubuntu_python2
likhitha-surapaneni Aug 8, 2023
994a80d
Fix web VEP input format detection
nuno-agostinho Aug 15, 2023
511d8cb
Remind to edit public-plugins JS code
nuno-agostinho Aug 15, 2023
0a4d8bb
Remove input format detection from VEP
nuno-agostinho Aug 15, 2023
611114e
Merge pull request #1473 from nuno-agostinho/fix/custom-annot-skip-vars
nakib103 Aug 16, 2023
38f40ba
Parse mobile element insertion/deletion
nuno-agostinho Aug 18, 2023
244b119
Fix formatting detection issues
nuno-agostinho Aug 18, 2023
0efd9f4
Remove clinvar ref allele
dglemos Aug 25, 2023
276f3ab
Add option to report zygozity
dglemos Aug 25, 2023
2247f71
Add new option to constants
dglemos Aug 29, 2023
1b73b4b
Add a test
dglemos Aug 29, 2023
23dff35
More tests
dglemos Aug 29, 2023
3671769
Fix Haplo_Runner test
dglemos Aug 30, 2023
56aaba7
Add more tests
dglemos Aug 30, 2023
20c27f5
Fix order
dglemos Aug 30, 2023
f21690d
Parse END field in Manta breakend variants
nuno-agostinho Aug 30, 2023
8d37a57
Fix unit tests
nuno-agostinho Aug 30, 2023
82ea6bf
Add mobile element unit tests
nuno-agostinho Aug 30, 2023
4384d5e
Allow output dir to be a channel
nakib103 Aug 31, 2023
13df7dd
If output_dir is channel leave as it is
nakib103 Sep 1, 2023
6382a27
Copy-edit code
nuno-agostinho Sep 5, 2023
36e1aa6
Merge pull request #1477 from nuno-agostinho/fix/web-vep-input-format
nakib103 Sep 5, 2023
bf89abf
Update more splits
nakib103 Sep 6, 2023
176b4b1
Remove non-existant function call
nakib103 Sep 6, 2023
978fb0e
Added wrong files in prev commit
nakib103 Sep 6, 2023
9dbb8d2
Merge pull request #1493 from nakib103/fix_nextflow
nuno-agostinho Sep 11, 2023
4124d52
Parse breakends as multiple alternative alleles
nuno-agostinho Sep 11, 2023
e9d475f
Move breakend parsing to ensembl-variation
nuno-agostinho Sep 11, 2023
2988a7c
Clean breakend code
nuno-agostinho Sep 11, 2023
85205e2
Parse Manta breakends in ensembl-vep
nuno-agostinho Sep 11, 2023
8282b83
Fix wrong allele string for Manta results
nuno-agostinho Sep 11, 2023
31eb12d
Fix unit tests
nuno-agostinho Sep 11, 2023
5f15cfc
Avoid matching breakpoints with SNPs in exact mode
nuno-agostinho Sep 14, 2023
fc93cae
Trim extra whitespaces of warning messages for skipped variants
nuno-agostinho Sep 14, 2023
f5f79f2
Fix skipping all subsequent SVs after skipping one
nuno-agostinho Sep 14, 2023
bf8f66f
Warn when skipping any non-supported SV type
nuno-agostinho Sep 14, 2023
9d54fd0
Match by same variant type only with custom VCF
nuno-agostinho Sep 14, 2023
29a589e
Avoid getting breakends if method is not available (example, for non-…
nuno-agostinho Sep 18, 2023
61979c2
Avoid getting breakends if not available
nuno-agostinho Sep 18, 2023
2669074
Fix breakend parsing from INFO field
nuno-agostinho Sep 19, 2023
71f12ff
Avoid error regarding unblessed objects in haplo
nuno-agostinho Sep 19, 2023
5d17052
Fix typo
nakib103 Sep 20, 2023
b6fc599
Added unit test
nakib103 Sep 20, 2023
2360ea1
Shorten the lines
nakib103 Sep 20, 2023
4b70a58
Compare samples
dglemos Sep 21, 2023
b552c4c
Fix check and add tests
dglemos Sep 22, 2023
90c044e
Merge pull request #1490 from dglemos/add/option_individual_zyg
nuno-agostinho Sep 22, 2023
1a36bca
Add correct breakend reference to breakpoints
nuno-agostinho Sep 22, 2023
dea14d9
Support single breakends, such as .N
nuno-agostinho Sep 22, 2023
af6b4b6
Improve unit tests
nuno-agostinho Sep 25, 2023
d10423f
Merge pull request #1496 from nuno-agostinho/improve-bnd
likhitha-surapaneni Sep 26, 2023
6b46105
Run VEP with SV IDs (#1478)
nuno-agostinho Sep 27, 2023
0498108
git merge postreleasefix/111 after conflicts resolved
dglemos Sep 28, 2023
9ea2c3a
Merge branch 'postreleasefix/111' into fix/custom-skipping
nuno-agostinho Sep 28, 2023
d6c71c9
Merge pull request #1498 from nuno-agostinho/fix/custom-skipping
nakib103 Sep 29, 2023
630a6f2
Resolve merge conflict
nakib103 Sep 29, 2023
3da0f6e
Merge branch 'postreleasefix/111' into fix/manta-BND-end
nuno-agostinho Sep 29, 2023
d533d54
Merge branch 'postreleasefix/111' into add/vcf-mobile-elements
nuno-agostinho Sep 29, 2023
c79cc3a
Merge pull request #1491 from nuno-agostinho/fix/manta-BND-end
nakib103 Sep 29, 2023
9cacccb
Resolve merge conflict
nakib103 Sep 29, 2023
e526902
Custom annotations: summary statistics + filter by number of records …
nuno-agostinho Oct 2, 2023
ad391f0
Merge branch 'postreleasefix/111'
dglemos Oct 2, 2023
a48454a
Merge pull request #1487 from dglemos/revert/pr_1423
jamie-m-a Oct 3, 2023
45c6f90
Merge branch 'postreleasefix/111'
jamie-m-a Oct 3, 2023
e1229f4
Resolve conflict
nakib103 Oct 3, 2023
a45cf99
Merge branch 'postreleasefix/111' into add/vcf-mobile-elements
nuno-agostinho Oct 5, 2023
d1b7e0c
Improve warning message
nuno-agostinho Sep 28, 2023
4a40e9d
Avoid printing warnings when running unit tests
nuno-agostinho Sep 28, 2023
1f37db4
Merge branch 'postreleasefix/111'
likhitha-surapaneni Oct 9, 2023
5945e04
Merge pull request #1429 from nakib103/fix_cache
nuno-agostinho Oct 9, 2023
66d3a03
Merge branch 'postreleasefix/111'
nuno-agostinho Oct 9, 2023
146cf1a
Fix unit tests
nuno-agostinho Oct 9, 2023
6ce747e
Update VCF.pm
nuno-agostinho Oct 12, 2023
963ab5c
Merge pull request #1513 from nuno-agostinho/fix/main-tests
nakib103 Oct 12, 2023
42033c4
Fetch chromosome synonyms from cache in offline mode
dglemos Oct 13, 2023
cbde345
ignore blank lines in the config.ini
Oct 12, 2023
a6c6cf5
Update INSTALL.pl
dbolser Oct 5, 2023
8b0d3dd
Merge pull request #1522 from dbolser/postreleasefix/111
nuno-agostinho Oct 16, 2023
dcdd131
Merge branch 'postreleasefix/111'
nuno-agostinho Oct 16, 2023
fd2fbf2
Merge pull request #1521 from dglemos/fix_hgvsg_use_accession
likhitha-surapaneni Oct 16, 2023
640c312
Merge pull request #1523 from dbolser/patch-3
likhitha-surapaneni Oct 16, 2023
cf5f8a7
Merge branch 'postreleasefix/111'
likhitha-surapaneni Oct 16, 2023
6c17a05
Fix web distribute dir for Dump VEP (#1525)
nakib103 Oct 18, 2023
afa3e46
Merge branch 'postreleasefix/111'
dglemos Oct 18, 2023
a982294
Merge pull request #1481 from nuno-agostinho/add/vcf-mobile-elements
olaaustine Oct 18, 2023
1257b68
merging conflicts
olaaustine Oct 18, 2023
0e2dca3
Resolving residual commit merge conflict lines
olaaustine Oct 18, 2023
6444a2c
Patching all test DBs to 112
jamie-m-a Oct 19, 2023
16093eb
Fix merge conflict changes in main
nuno-agostinho Oct 19, 2023
c8c6c8d
Fix CNV unit tests
nuno-agostinho Oct 19, 2023
2320391
Merge pull request #1528 from nuno-agostinho/fix/unit-tests
olaaustine Oct 19, 2023
6935d72
Updating VEP version
jamie-m-a Oct 19, 2023
c7e0276
Merge pull request #1527 from jamie-m-a/DB-patching
likhitha-surapaneni Oct 19, 2023
7da334b
Merge pull request #1531 from jamie-m-a/update-version
likhitha-surapaneni Oct 20, 2023
a836b88
Fix command plugin path
nuno-agostinho Oct 20, 2023
05b7288
Lookahead to avoid stripping the directory path if finishing with /
nuno-agostinho Oct 20, 2023
cb82451
Avoid redundant code
nuno-agostinho Oct 20, 2023
001203f
Fix Docker build badge
nuno-agostinho Oct 23, 2023
5aa494c
Merge pull request #1538 from nuno-agostinho/fix/docker-badge
likhitha-surapaneni Oct 23, 2023
2155865
feat: update of dockerfile to use more secure image;
mvforster Nov 2, 2023
edc48a0
Merge pull request #1535 from nuno-agostinho/fix/command-plugin-path
nakib103 Nov 2, 2023
90a912f
Restrain using latest DBD::mysql version
nakib103 Nov 3, 2023
231ef5d
Deterministic order for software versions in header (#1545)
likhitha-surapaneni Nov 17, 2023
e09ef6b
chore: rebasing the forked project to postreleasefix/112
diegomscoelho Jan 25, 2023
6c27e61
chore: rebase fork to postreleasefix/112
nakib103 Feb 21, 2023
dcaa056
Fix conflict
nakib103 Feb 21, 2023
43ef111
chore: fix conflicts
nuno-agostinho Apr 21, 2023
540bd48
Fix rebase conflicts
nuno-agostinho Apr 27, 2023
9f3c652
chore: fix rebase conflicts
nuno-agostinho Jun 26, 2023
871d7be
chore: fix rebase conflicts
nuno-agostinho Dec 7, 2022
edf315e
chore: fix rebase conflicts
nuno-agostinho Apr 14, 2023
dc6bb49
chore: fix rebase conflicts
nuno-agostinho Apr 18, 2023
a91f23c
Detect newer BND alternative allele format in VCF
nuno-agostinho Apr 18, 2023
485c281
Fix git merge changes
nuno-agostinho Jun 19, 2023
fd40ae8
Improve regex for validation of alternative alleles
nuno-agostinho Jun 21, 2023
dc2e5f7
Return features impacted by BND variants
nuno-agostinho Dec 7, 2022
81641fb
chore: fix rebase conflicts
nuno-agostinho Apr 19, 2023
ef7b3ab
feat: update of dockerfile to use more secure image;
mvforster Nov 2, 2023
cde910a
Merge branch 'v110/updates' of github.com:mvforster/ensembl-vep into …
mvforster Dec 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions INSTALL.pl
Original file line number Diff line number Diff line change
Expand Up @@ -150,20 +150,20 @@ BEGIN
my $config = {};
GetOptions(
$config,
'DESTDIR|d=s',
'DESTDIR|DEST_DIR|d=s',
'CACHE_VERSION|e=i',
'ASSEMBLY|y=s',
'BIOPERL|b=s',
'CACHEURL|u=s',
'CACHEDIR|c=s',
'FASTAURL|f=s',
'BIOPERL|BIOPERL_URL|b=s',
'CACHEURL|CACHE_URL|u=s',
'CACHEDIR|CACHE_DIR|c=s',
'FASTAURL|FASTA_URL|f=s',
'HELP|h',
'NO_UPDATE|n',
'SPECIES|s=s',
'NO_PLUGINS',
'PLUGINS|g=s',
'PLUGINSDIR|r=s',
'PLUGINURL=s',
'PLUGINSDIR|PLUGINS_DIR|r=s',
'PLUGINURL|PLUGIN_URL=s',
'AUTO|a=s',
'QUIET|q',
'PREFER_BIN|p',
Expand Down
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ensembl-vep

[![GitHub](https://img.shields.io/github/license/Ensembl/ensembl-vep.svg)](https://github.com/Ensembl/ensembl-vep/blob/release/110/LICENSE)
[![Coverage Status](https://coveralls.io/repos/github/Ensembl/ensembl-vep/badge.svg?branch=release/110)](https://coveralls.io/github/Ensembl/ensembl-vep?branch=release/110)
[![GitHub](https://img.shields.io/github/license/Ensembl/ensembl-vep.svg)](https://github.com/Ensembl/ensembl-vep/blob/main/LICENSE)
[![Coverage Status](https://coveralls.io/repos/github/Ensembl/ensembl-vep/badge.svg?branch=main)](https://coveralls.io/github/Ensembl/ensembl-vep?branch=main)
[![Docker Build Status](https://img.shields.io/github/actions/workflow/status/Ensembl/ensembl-vep/docker.yml?label=docker%20build)](https://hub.docker.com/r/ensemblorg/ensembl-vep)
[![Docker Hub Pulls](https://img.shields.io/docker/pulls/ensemblorg/ensembl-vep.svg)](https://hub.docker.com/r/ensemblorg/ensembl-vep)

Expand All @@ -10,17 +10,23 @@
* **Variant Recoder** translates between different variant encodings.

##### Table of contents
* [Installation and requirements](#install)
* [VEP](#vep)
* [Usage](#vepusage)
* [Haplosaurus](#haplo)
* [Usage](#haplousage)
* [Output](#haplooutput)
* [REST](#haploREST)
* [Flags](#haploflags)
* [Variant Recoder](#recoder)
* [Usage](#recoderusage)
* [Output](#recoderoutput)
- [ensembl-vep](#ensembl-vep)
- [Table of contents](#table-of-contents)
- [Installation and requirements](#installation-and-requirements)
- [Additional CPAN modules](#additional-cpan-modules)
- [Docker](#docker)
- [VEP](#vep)
- [Usage](#usage)
- [Haplosaurus](#haplosaurus)
- [Usage](#usage-1)
- [Output](#output)
- [REST service](#rest-service)
- [Flags](#flags)
- [bioperl-ext](#bioperl-ext)
- [Variant Recoder](#variant-recoder)
- [Usage](#usage-2)
- [Output](#output-1)
- [Options](#options)

---
<a name="install"></a>
Expand Down
2 changes: 1 addition & 1 deletion cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ requires 'DBI';
requires 'Set::IntervalTree';
requires 'JSON';
requires 'Text::CSV';
recommends 'DBD::mysql';
recommends 'DBD::mysql', '<= 4.050'; # newer versions do not support MySQL 5
recommends 'PerlIO::gzip';
recommends 'IO::Uncompress::Gunzip';
recommends 'Bio::DB::BigFile';
Expand Down
82 changes: 67 additions & 15 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
ARG BRANCH=release/110
ARG BRANCH=main

###################################################
# Stage 1 - docker container to build ensembl-vep #
###################################################
FROM ubuntu:18.04 as builder
FROM ubuntu:23.04 as builder
ARG DEBIAN_FRONTEND=noninteractive

# Update aptitude and install some required packages
# a lot of them are required for Bio::DB::BigFile
RUN apt-get update && apt-get -y install \
# many dependencies are needed to ensure that that vulnerabilities are squashed
RUN apt-get update && apt-get -y install --no-install-recommends \
build-essential \
git \
libpng-dev \
Expand All @@ -16,15 +18,23 @@ RUN apt-get update && apt-get -y install \
liblzma-dev \
perl \
perl-base \
python3 \
python3-pip \
unzip \
wget && \
mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.old && \
python3 -m pip install --no-cache-dir --upgrade pip && \
python3 -m pip uninstall cryptography && \
python3 -m pip install --no-cache-dir cryptography==41.0.4 setuptools==65.5.1 && \
apt-get -y purge manpages-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Setup VEP environment
ENV OPT /opt/vep
ENV OPT_SRC $OPT/src
ENV HTSLIB_DIR $OPT_SRC/htslib
ARG BRANCH
ENV BRANCH

# Working directory
WORKDIR $OPT_SRC
Expand All @@ -51,7 +61,7 @@ RUN if [ "$BRANCH" = "main" ]; \
unzip -q ensembl-xs.zip && mv ensembl-xs-2.3.2 ensembl-xs && rm -rf ensembl-xs.zip && \
# Clone/Download other repositories: bioperl-live is needed so the cpanm dependencies installation from the ensembl-vep/cpanfile file takes less disk space
ensembl-vep/travisci/get_dependencies.sh && \
# Only keep the bioperl-live "Bio" library
# Only keep the bioperl-live"Bio" library
mv bioperl-live bioperl-live_bak && mkdir bioperl-live && mv bioperl-live_bak/Bio bioperl-live/ && rm -rf bioperl-live_bak && \
## A lot of cleanup on the imported libraries, in order to reduce the docker image ##
rm -rf Bio-HTS/.??* Bio-HTS/Changes Bio-HTS/DISCLAIMER Bio-HTS/MANIFEST* Bio-HTS/README Bio-HTS/scripts Bio-HTS/t Bio-HTS/travisci \
Expand All @@ -65,6 +75,14 @@ RUN if [ "$BRANCH" = "main" ]; \
cp kent-335_base_bak/src/*.sh kent-335_base/src/ && \
rm -rf kent-335_base_bak

# # Build LOFTEE for GRCh37 & GRRCh38
# # This section is included for completion but commented out as LOFTEE is not a cononical plugin
# RUN mkdir /loftee-GRCh37 /loftee-GRCh38 && \
# cd /loftee-GRCh37 && \
# git clone https://github.com/konradjk/loftee.git && \
# cd /loftee-GRCh38 && \
# git clone -b ${LOFTEE_GRCh38_BRANCH} https://github.com/konradjk/loftee.git

# Setup bioperl-ext
WORKDIR bioperl-ext/Bio/Ext/Align/
RUN perl -pi -e"s|(cd libs.+)CFLAGS=\\\'|\$1CFLAGS=\\\'-fPIC |" Makefile.PL
Expand All @@ -82,14 +100,19 @@ RUN make && rm -f Makefile *.c
###################################################
# Stage 2 - docker container to build ensembl-vep #
###################################################
FROM ubuntu:18.04
FROM ubuntu:23.04
ARG DEBIAN_FRONTEND=noninteractive

# Update aptitude and install some required packages
# a lot of them are required for Bio::DB::BigFile
RUN apt-get update && apt-get -y install \
# some packages have been moved here form the ubuntu-packages.txt
# due to the need to clear vulnerabilities
RUN apt-get update && apt-get -y install --no-install-recommends \
software-properties-common \
build-essential \
cpanminus \
curl \
libgd-dev \
libmysqlclient-dev \
libpng-dev \
libssl-dev \
Expand All @@ -100,19 +123,31 @@ RUN apt-get update && apt-get -y install \
openssl \
perl \
perl-base \
pkg-config \
python3 \
python3-pip \
sqlite3 \
uuid-dev \
unzip \
vim && \
# following lines are needed to install updates to compromiosed python packages
mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.old && \
python3 -m pip install --no-cache-dir --upgrade pip && \
python3 -m pip uninstall cryptography && \
python3 -m pip install --no-cache-dir cryptography==41.0.4 setuptools==65.5.1 && \
apt-get -y purge manpages-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*


# Setup VEP environment
ENV OPT /opt/vep
ENV OPT_SRC $OPT/src
ENV PERL5LIB_TMP $PERL5LIB:$OPT_SRC/ensembl-vep:$OPT_SRC/ensembl-vep/modules
ENV PERL5LIB $PERL5LIB_TMP:$OPT_SRC/bioperl-live
ENV KENT_SRC $OPT/src/kent-335_base/src
ENV HTSLIB_DIR $OPT_SRC/htslib
ENV MACHTYPE x86_64
ENV DEPS $OPT_SRC
ENV PATH $OPT_SRC/ensembl-vep:$OPT_SRC/var_c_code:$PATH
ENV LANG_VAR en_US.UTF-8
Expand Down Expand Up @@ -146,6 +181,8 @@ RUN export MACHTYPE=$(uname -m) &&\
# Install ensembl perl dependencies (cpanm)
cpanm --installdeps --with-recommends --notest --cpanfile ensembl_cpanfile . && \
cpanm --installdeps --with-recommends --notest --cpanfile ensembl-vep/cpanfile . && \
# additional perl dependencies
cpanm Try::Tiny Module::Build && \
# Delete bioperl and cpanfiles after the cpanm installs as bioperl will be reinstalled by the INSTALL.pl script
rm -rf bioperl-live ensembl_cpanfile ensembl-vep/cpanfile && \
# Configure "locale", see https://github.com/rocker-org/rocker/issues/19
Expand All @@ -162,6 +199,8 @@ ENV LANG $LANG_VAR
# Switch back to vep user
USER vep
ENV PERL5LIB $PERL5LIB_TMP
# Removing FATHMM, FATHMM_MKL & PON_P2 as these plugins require python 2.x which is End-Of-Life
ENV PLUGIN_LIST=AlphaMisssense,AncestralAllele,Blosum62,CADD,Carol,Condel,Conservation,dbNSFP,dbscSNV,DisGeNET,Downstream,Draw,ExAC,ExACpLi,FlagLRG,FunMotifs,G2P,GeneSplicer,gnomADc,GO,HGVSIntronOffset,LD,LocalID,LoFtool,LOVD,Mastermind,MaxEntScan,MPC,MTR,NearestExonJB,NearestGene,neXtProt,Phenotypes,PON_P2,PostGAP,ProteinSeqs,ReferenceQuality,REVEL,SameCodon,satMutMPRA,SingleLetterAA,SpliceAI,SpliceRegion,StructuralVariantOverlap,SubsetVCF,TSSDistance,UTRannotator

# Setup Docker environment for when users run VEP and INSTALL.pl in Docker image:
# - skip VEP updates in INSTALL.pl
Expand All @@ -181,26 +220,39 @@ RUN echo >> $OPT/.profile && \
echo PATH=$PATH:\$PATH >> $OPT/.profile && \
echo export PATH >> $OPT/.profile && \
# Install Ensembl API and plugins
./INSTALL.pl --auto ap --plugins all --pluginsdir $VEP_DIR_PLUGINS --no_update --no_htslib && \
./INSTALL.pl --auto ap --plugins all --pluginsdir ${VEP_DIR_PLUGINS} --no_update --no_htslib && \
# Remove the ensemb-vep tests and travis
rm -rf t travisci .travis.yml
# # needed to prevent LoF compilation errors at runtime
# # only required if LOFTEE is being intalled
# rm -rf $VEP_DIR_PLUGINS/LoF.pm

# # Copy over LOFTEE build files
# # Only needed if LOFTEE is being installed
# COPY --from=builder /loftee-GRCh37/loftee /plugins/loftee-GRCh37
# COPY --from=builder /loftee-GRCh38/loftee /plugins/loftee-GRCh38

# Install dependencies for VEP plugins:
USER root
ENV PLUGIN_DEPS "https://raw.githubusercontent.com/Ensembl/VEP_plugins/$BRANCH/config"
# - Ubuntu packages
RUN curl -O "$PLUGIN_DEPS/ubuntu-packages.txt" && \
apt-get update && apt-get install -y --no-install-recommends \
$(sed s/\#.*//g ubuntu-packages.txt) && \
rm -rf /var/lib/apt/lists/* ubuntu-packages.txt
# Commented out as the packages in question are explicitly installed above.
# Retained to ensure that future updates can more easily reintegrate the commands
# RUN curl -O "$PLUGIN_DEPS/ubuntu-packages.txt" && \
# apt-get update && apt-get install -y --no-install-recommends \
# "$(sed s/\#.*//g ubuntu-packages.txt)" && \
# rm -rf /var/lib/apt/lists/* ubuntu-packages.txt
#  - Perl modules
RUN curl -O "$PLUGIN_DEPS/cpanfile" && \
cpanm --installdeps --with-recommends . && \
rm -rf /root/.cpanm cpanfile
# - Python packages
RUN curl -O "$PLUGIN_DEPS/requirements.txt" && \
python -m pip install --no-cache-dir -r requirements.txt && \
rm requirements.txt
# Commented out as Python2 has been removed from the container.
# Retained to ensure that future updates can more easily reintegrate the commands
# RUN curl -O "$PLUGIN_DEPS/requirements.txt" && \
# python -m pip install --no-cache-dir -r requirements.txt && \
# python -m pip uninstall urllib && \
# rm requirements.txt

# Set working directory as symlink to $OPT/.vep (containing VEP cache and data)
USER root
Expand Down
28 changes: 26 additions & 2 deletions modules/Bio/EnsEMBL/VEP/AnnotationSource.pm
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ sub get_regions_from_coords {
# log min/max
my ($min, $max) = defined $min_max->{$source_chr} ? @{$min_max->{$source_chr}} : (1e10, 0);
$min = $start if $start < $min;
$max = $end if $end > $max;
$max = $end if $end > $max;

# convert to region-size
my ($r_s, $r_e) = map {int(($_ - 1) / $cache_region_size)} ($start - $up_down_size, $end + $up_down_size);
Expand Down Expand Up @@ -245,6 +245,25 @@ sub get_all_regions_by_InputBuffer {
push @regions, @new_regions;
$min_max->{$chr} = [$min, $max];

# process alternative alleles from breakend structural variants
next unless Scalar::Util::blessed($vf) and $vf->can('get_breakends');
foreach my $alt (@{$vf->get_breakends}) {
($chr, $min, $max, $seen, @new_regions) = $self->get_regions_from_coords(
$alt->{chr}, $alt->{pos}, $alt->{pos},
$min_max, $cache_region_size, $up_down_size, $seen);
push @regions, @new_regions;
$min_max->{$chr} = [$min, $max];
}

$chr = $vf->{chr} || $vf->slice->seq_region_name;
throw("ERROR: Cannot get chromosome $chr from VariationFeature") unless $chr;

($chr, $min, $max, $seen, @new_regions) = $self->get_regions_from_coords(
$chr, $vf->{start}, $vf->{end},
$min_max, $cache_region_size, $up_down_size, $seen);
push @regions, @new_regions;
$min_max->{$chr} = [$min, $max];

# process alternative alleles from breakend structural variants
foreach my $alt (@{$vf->{_parsed_allele}}) {
($chr, $min, $max, $seen, @new_regions) = $self->get_regions_from_coords(
Expand Down Expand Up @@ -327,7 +346,12 @@ sub filter_features_by_min_max {
my $up_down_size = defined($self->{up_down_size}) ? $self->{up_down_size} : $self->up_down_size();

return [
grep { $self->_check_overlap($_, $min_max, $up_down_size) } @$features
grep {
exists $min_max->{$_->{slice}->{seq_region_name}} &&
overlap($_->{start}, $_->{end},
@{$min_max->{$_->{slice}->{seq_region_name}}}[0] - $up_down_size,
@{$min_max->{$_->{slice}->{seq_region_name}}}[1] + $up_down_size)}
@$features
];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ sub get_features_by_regions_uncached {
my %clin_sigs;
foreach my $pfa(@{$v_clinsigs})
{
if(defined($pfa->{clinvar_clin_sig}) && $v_copy{variation_name} eq $pfa->{id})
{
if(defined($pfa->{clinvar_clin_sig}) && $v_copy{variation_name} eq $pfa->{id})
{
$pfa->{clinvar_clin_sig}=~s/ /_/g;
$clin_sigs{$pfa->{risk_allele} . ':' .$pfa->{clinvar_clin_sig}} = 1;
}
Expand Down
Loading