Skip to content

Commit

Permalink
applied masking to pindel output
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Clarke committed Mar 10, 2022
1 parent e574359 commit 489c887
Showing 1 changed file with 5 additions and 0 deletions.
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

0 comments on commit 489c887

Please sign in to comment.