Skip to content

Commit

Permalink
Merge branch 'hotfix/1.8.8'
Browse files Browse the repository at this point in the history
Reviewed in #33
  • Loading branch information
keiranmraine committed Jun 5, 2019
2 parents 71396da + f7f6908 commit d1057d7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions bin/cgpFlagCaVEMan.pl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/perl

##########LICENCE##########
# Copyright (c) 2014-2018 Genome Research Ltd.
# Copyright (c) 2014-2019 Genome Research Ltd.
#
# Author: CASM/Cancer IT <cgphelp@sanger.ac.uk>
#
Expand Down Expand Up @@ -572,8 +572,8 @@ sub runFlagger{
my $sampleHitCount = 0;
my $totalSampleCnt = 0;
foreach my $sampData(@samples){
next if($sampData eq ".");
$totalSampleCnt++;
next if($sampData eq q{0:.:.:.:.} || $sampData eq q{-} || $sampData eq q{.});
#GT:GF:CF:TF:AF 0|0:41:0:0:0
my ($gentype,@data) = split(':',$sampData);
my $totalCvg = 0;
Expand Down
4 changes: 2 additions & 2 deletions bin/convertVCFUnmatchedToBed.pl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/perl

############## LICENSE ##############
# Copyright (c) 2014-2018 Genome Research Ltd.
# Copyright (c) 2014-2019 Genome Research Ltd.
#
# Author: CASM/Cancer IT <cgphelp@sanger.ac.uk>
#
Expand Down Expand Up @@ -106,7 +106,7 @@

for my $i(9..$max_col) {
$sample_count++;
next if($x[$i] =~m/^[.\-]$/);
next if($x[$i] eq '0:.:.:.:.' || $x[$i] =~m/^[.\-]$/);
my @gts = split /:/, $x[$i];
for my $j(1..$max_allele) {
next if($base_list[$j-1] eq $refb);
Expand Down
2 changes: 1 addition & 1 deletion lib/Sanger/CGP/CavemanPostProcessing.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use Attribute::Abstract;
use Data::Dumper;
use base 'Exporter';

our $VERSION = '1.8.7';
our $VERSION = '1.8.8';
our @EXPORT = qw($VERSION);

const my $MATCH_CIG => 'M';
Expand Down
4 changes: 2 additions & 2 deletions lib/Sanger/CGP/CavemanPostProcessing/Flagger.pm
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,8 @@ sub getVCFUnmatchedFlag{
my $sampleHitCount = 0;
my $totalSampleCnt = 0;
foreach my $sampData(@samples){
next if($sampData eq ".");
$totalSampleCnt++;
next if($sampData eq q{0:.:.:.:.} || $sampData eq q{-} || $sampData eq q{.});
#GT:GF:CF:TF:AF 0|0:41:0:0:0
my ($gentype,@data) = split(':',$sampData);
my $totalCvg = 0;
Expand Down Expand Up @@ -769,4 +769,4 @@ sub sameReadPosFlag{
return 0;
}

1;
1;
2 changes: 1 addition & 1 deletion lib/Sanger/CGP/CavemanPostProcessor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use Attribute::Abstract;
use Data::Dumper;
use base 'Exporter';

our $VERSION = '1.8.7';
our $VERSION = '1.8.8';
our @EXPORT = qw($VERSION);

const my $MATCH_CIG => 'M';
Expand Down

0 comments on commit d1057d7

Please sign in to comment.