Does bowtie need to have reads in the standard sanger format or can it accept the default file created from the 1.4 illumina pipeline in which the quals are not standard sanger?
Cheers
L
Cheers
L
You are currently viewing the SEQanswers forums as a guest, which limits your access. Click here to register now, and join the discussion


man ascii
#!/usr/bin/env perl
################################################
# prints a table with phred, ASCII, phred+33, phred+64, p
################################################
use strict;
use warnings;
my @phreds = (0..62);
my $step = 2;
printf "%6s %6s %6s %6s %10s\n", 'phred', 'ASCII', 'Ill33', 'Ill64', 'p';
for (my $i = 0; $i < @phreds; $i+=$step ){
my $phred = $phreds[$i];
printf "%6d %6d %6s %6s %10f\n", $phred, $phred+64, chr($phred+33), chr($phred+64), phred2p($phred);
}
sub phred2p{
return 10 ** (-(shift) / 10.0 );
}
--phred64-quals input quals are Phred+64 (same as --solexa1.3-quals)
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 06-05-2026, 10:09 AM
|
0 responses
18 views
0 reactions
|
Last Post
by SEQadmin2
06-05-2026, 10:09 AM
|
||
|
Started by SEQadmin2, 06-04-2026, 08:59 AM
|
0 responses
34 views
0 reactions
|
Last Post
by SEQadmin2
06-04-2026, 08:59 AM
|
||
|
Started by SEQadmin2, 06-02-2026, 12:03 PM
|
0 responses
37 views
0 reactions
|
Last Post
by SEQadmin2
06-02-2026, 12:03 PM
|
||
|
Started by SEQadmin2, 06-02-2026, 11:40 AM
|
0 responses
24 views
0 reactions
|
Last Post
by SEQadmin2
06-02-2026, 11:40 AM
|
Comment