Skip to content

Commit

Permalink
Merge branch 'hotfix/v3.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Feb 21, 2019
2 parents 9455fb8 + 6eacd04 commit 5077315
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGES

## 3.1.1

* Fix regression - ability to cope with chromosomes with no events.

## 3.1.0

* Incorporates updated pindel which improves sensitivity
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 @@ -26,7 +26,7 @@ use strict;
use Const::Fast qw(const);

use base 'Exporter';
our $VERSION = '3.1.0';
our $VERSION = '3.1.1';
our @EXPORT = qw($VERSION);

1;
4 changes: 2 additions & 2 deletions perl/lib/Sanger/CGP/Pindel/OutputGen/BamUtil.pm
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ sub sam_to_sorted_bam {
$command .= sprintf ' zcat %s | ', $sam_files->[0];
}
else {
my $first_file = shift @{$sam_files};
my $header_from = $sam_files->[0];
$command .= "cd $base_dir; ";
$command .= sprintf q{ (zcat %s ; zgrep -v '^@' %s) | }, $first_file, join q{ }, @{$sam_files};
$command .= sprintf q{ (samtools view -H %s ; zcat %s | grep -v '^@' ) | }, $header_from, join q{ }, @{$sam_files};
}

$command .= which('bamsort');
Expand Down

0 comments on commit 5077315

Please sign in to comment.