Does anybody have a tested program to convert Illumina CASAVA 1.8 qual scores (Phred+33) to the previous version Illumina 1.5+ (Phred+64)?
Unconfigured Ad
Collapse
X
-
Why do you need a Phred+64 offset and/or the command line?What about something that I can run in the command lene?
Most programs should work with Phred+33 (e.g. append '-Q 33' to the fastx command line).
Also, Biopython can read files as one format and write them as another:
Here's a quick python conversion script, derived from an example on that page:
The hashbang isn't strictly needed, and the import is obvious, but it seemed too small with just a single line of code.Code:#!/usr/bin/python from Bio import SeqIO SeqIO.convert("input.fastq", "fastq-sanger", "output.fastq", "fastq-illumina")
Comment
-
Because tophat doesn't seem to handle well Phred+33 (CASAVA 1.8), but works with Phred+64 (CASAVA 1.5+).Originally posted by gringer View PostWhy do you need a Phred+64 offset and/or the command line?
Thanks a lot!Originally posted by gringer View PostMost programs should work with Phred+33 (e.g. append '-Q 33' to the fastx command line).
Also, Biopython can read files as one format and write them as another:
Here's a quick python conversion script, derived from an example on that page:
The hashbang isn't strictly needed, and the import is obvious, but it seemed too small with just a single line of code.Code:#!/usr/bin/python from Bio import SeqIO SeqIO.convert("input.fastq", "fastq-sanger", "output.fastq", "fastq-illumina")
Comment
-
This is interesting and doesn't match my experience with tophat on recent Illumina runs. Do you have any "--solexa1.3-quals" options on your command line? Removing that should stop bowtie from using Phred+64, and go back to the default Phred+33.Originally posted by lpn View PostBecause tophat doesn't seem to handle well Phred+33 (CASAVA 1.8), but works with Phred+64 (CASAVA 1.5+).
There's also the Bowtie "--phred33-quals" option, which I guess you could add to tophat's bowtie call to force this:
Code:nano $(which tophat)
Comment
-
As gringer said if you DO NOT specify a qual flag it will work fine. You are not the only person with HiSeq data which finally encodes the quality values in the standard sanger format for which nearly all programs expect by by default. The flag, for most today, is just for processing legacy datasets.
Comment
-
That works, but subsequent analysis produces strange results.Originally posted by gringer View PostThis is interesting and doesn't match my experience with tophat on recent Illumina runs. Do you have any "--solexa1.3-quals" options on your command line? Removing that should stop bowtie from using Phred+64, and go back to the default Phred+33.
There's also the Bowtie "--phred33-quals" option, which I guess you could add to tophat's bowtie call to force this:
Code:nano $(which tophat)
Last edited by lpn; 03-03-2012, 07:53 AM.
Comment
-
What works? I suggested two options (not counting the python code). One was to remove --solexa1.3-quals from the tophat command line, and the other was to modify the bowtie parameters. I was deliberately vague about the second option because you need to know what you're doing before you do it (e.g. change the bowtie options everywhere bowtie is called, and change the tophat code that expects Phred+64 output).Originally posted by lpn View PostThat works, but subsequent analysis produces strange results.Last edited by gringer; 03-03-2012, 11:57 AM.
Comment
Latest Articles
Collapse
-
by SEQadmin2
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 11:14 AM
|
0 responses
10 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:14 AM
|
||
|
Started by SEQadmin2, 09-29-2026, 09:51 AM
|
0 responses
47 views
0 reactions
|
Last Post
by SEQadmin2
09-29-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 09-25-2026, 09:06 AM
|
0 responses
54 views
0 reactions
|
Last Post
by SEQadmin2
09-25-2026, 09:06 AM
|
||
|
Started by SEQadmin2, 09-23-2026, 11:05 AM
|
0 responses
44 views
0 reactions
|
Last Post
by SEQadmin2
09-23-2026, 11:05 AM
|
Comment