2014/3/14
按一下以編輯母片文字樣式
第二層
第三層
第四層
第五層
‹#›
Sequencers use their own output formats, and even multiple different formats per technology.
Output formats from Roche 454 sequencers:
.sff is 454’s binary(=compressed) format, including the raw data. Not the very raw images, but flow values (flowgram), base calls, base-call qualities, read trimming and quality.
There are many simple tools that “unzip” .sff into some readable textual format (see the black example).
.fna is a FASTA (or FASTA-like) format including the base-called reads.
.qual includes qualities corresponding to bases in .fna.
Illumina is over-creative with their own formats.
.seq.txt: base-called sequences
.prb.txt: qualities for each nucleotide/each cycle (is some kind of semi-raw data?)
Illumina FASTQ is not real FASTQ, but looks similarly (to cause confusion). The quality score is an own Illumina score, computed by subtracting 64 from the ASCII code of the character. For example the ‘h’ in the example is ord(‘h’) – 64 = 104 – 64 = 40.
See http://www.asciitable.com/ for ASCII codes (Dec is the ‘ord’ in decimal numbers).
The Illumina score can be transformed to Phred score. Given a character ch, the following expression should give the Phred quality q (please double-check:)  q = 10 * log(1 + 10 ^ (ord(ch) - 64) / 10.0)) / log(10)
Qseq: Not looking like FASTQ, but the scores are proper Phred scores. Their encoding is however still ASCII – 64.
Illumina “single line format” and SCARF: base-called sequences and quality scores in a bit more handy format.