Skip to content

Commit

Permalink
Merge pull request #246 from ens-lgil/release/93
Browse files Browse the repository at this point in the history
Filter on VCF even if there is no VEP annotation and minor fix on VEP installation
  • Loading branch information
sarahhunt authored Jul 24, 2018
2 parents 6895f64 + 6ed7e8f commit e2669dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion INSTALL.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1694,7 +1694,7 @@ sub download_to_file {
if($CAN_USE_CURL) {
my $response = `curl -s -o $file -w '%{http_code}' --location "$url" `;
if ( $response != 200) {
if ( $response != 200 && $response != 226) {
print "curl failed ($response), trying to fetch using LWP::Simple\n" unless $QUIET;
$CAN_USE_CURL = 0;
download_to_file($url, $file);
Expand Down
2 changes: 2 additions & 0 deletions filter_vep
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ sub main {
map {parse_line($_, \@headers, '\|', $main_data)}
@chunks;
}
# Rare case where no CSQ stuff found
push @data, $main_data if (!@data);

$filter_set->limit_synonym_search(1);
}
Expand Down
2 changes: 1 addition & 1 deletion modules/Bio/EnsEMBL/VEP/Constants.pm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ use warnings;
use base qw(Exporter);

our $VEP_VERSION = 93;
our $VEP_SUB_VERSION = 0;
our $VEP_SUB_VERSION = 1;

our @EXPORT_OK = qw(
@FLAG_FIELDS
Expand Down

0 comments on commit e2669dc

Please sign in to comment.