Skip to content

Commit

Permalink
Merge branch 'hotfix/5.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
sb43 committed Mar 7, 2018
2 parents 8c35060 + 09eef83 commit ff051e5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

## v5.3.2 #######
* Fixed bug which caused incorrent assignment of mutant reads overlapping deletion regions to Unknon category - if there is any mismatch in 3prime region from deletionstart site

## v5.2.2 #######
* Heade line for SAMPLE is now generated from command line
* Fixed bug for missing header data when running with bedonly option
Expand Down
Binary file modified perl/docs.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion perl/lib/Sanger/CGP/Vaf.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Sanger::CGP::Vaf;
use strict;
use Const::Fast qw(const);

our $VERSION = '5.2.2';
our $VERSION = '5.3.2';

const my $LICENSE =>
"#################
Expand Down
7 changes: 1 addition & 6 deletions perl/lib/Sanger/CGP/Vaf/Process/Variant.pm
Original file line number Diff line number Diff line change
Expand Up @@ -811,13 +811,9 @@ sub _do_exonerate {
my $actual_pos=$mismatch_pos+$t_start;

if($strand eq '-') { $actual_pos = ($match_len - $mismatch_pos) + $t_start +1; }
#print " Actual pos: $actual_pos: Aln offset: $aln_offset: Found mismatch at :$result: $mismatch_pos\n";
#print "$target: $match_score: $actual_pos: ($g_pu->{'ref_pos_5p'} :$g_pu->{'alt_pos_3p'}) BEFORE $org_read \n";
if( ($g_pu->{'ref_pos_5p'} <= $actual_pos) && (($g_pu->{'alt_pos_3p'} >= $actual_pos) || ($g_pu->{'ref_pos_3p'} >= $actual_pos)) ) {
if($target eq 'alt') {
if($target eq 'alt' and $g_pu->{'ins_flag'}) {
$read_count_unk->{$read}++;
#print "$g_pu->{'ref_pos_5p'} <= $actual_pos) && (($g_pu->{'alt_pos_3p'} >= $actual_pos) || ($g_pu->{'ref_pos_3p'} >= $actual_pos \n
#$target: $match_score: $actual_pos ($g_pu->{'ref_pos_5p'} :$g_pu->{'alt_pos_3p'}): AFTER $org_read \n";
next LINE;
}
}
Expand Down Expand Up @@ -852,7 +848,6 @@ sub _do_exonerate {
}
}

#print Dumper('ALT:',$read_track_alt,'REF:',$read_track_ref,'ALT_P:',$alt_count_p,'ALT_N:',$alt_count_n,'REF_P:',$ref_count_p,'REF_N:',$ref_count_n,'UNK:',$read_count_unk);
$g_pu=$self->_cleanup_read_ambiguities($g_pu,$read_track_alt,$read_track_ref, $alt_count_p,$alt_count_n,$ref_count_p,$ref_count_n,$read_count_unk);

return $g_pu;
Expand Down

0 comments on commit ff051e5

Please sign in to comment.