文章

Perl:FastQ与FastA格式的相互转换

今天再介绍一个Perl的脚本,实现FastQ与FastA格式的相互转换。这个脚本还支持把SCARF格式转化为standard/Sanger FASTQ格式。

FASTQ根据来源的不同,可分为多种。如standard/Sanger FASTQ,Solexa/Illumina FASTQ,FASTQ-like forma等

关于FastQ的格式,详细请看:Fastq格式的详细说明

关于FastA格式,详细请看:Fasta格式的详细说明

而至于SCARF格式,因为我没接触过。所以具体也不是太清楚。 阅读更多

Fastq格式的详细说明

看清楚,这里所说的是Fastq格式,不是Fasta格式,要了解Fasta格式,请看Fasta格式的详细说明。Fastq格式也是序列格式中常见的一种。下面简单介绍一下FASTQ格式,

A FASTQ file normally uses four lines per sequence. Line 1 begins with a ‘@’ character and is followed by a sequence identifier and an optional description (like a FASTA title line). Line 2 is the raw sequence letters. Line 3 begins with a ‘+’ character and is optionally followed by the same sequence identifier (and any description) again. Line 4 encodes the quality values for the sequence in Line 2, and must contain the same number of symbols as letters in the sequence. 阅读更多