Fastq 格式介紹

FASTQ read from the NCBI SRA

There are four line types in the FASTQ format. First a ‘@’ title line which often holds just a record identifier. This is a free format field with no length limit—allowing arbitrary annotation or comments to be included, as in the example above where the NCBI have included an alternative ID and the sequence length. Some sequencing centers encode paired end read information here (alternatively two matched FASTQ files are often used).

Second comes the sequence line(s), which as in the FASTA format can be line wrapped. Also like FASTA format, there is no explicit limitation on the characters expected, but restriction to the IUPAC single letter codes for (ambiguous) DNA or RNA is wise, and upper case is conventional. In some contexts, the use of lower or mixed case or the inclusion of a gap character may make sense. White space such as tabs or spaces is not permitted.

Third, to signal the end of the sequence lines and the start of the quality string, comes the ‘+’ line. Originally this also included a full repeat of the title line text (as shown in the NCBI example above); however, by common usage and the MAQ tool convention, this is optional and the ‘+’ line can contain just this one character, reducing the file size significantly. The OBF tools follow this MAQ convention on output, and omit the optional repeated title text.

Finally, comes quality line(s) which again can be wrapped. As discussed above, these use a subset of the ASCII printable characters (at most ASCII 33–126 inclusive) with a simple offset mapping. Crucially, after concatenation (removing line breaks), the quality string must be equal in length to the sequence string.

參考文獻

The Sanger FASTQ file format for sequences with quality scores, and the Solexa/Illumina FASTQ variants.Nucleic Acids Research, Volume 38, Issue 6, April 2010, Pages 1767–1771,https://doi.org/10.1093/nar/gkp1137

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末药蜻,一起剝皮案震驚了整個濱河市恢暖,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌,老刑警劉巖,帶你破解...
    沈念sama閱讀 217,277評論 6 503
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異,居然都是意外死亡,警方通過查閱死者的電腦和手機酝掩,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,689評論 3 393
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來眷柔,“玉大人期虾,你說我怎么就攤上這事⊙敝觯” “怎么了镶苞?”我有些...
    開封第一講書人閱讀 163,624評論 0 353
  • 文/不壞的土叔 我叫張陵,是天一觀的道長鞠评。 經(jīng)常有香客問我茂蚓,道長,這世上最難降的妖魔是什么剃幌? 我笑而不...
    開封第一講書人閱讀 58,356評論 1 293
  • 正文 為了忘掉前任聋涨,我火速辦了婚禮,結(jié)果婚禮上负乡,老公的妹妹穿的比我還像新娘牍白。我一直安慰自己,他們只是感情好抖棘,可當(dāng)我...
    茶點故事閱讀 67,402評論 6 392
  • 文/花漫 我一把揭開白布茂腥。 她就那樣靜靜地躺著狸涌,像睡著了一般。 火紅的嫁衣襯著肌膚如雪最岗。 梳的紋絲不亂的頭發(fā)上帕胆,一...
    開封第一講書人閱讀 51,292評論 1 301
  • 那天,我揣著相機與錄音般渡,去河邊找鬼惶楼。 笑死,一個胖子當(dāng)著我的面吹牛诊杆,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播何陆,決...
    沈念sama閱讀 40,135評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼晨汹,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了贷盲?” 一聲冷哼從身側(cè)響起淘这,我...
    開封第一講書人閱讀 38,992評論 0 275
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎巩剖,沒想到半個月后铝穷,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,429評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡佳魔,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,636評論 3 334
  • 正文 我和宋清朗相戀三年曙聂,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片鞠鲜。...
    茶點故事閱讀 39,785評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡宁脊,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出贤姆,到底是詐尸還是另有隱情榆苞,我是刑警寧澤,帶...
    沈念sama閱讀 35,492評論 5 345
  • 正文 年R本政府宣布霞捡,位于F島的核電站坐漏,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏碧信。R本人自食惡果不足惜赊琳,卻給世界環(huán)境...
    茶點故事閱讀 41,092評論 3 328
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望音婶。 院中可真熱鬧慨畸,春花似錦、人聲如沸衣式。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,723評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至弱卡,卻和暖如春乃正,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背婶博。 一陣腳步聲響...
    開封第一講書人閱讀 32,858評論 1 269
  • 我被黑心中介騙來泰國打工瓮具, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人凡人。 一個月前我還...
    沈念sama閱讀 47,891評論 2 370
  • 正文 我出身青樓名党,卻偏偏與公主長得像,于是被迫代替她去往敵國和親挠轴。 傳聞我的和親對象是個殘疾皇子传睹,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,713評論 2 354

推薦閱讀更多精彩內(nèi)容

  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom閱讀 2,696評論 0 3
  • Introduction What is Bowtie 2? Bowtie 2 is an ultrafast a...
    wzz閱讀 5,656評論 0 5
  • pyspark.sql模塊 模塊上下文 Spark SQL和DataFrames的重要類: pyspark.sql...
    mpro閱讀 9,451評論 0 13
  • 哇_(′□`」 ∠)_我又能怎么辦呢?誰叫我喜歡你呢岸晦?自己找的女朋友欧啤,柏拉圖就只能柏拉圖啊_(′□`」 ∠)_
  • “三月里的小雨,淅瀝瀝瀝瀝瀝 淅瀝瀝下個不停启上⌒纤恚” “山谷里的小溪,嘩啦啦啦啦啦 嘩啦啦流個不停冈在〉够郏”...
    握緊的沙呀閱讀 423評論 2 5