Skip to content

Commit

Permalink
Merge branch 'hotfix/v5.3.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Apr 3, 2017
2 parents 6d41c98 + 8005859 commit 61857a7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion perl/bin/combineResults.pl
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ sub mergeBedpe {
push @new, scalar (split /,/, $new[-1]); # 27 # assembled read count
push @new, @bits[26..44]; # 28-46
}
clean_record(\@new);
print $FINAL join("\t", @new),"\n";
$svclass_bkpt_dist{$id} = { 'svclass' => $new[11],
'bkptdist' =>$new[12],};
Expand All @@ -254,6 +255,13 @@ sub mergeBedpe {
return \%svclass_bkpt_dist;
}

sub clean_record {
my $rec = shift;
for(0..@{$rec}-1) {
$rec->[$_] = '_' unless(defined $rec->[$_]);
}
}

sub svclass_bedpd {
my ($chrL, $chrH, $strL, $strH) = @_;
return 'translocation' if($chrL ne $chrH);
Expand All @@ -267,4 +275,3 @@ sub svdist_bedpd {
return -1 if($chrL ne $chrH);
return abs $startH - $endL;
}

Binary file modified perl/docs.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion perl/lib/Bio/Brass.pm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ our @EXPORT = qw(find_breakpoints find_dusty_vertices
is_dusty get_isolated_bp_alignment get_isolated_bp_surrounding_region
$VERSION);

our $VERSION = '5.3.2';
our $VERSION = '5.3.3';

=head1 NAME
Expand Down

0 comments on commit 61857a7

Please sign in to comment.