That is the point in part of my question Peter. I known that is a conversor for old data. I found however interesting the script not for my current data but under the idea have at hand (just in case if need it) a conversor for several previous illumina formats.
Then this script was done for the early solexa (ASCII characters with range 59–126 and off-set 64) isn´t? But if several amends are done to change the parameters the script should also valid for converting 1.3+ and 1.5+ (again if needed) as SANGER has not changed. That was the remainder of my question.
Ah, thank you for the reference (I read it) older but quite instructive.
Unconfigured Ad
Collapse
X
-
If you can read Perl it is fairly clear, I'm quoting from this copy http://maq.sourceforge.net/fq_all2std.pl
This bit does the FASTQ conversion:
And further up here is the definition of the conversation table:Code:sub sol2std { my $max = 0; while (<>) { if (/^@/) { print; $_ = <>; print; $_ = <>; $_ = <>; my @t = split('', $_); my $qual = ''; $qual .= $conv_table[ord($_)] for (@t); print "+\n$qual\n"; } } }
All those logs are implementing the Solexa score to PHRED score conversion (see our NAR paper for the formula and citations, or the wikipedia page). That means this script converts the really old Solexa FASTQ encoding (which can have negative scores) into the Sanger PHRED encoding (which does not have negative scores).Code:# Solexa->Sanger quality conversion table my @conv_table; for (-64..64) { $conv_table[$_+64] = chr(int(33 + 10*log(1+10**($_/10.0))/log(10)+.499)); }
Unless you are dealing with really really old data, you shouldn't be using this conversion.
Leave a comment:
-
Hi Peter,
Yes I saw the wikipedia site you note and some other information (no the NAR paper thank for the reference, I´ll read it with pleasure) and I think i am clear about the differences although in the first question (that you answered me) was asked as sometimes is good to have confirmation about thinks you are clear but not sure at all. My two other doubts are more properly about the script fq_all2std and if about i am right about if it is oriented to illumina 1.3+ (when talking about conversion illumina to sanger there are other functions) and if the few amends in the code I suggest are enough to have these illumina to sanger functions adapted to 1.5+. Based on what i read I think so but again it is good if someone can confirm should i am right or wrong. Perhaps these two questions are more targeted to the original developer of this script I took from Maq. I am not sure but I think is Nilshommer.
CArlos
Leave a comment:
-
Yes, that part is correct.Originally posted by cllorens View PostI think that as illumina 1.8+ encoding scheme encodes that Phred-score by adding 33 to the score there is no need of conversion as this is sanger too
Can anyone tell me if I am correct??
Have you read http://dx.doi.org/10.1093/nar/gkp1137 and http://en.wikipedia.org/wiki/FASTQ_format yet?
Leave a comment:
-
May I a question about fastqs and the script fq_all2std?
Hi Guys
I testing distinct conversors from solexa fastq to standard sanger but have a couple of naive questions to do om which i am unclear
I think that as illumina 1.8+ encoding scheme encodes that Phred-score by adding 33 to the score there is no need of conversion as this is sanger too
Can anyone tell me if I am correct??
As for illumina 1.5+ and 1.8+
I donwloaded the fq_all2std script from maq and because in the source file the parameter in for loop aare -64 to 64 and the remaining parameters wherever for the conversion is again 64 i think this file is for illumina 1.3+
Am i right here??
Additonally if want to this script to convert from illumina 1.5+ to sanger is it enough to just change 64 wherever noted for 66?? Is that right? I mean is it just as simple as it seems or i am missing something in this last step?
thank you in advanceTags: None
Latest Articles
Collapse
-
by SEQadmin2
When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...-
Channel: Articles
11-24-2026, 07:04 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 12-02-2026, 11:10 AM
|
0 responses
16 views
0 reactions
|
Last Post
by SEQadmin2
12-02-2026, 11:10 AM
|
||
|
Single-Nucleus Sequencing Links Type 2 Diabetes Risk Variants to Specific Muscle Cell Types
by SEQadmin2
Started by SEQadmin2, 12-01-2026, 11:06 AM
|
0 responses
24 views
0 reactions
|
Last Post
by SEQadmin2
12-01-2026, 11:06 AM
|
||
|
Started by SEQadmin2, 11-23-2026, 11:11 AM
|
0 responses
62 views
0 reactions
|
Last Post
by SEQadmin2
11-23-2026, 11:11 AM
|
||
|
Started by SEQadmin2, 11-17-2026, 06:27 AM
|
0 responses
60 views
0 reactions
|
Last Post
by SEQadmin2
11-17-2026, 06:27 AM
|
Leave a comment: