Skip to content

Commit

Permalink
Merge pull request #107 from cancerit/feature/masking
Browse files Browse the repository at this point in the history
applied masking to pindel output
  • Loading branch information
ThomasSClarke authored Mar 15, 2022
2 parents e574359 + 489c887 commit fed94f7
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 fed94f7

Please sign in to comment.