Skip to content

Commit

Permalink
Merge branch 'hotfix/4.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Mar 15, 2018
2 parents 917e1b7 + e558006 commit 14613da
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

## 4.2.1

Fix for input type of CRAM.

## 4.2.0

* Add threadpool to `bam_stats` and `diff_bams`. Fixes #18, Fixes #19
Expand Down
2 changes: 1 addition & 1 deletion lib/PCAP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use FindBin qw($Bin);
use File::Which qw(which);
# don't use autodie, only core perl in here

our $VERSION = '4.2.0';
our $VERSION = '4.2.1';
our @EXPORT = qw($VERSION _which);

const my $LICENSE =>
Expand Down
4 changes: 2 additions & 2 deletions lib/PCAP/Bwa.pm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use PCAP::Bam;

const my $BWA_ALN => q{ aln%s -t %s -f %s_%s.sai %s %s.%s};
const my $BAMFASTQ => q{%s view -F 2816 -T %s -u %s| %s exclude=QCFAIL,SECONDARY,SUPPLEMENTARY tryoq=1 gz=1 level=1 outputperreadgroup=1 outputperreadgroupsuffixF=_i.fq outputperreadgroupsuffixF2=_i.fq T=%s outputdir=%s split=%s};
const my $CRAMFASTQ => q{%s reference=%s inputformat=cram exclude=QCFAIL,SECONDARY,SUPPLEMENTARY tryoq=1 gz=1 level=1 outputperreadgroup=1 outputperreadgroupsuffixF=_i.fq outputperreadgroupsuffixF2=_i.fq T=%s outputdir=%s split=%s filename=%};
const my $CRAMFASTQ => q{%s reference=%s inputformat=cram exclude=QCFAIL,SECONDARY,SUPPLEMENTARY tryoq=1 gz=1 level=1 outputperreadgroup=1 outputperreadgroupsuffixF=_i.fq outputperreadgroupsuffixF2=_i.fq T=%s outputdir=%s split=%s filename=%s};
const my $BWA_MEM => q{ mem %s %s -R %s -t %s %s};
const my $ALN_TO_SORTED => q{ sampe -P -a 1000 -r '%s' %s %s_1.sai %s_2.sai %s.%s %s.%s | %s fixmate=1 inputformat=sam level=1 tmpfile=%s_tmp O=%s_sorted.bam};
const my $BAMSORT => q{ fixmate=1 inputformat=sam level=1 tmpfile=%s_tmp O=%s_sorted.bam outputthreads=%s calmdnm=1 calmdnmrecompindetonly=1 calmdnmreference=%s};
Expand Down Expand Up @@ -206,7 +206,7 @@ sub split_in {
my $cmd;
if($input->bam_or_cram eq 'cram') {
$cmd = sprintf $CRAMFASTQ, $bam2fq,
$options->{'reference'},,
$options->{'reference'},
File::Spec->catfile($tmp, "bamtofastq.$index"),
$split_folder,
$fragment_size * $MILLION * $BAM_MULT,
Expand Down

0 comments on commit 14613da

Please sign in to comment.