From 231d5518f809ccf3f90dfdc8a27645ee00a204bf Mon Sep 17 00:00:00 2001 From: William McLaren Date: Wed, 19 Jul 2017 13:50:26 +0100 Subject: [PATCH] check otherfeatures present for merged --- modules/Bio/EnsEMBL/VEP/AnnotationSourceAdaptor.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/VEP/AnnotationSourceAdaptor.pm b/modules/Bio/EnsEMBL/VEP/AnnotationSourceAdaptor.pm index 2fe58d2ba..ae6a6b5b1 100644 --- a/modules/Bio/EnsEMBL/VEP/AnnotationSourceAdaptor.pm +++ b/modules/Bio/EnsEMBL/VEP/AnnotationSourceAdaptor.pm @@ -153,7 +153,7 @@ sub get_all_from_database { }); # special case merged - if($self->param('merged')) { + if($self->param('merged') && $self->get_adaptor('otherfeatures', 'slice')) { my $core_type_bak = $self->param('core_type'); $self->param('core_type', 'otherfeatures');