Skip to content

Commit

Permalink
Merge branch 'release/v2.1.2'
Browse files Browse the repository at this point in the history
Update to remove depandancy on custom algorithm specific VCF INFO tags to parse indel data, uses basic VCF spec fields instead.
  • Loading branch information
AndyMenzies committed Aug 21, 2015
2 parents 62a6a6b + aa16e4a commit a93df3b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MYMETA.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@
}
},
"release_status" : "stable",
"version" : "v2.1.1"
"version" : "v2.1.2"
}
2 changes: 1 addition & 1 deletion MYMETA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ requires:
Sort::Key: 1.33
TAP::Harness: 3.33
Try::Tiny: 0.22
version: v2.1.1
version: v2.1.2
4 changes: 2 additions & 2 deletions bin/AnnotateVcf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ sub parse_vcf_record {
# a straight deletion
if($ref_len > 1 && $alt_len == 1) {
my $min = $pos + 1; # as vcf records base before for non-insert
my $max = $min + ($vcf->get_info_field($record->[$INFO_COL], 'LEN') - 1);
my $max = $min + ($ref_len - 2); # ref_len contains both the start base and the extra anchor base, have to deduct 2
$var = Sanger::CGP::Vagrent::Data::Deletion->new(
'species' => $opts->{'species'},
'genomeVersion' => $opts->{'assembly'},
Expand Down Expand Up @@ -321,7 +321,7 @@ sub parse_vcf_record {
# complex indel
elsif($ref_len > 1 && $alt_len > 1) {
my $min = $pos + 1; # as vcf records base before for non-insert
my $max = $min + ($vcf->get_info_field($record->[$INFO_COL], 'LEN') - 1);
my $max = $min + ($ref_len - 2); # ref_len contains both the start base and the extra anchor base, have to deduct 2
$var = Sanger::CGP::Vagrent::Data::ComplexIndel->new(
'species' => $opts->{'species'},
'genomeVersion' => $opts->{'assembly'},
Expand Down
Binary file modified docs.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/Sanger/CGP/Vagrent.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use strict;
use Const::Fast qw(const);

use base 'Exporter';
our $VERSION = '2.1.1';
our $VERSION = '2.1.2';
our @EXPORT = qw($VERSION);

1;

0 comments on commit a93df3b

Please sign in to comment.