Skip to content

Commit 21fecc0

Browse files
authored
Merge pull request #107 from BioInf-Wuerzburg/hotfix/ccseq-phred-offset
ccseq: assume phred-offset 33 for read if guessing fails. Thanks to David Mathog
2 parents 4c17c5e + da6cf11 commit 21fecc0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

bin/ccseq

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ $L->info("Reading STDIN") unless $opt{reads};
198198
my $rpr = Fastq::Parser->new($opt{reads} ? (file => $opt{reads}) : ())->check_format;
199199
if ($rpr) {
200200
my $po = $rpr->guess_phred_offset();
201+
if(!defined($po)){
202+
$po=33;
203+
$L->info("Couldn't guess phred offset, but assuming 33 for PacBio");
204+
}
201205
$L->logdie("Expected phred offset 33") if $po && $po != 33;
202206
$rpr->phred_offset($po); # should be 33 for PacBio
203207
} else {

bin/proovread

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ use Time::HiRes qw(usleep);
4141
use Data::Dumper;
4242
$Data::Dumper::Sortkeys = 1;
4343

44-
use version 0.77; our $VERSION = qv("2.14.0");
44+
use version 0.77; our $VERSION = qv("2.14.1");
4545

4646
my $RealLib = "$RealBin/../lib/";
4747
my $RealPerl = "perl -I${RealLib} $RealBin";

0 commit comments

Comments
 (0)