diff --git a/bin/ccseq b/bin/ccseq index 642c33e..67d158b 100755 --- a/bin/ccseq +++ b/bin/ccseq @@ -198,6 +198,10 @@ $L->info("Reading STDIN") unless $opt{reads}; my $rpr = Fastq::Parser->new($opt{reads} ? (file => $opt{reads}) : ())->check_format; if ($rpr) { my $po = $rpr->guess_phred_offset(); + if(!defined($po)){ + $po=33; + $L->info("Couldn't guess phred offset, but assuming 33 for PacBio"); + } $L->logdie("Expected phred offset 33") if $po && $po != 33; $rpr->phred_offset($po); # should be 33 for PacBio } else { diff --git a/bin/proovread b/bin/proovread index 94ddf1f..0e58f6c 100755 --- a/bin/proovread +++ b/bin/proovread @@ -41,7 +41,7 @@ use Time::HiRes qw(usleep); use Data::Dumper; $Data::Dumper::Sortkeys = 1; -use version 0.77; our $VERSION = qv("2.14.0"); +use version 0.77; our $VERSION = qv("2.14.1"); my $RealLib = "$RealBin/../lib/"; my $RealPerl = "perl -I${RealLib} $RealBin";