Skip to content

Commit

Permalink
Prevent bug from impacting NP
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Feb 21, 2022
1 parent 37cac9d commit 66430ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions perl/bin/pindel_np_from_vcf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ sub parse_vcf {
my ($total, $kept, $new) = (0,0, 0);
while(my $d = $vcf->next_data_hash) {
$total++;
next if($d->{'REF'} eq $d->{'ALT'});
my $gtypes = $d->{'gtypes'}->{$samp_id};

next if(($gtypes->{'PP'} + $gtypes->{'NP'}) < $PINDEL_RAW_MIN);
Expand Down

0 comments on commit 66430ae

Please sign in to comment.