Skip to content

Commit

Permalink
Merge branch 'release/3.9.0'
Browse files Browse the repository at this point in the history
- Masking of pindel calls where ref == alt implemented to remove invalid calls from pindel output
  - Core pindel fix required to resolve the underlying problem
  • Loading branch information
Thomas Clarke committed Mar 16, 2022
2 parents cd82cce + 70c95c5 commit 22e2ef2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGES

## 3.9.0
- Masking of pindel calls where ref == alt implemented to remove invalid calls from pindel output
- Core pindel fix required to resolve the underlying problem

## 3.8.0

- Adds `-noflag` option to `pindel.pl` for use cases where flagging needs to be executed separately or not at all.
Expand Down
5 changes: 5 additions & 0 deletions perl/bin/pindel_2_combined_vcf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@ sub _process_fh{
my ($active_sam_fh, $sample, $strand);
while(my $record = $record_generator->next_record){

if($record->ref_seq eq $record->alt_seq) {
warn "SKIP: Dirty record due to issue in pindel core";
next;
}

next if($opts->{'s'} && ($record->p_mt_pos + $record->p_mt_neg) < 3);

$record->id($id_gen->next);
Expand Down
2 changes: 1 addition & 1 deletion perl/lib/Sanger/CGP/Pindel.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use strict;
use Const::Fast qw(const);

use base 'Exporter';
our $VERSION = '3.8.0';
our $VERSION = '3.9.0';
our @EXPORT = qw($VERSION);

1;

0 comments on commit 22e2ef2

Please sign in to comment.