【1】蛋白質組學鑒定軟件之X!Tandem

1. 簡介

X!Tandem是GPM:The Global Proteome Machine(主要基于Web的開源用戶界面,用于分析和顯示蛋白質鑒定數據。關于GPM的更多內容可參考https://www.thegpm.org/GPM/faq.html)中的一個成員,此外還有X! P3 、X! Hunter等工具。顧名思義,X!表示X! series搜索引擎,Tandem表示串聯質譜,所以X!Tandem用于串聯質譜數據分析。

軟件優點:

  • 免費開源,win/linux/mac版本
  • 集群系統可采用Parallel TandemX!!Tandem并行處理
  • 運行速度還可以,c++寫的
  • 使用簡單:命令行調用XML文件,輸出格式(也是XML)適用于GPM其他工具
  • 統計可靠:除了譜圖匹配肽段序列,它還將數據中的所有肽段重新歸并到已知蛋白序列,并且給出統計證據(組裝和匹配是非隨機的)。
  • 不需要PeptideProphet 和 ProteinProphet等額外蛋白歸并和統計分析軟件。
    蛋白期望值計算公式:


    image.png

官網只提優點,沒說缺點。根據試用的情況,簡單提幾點:

  • 結果不友好:還需要后處理
  • 軟件更新慢:最新版ALANINE (2017.02.01)

2.下載安裝

下載地址:
ftp://ftp.thegpm.org/projects/tandem/source
這里只試用Linux版本,下載解壓

tar -xzf tandem-linux-17-02-01-4.zip

解壓后三個子文件夾:

  • src包含軟件源碼
  • bin包含軟件二進制文件和示例文件
  • fasta包含示例蛋白序列文件
image.png

3. 軟件試用

軟件運行很簡單:

/path/bin/tandem.exe  input.xml

input.xml配置文件中調用了default_input.xml和taxonomy.xml文件,然后就是物種名,輸入的譜圖文件(需要mgf格式)和輸出文件:

<?xml version="1.0"?>
<bioml>
    <note>
    Each one of the parameters for x! tandem is entered as a labeled note node.
    Any of the entries in the default_input.xml file can be over-ridden by
    adding a corresponding entry to this file. This file represents a minimum
    input file, with only entries for the default settings, the output file
    and the input spectra file name.
    See the taxonomy.xml file for a description of how FASTA sequence list
    files are linked to a taxon name.
    </note>
    <note type="input" label="list path, default parameters">default_input.xml</note>
    <note type="input" label="list path, taxonomy information">taxonomy.xml</note>
    <note type="input" label="protein, taxon">yeast</note>
    <note type="input" label="spectrum, path">test_spectra.mgf</note>
    <note type="input" label="output, path">output.xml</note>
</bioml>

示例中taxonomy.xml文件有多個物種的序列。而實際項目中我們往往針對一個物種,因此下載fasta文件配置一個即可:

<?xml version="1.0"?>
<bioml label="x! taxon-to-file matching list">
    <taxon label="yeast">
        <file format="peptide" URL="../fasta/scd.fasta.pro" />
        <file format="peptide" URL="../fasta/scd_1.fasta.pro" />
        <file format="peptide" URL="../fasta/crap.fasta.pro" />
    </taxon>
</bioml>

串聯質譜的參數設置主要在default_input.xml中,可配置的參數很多,具體解釋可參考https://www.thegpm.org/TANDEM/api/index.html。大部分使用默認即可,我們需要設置往往只有少數幾個,比如一二級誤差及其單位,可變修飾和固定修飾(注意修飾格式的寫法與其他軟件不同,更多的修飾可查看https://www.unimod.org/login.php?message=expired),漏切數等等。

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="tandem-input-style.xsl"?>
<bioml>
<note>list path parameters</note>
    <note type="input" label="list path, default parameters">default_input.xml</note>
        <note>This value is ignored when it is present in the default parameter
        list path.</note>
    <note type="input" label="list path, taxonomy information">taxonomy.xml</note>

<note>spectrum parameters</note>
    <note type="input" label="spectrum, fragment monoisotopic mass error">0.4</note>
    <note type="input" label="spectrum, parent monoisotopic mass error plus">100</note>
    <note type="input" label="spectrum, parent monoisotopic mass error minus">100</note>
    <note type="input" label="spectrum, parent monoisotopic mass isotope error">yes</note>
    <note type="input" label="spectrum, fragment monoisotopic mass error units">Daltons</note>
    <note>The value for this parameter may be 'Daltons' or 'ppm': all other values are ignored</note>
    <note type="input" label="spectrum, parent monoisotopic mass error units">ppm</note>
        <note>The value for this parameter may be 'Daltons' or 'ppm': all other values are ignored</note>
    <note type="input" label="spectrum, fragment mass type">monoisotopic</note>
        <note>values are monoisotopic|average </note>

<note>spectrum conditioning parameters</note>
    <note type="input" label="spectrum, dynamic range">100.0</note>
        <note>The peaks read in are normalized so that the most intense peak
        is set to the dynamic range value. All peaks with values of less that
        1, using this normalization, are not used. This normalization has the
        overall effect of setting a threshold value for peak intensities.</note>
    <note type="input" label="spectrum, total peaks">50</note>
        <note>If this value is 0, it is ignored. If it is greater than zero (lets say 50),
        then the number of peaks in the spectrum with be limited to the 50 most intense
        peaks in the spectrum. X! tandem does not do any peak finding: it only
        limits the peaks used by this parameter, and the dynamic range parameter.</note>
    <note type="input" label="spectrum, maximum parent charge">4</note>
    <note type="input" label="spectrum, use noise suppression">yes</note>
    <note type="input" label="spectrum, minimum parent m+h">500.0</note>
    <note type="input" label="spectrum, minimum fragment mz">150.0</note>
    <note type="input" label="spectrum, minimum peaks">15</note>
    <note type="input" label="spectrum, threads">1</note>
    <note type="input" label="spectrum, sequence batch size">1000</note>

<note>residue modification parameters</note>
    <note type="input" label="residue, modification mass">57.022@C</note>
        <note>The format of this parameter is m@X, where m is the modfication
        mass in Daltons and X is the appropriate residue to modify. Lists of
        modifications are separated by commas. For example, to modify M and C
        with the addition of 16.0 Daltons, the parameter line would be
        +16.0@M,+16.0@C
        Positive and negative values are allowed.
        </note>
    <note type="input" label="residue, potential modification mass"></note>
        <note>The format of this parameter is the same as the format
        for residue, modification mass (see above).</note>
    <note type="input" label="residue, potential modification motif"></note>
        <note>The format of this parameter is similar to residue, modification mass,
        with the addition of a modified PROSITE notation sequence motif specification.
        For example, a value of 80@[ST!]PX[KR] indicates a modification
        of either S or T when followed by P, and residue and the a K or an R.
        A value of 204@N!{P}[ST]{P} indicates a modification of N by 204, if it
        is NOT followed by a P, then either an S or a T, NOT followed by a P.
        Positive and negative values are allowed.
        </note>

<note>protein parameters</note>
    <note type="input" label="protein, taxon">other mammals</note>
        <note>This value is interpreted using the information in taxonomy.xml.</note>
    <note type="input" label="protein, cleavage site">[RK]|{P}</note>
        <note>this setting corresponds to the enzyme trypsin. The first characters
        in brackets represent residues N-terminal to the bond - the '|' pipe -
        and the second set of characters represent residues C-terminal to the
        bond. The characters must be in square brackets (denoting that only
        these residues are allowed for a cleavage) or french brackets (denoting
        that these residues cannot be in that position). Use UPPERCASE characters.
        To denote cleavage at any residue, use [X]|[X] and reset the
        scoring, maximum missed cleavage site parameter (see below) to something like 50.
        </note>
    <note type="input" label="protein, modified residue mass file"></note>
    <note type="input" label="protein, cleavage C-terminal mass change">+17.002735</note>
    <note type="input" label="protein, cleavage N-terminal mass change">+1.007825</note>
    <note type="input" label="protein, N-terminal residue modification mass">0.0</note>
    <note type="input" label="protein, C-terminal residue modification mass">0.0</note>
    <note type="input" label="protein, homolog management">no</note>
        <note>if yes, an upper limit is set on the number of homologues kept for a particular spectrum</note>

<note>model refinement parameters</note>
    <note type="input" label="refine">yes</note>
    <note type="input" label="refine, modification mass"></note>
    <note type="input" label="refine, sequence path"></note>
    <note type="input" label="refine, tic percent">20</note>
    <note type="input" label="refine, spectrum synthesis">yes</note>
    <note type="input" label="refine, maximum valid expectation value">0.1</note>
    <note type="input" label="refine, potential N-terminus modifications"></note>
    <note type="input" label="refine, potential C-terminus modifications"></note>
    <note type="input" label="refine, unanticipated cleavage">yes</note>
    <note type="input" label="refine, potential modification mass"></note>
    <note type="input" label="refine, point mutations">no</note>
    <note type="input" label="refine, use potential modifications for full refinement">no</note>
    <note type="input" label="refine, point mutations">no</note>
    <note type="input" label="refine, potential modification motif"></note>
    <note>The format of this parameter is similar to residue, modification mass,
        with the addition of a modified PROSITE notation sequence motif specification.
        For example, a value of 80@[ST!]PX[KR] indicates a modification
        of either S or T when followed by P, and residue and the a K or an R.
        A value of 204@N!{P}[ST]{P} indicates a modification of N by 204, if it
        is NOT followed by a P, then either an S or a T, NOT followed by a P.
        Positive and negative values are allowed.
        </note>

<note>scoring parameters</note>
    <note type="input" label="scoring, minimum ion count">4</note>
    <note type="input" label="scoring, maximum missed cleavage sites">1</note>
    <note type="input" label="scoring, x ions">no</note>
    <note type="input" label="scoring, y ions">yes</note>
    <note type="input" label="scoring, z ions">no</note>
    <note type="input" label="scoring, a ions">no</note>
    <note type="input" label="scoring, b ions">yes</note>
    <note type="input" label="scoring, c ions">no</note>
    <note type="input" label="scoring, cyclic permutation">no</note>
        <note>if yes, cyclic peptide sequence permutation is used to pad the scoring histograms</note>
    <note type="input" label="scoring, include reverse">no</note>
        <note>if yes, then reversed sequences are searched at the same time as forward sequences</note>
    <note type="input" label="scoring, cyclic permutation">no</note>
    <note type="input" label="scoring, include reverse">no</note>

<note>output parameters</note>
    <note type="input" label="output, log path"></note>
    <note type="input" label="output, message">testing 1 2 3</note>
    <note type="input" label="output, one sequence copy">no</note>
    <note type="input" label="output, sequence path"></note>
   <note type="input" label="output, path">output.xml</note>
    <note type="input" label="output, sort results by">protein</note>
        <note>values = protein|spectrum (spectrum is the default)</note>
    <note type="input" label="output, path hashing">yes</note>
        <note>values = yes|no</note>
    <note type="input" label="output, xsl path">tandem-style.xsl</note>
    <note type="input" label="output, parameters">yes</note>
        <note>values = yes|no</note>
    <note type="input" label="output, performance">yes</note>
        <note>values = yes|no</note>
    <note type="input" label="output, spectra">yes</note>
        <note>values = yes|no</note>
    <note type="input" label="output, histograms">yes</note>
        <note>values = yes|no</note>
    <note type="input" label="output, proteins">yes</note>
        <note>values = yes|no</note>
    <note type="input" label="output, sequences">yes</note>
        <note>values = yes|no</note>
    <note type="input" label="output, one sequence copy">no</note>
        <note>values = yes|no, set to yes to produce only one copy of each protein sequence in the output xml</note>
    <note type="input" label="output, results">valid</note>
        <note>values = all|valid|stochastic</note>
    <note type="input" label="output, maximum valid expectation value">0.1</note>
        <note>value is used in the valid|stochastic setting of output, results</note>
    <note type="input" label="output, histogram column width">30</note>
        <note>values any integer greater than 0. Setting this to '1' makes cutting and pasting histograms
        into spread sheet programs easier.</note>
<note type="description">ADDITIONAL EXPLANATIONS</note>
    <note type="description">Each one of the parameters for X! tandem is entered as a labeled note
            node. In the current version of X!, keep those note nodes
            on a single line.
    </note>
    <note type="description">The presence of the type 'input' is necessary if a note is to be considered
            an input parameter.
    </note>
    <note type="description">Any of the parameters that are paths to files may require alteration for a
            particular installation. Full path names usually cause the least trouble,
            but there is no reason not to use relative path names, if that is the
            most convenient.
    </note>
    <note type="description">Any parameter values set in the 'list path, default parameters' file are
            reset by entries in the normal input file, if they are present. Otherwise,
            the default set is used.
    </note>
    <note type="description">The 'list path, taxonomy information' file must exist.
        </note>
    <note type="description">The directory containing the 'output, path' file must exist: it will not be created.
        </note>
    <note type="description">The 'output, xsl path' is optional: it is only of use if a good XSLT style sheet exists.
        </note>

</bioml>

4. 結果

軟件得到的結果也是xml文件,文件名會自動加上運行的日期,如output.2020_07_03_15_56_03.t.xml。對格式需要有一定了解才能從中有效的提取信息,關于輸出的文件格式解釋,參考這份文檔:https://www.thegpm.org/docs/X_series_output_form.pdf

這里從我跑過的一個項目中截取一小部分結果來做說明:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="tandem-style.xsl"?>
<bioml xmlns:GAML="http://www.bioml.com/gaml/" label="models from '/path/test.mgf'">
<group id="373508" mh="1842.861248" z="3" rt="6989.4672" expect="8.7e-12" label="[denovogenes]_384740" type="model" sumI="7.12" maxI="1.08216e+06" fI="10821.6" act="0" >
<protein expect="-196.9" id="373508.1" uid="2902844" label="[denovogenes]_384740" sumI="9.09" >
<note label="description">[denovogenes]_384740</note>
<file type="peptide" URL="/path/test.fa"/>
<peptide start="1" end="434">
    MSIITDVYAR EVLDSRGNPT LEVEVYTESG AFGRGMVPSG ASTGEHEAVE
    LRDGDKARYG GLGTQKAVDN VNNVIAEHII GFDVRDQQGI DRAMIALDGT
    PNKGKLGANA ILGVSIAVAR AAADYLEVPL YSYLGGFNTK VLPTPMMNII
    NGGSHSDAPI AFQEFMIVPA GAPTFKEALR WGAEIFHALK KILKERGLET
    AVGDEGGFAP RFDGTEDGVE TIIKAIEAAG YVPGKDVFIG FDCASSEFYD
    AERKVYDYTK FEGEGAAVRT AAEQIDYLEE LVNKYPIITI EDGMDENDWD
    GWKALTERLG GKVQLVGDDF FVTNTAYLEK GIAEHAANSI LIKVNQIGTL
    TETFDAIEMA KEAGYTAVVS HRSGETEDST IADIAVATNA GQIKTGSLSR
    TDRIAKYIQL LRIEEQLGEV AEYRGLKSFY NLKK
<domain id="373508.1.1" start="35" end="52" expect="8.7e-12" mh="1842.8650" delta="-0.0038" hyperscore="83.7" nextscore="45.9" y_score="9.5" y_ions="23" b_score="10.1" b_ions="6" pre="AFGR" post="DGDK" seq="GMVPSGASTGEHEAVELR" missed_cleavages="0">
<aa type="M" at="36" modified="15.99492" />
</domain>
</peptide>
......

假設我只提取蛋白ID,delta,domain起始和終止,期望和序列等信息。xml格式在各種編程語言中都有解析包,自己寫腳本提取后可得到如下形式,再進行后續處理(如宏蛋白中優化數據庫,將鑒定的蛋白ID匹配回原始數據庫,從而達到優化數據庫的目的)。


image.png

5. FAQ

最常見的FAQ官網已經給出,基本上這些也夠了。
https://www.thegpm.org/TANDEM/tandem_install_faq.html
主要是理解三個輸入的配置文件input.xml,taxonomy.xml,default_input.xml以及知道它們干什么的。


蛋白質組學鑒定定量軟件總結:
【1】蛋白質組學鑒定軟件之X!Tandem
【2】蛋白質組學鑒定軟件之Comet
【3】蛋白質組學鑒定軟件之Mascot
【4】蛋白質組學鑒定軟件之MSGFPlus
【5】蛋白質組學鑒定定量軟件之PD
【6】蛋白質組學鑒定定量軟件之MaxQuant

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市,隨后出現的幾起案子,更是在濱河造成了極大的恐慌,老刑警劉巖,帶你破解...
    沈念sama閱讀 228,461評論 6 532
  • 序言:濱河連續發生了三起死亡事件,死亡現場離奇詭異,居然都是意外死亡,警方通過查閱死者的電腦和手機,發現死者居然都...
    沈念sama閱讀 98,538評論 3 417
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人,你說我怎么就攤上這事。” “怎么了?”我有些...
    開封第一講書人閱讀 176,423評論 0 375
  • 文/不壞的土叔 我叫張陵,是天一觀的道長。 經常有香客問我,道長,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 62,991評論 1 312
  • 正文 為了忘掉前任,我火速辦了婚禮,結果婚禮上,老公的妹妹穿的比我還像新娘。我一直安慰自己,他們只是感情好,可當我...
    茶點故事閱讀 71,761評論 6 410
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發上,一...
    開封第一講書人閱讀 55,207評論 1 324
  • 那天,我揣著相機與錄音,去河邊找鬼。 笑死,一個胖子當著我的面吹牛,可吹牛的內容都是我干的。 我是一名探鬼主播,決...
    沈念sama閱讀 43,268評論 3 441
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了?” 一聲冷哼從身側響起,我...
    開封第一講書人閱讀 42,419評論 0 288
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后,有當地人在樹林里發現了一具尸體,經...
    沈念sama閱讀 48,959評論 1 335
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內容為張勛視角 年9月15日...
    茶點故事閱讀 40,782評論 3 354
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發現自己被綠了。 大學時的朋友給我發了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 42,983評論 1 369
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖,靈堂內的尸體忽然破棺而出,到底是詐尸還是另有隱情,我是刑警寧澤,帶...
    沈念sama閱讀 38,528評論 5 359
  • 正文 年R本政府宣布,位于F島的核電站,受9級特大地震影響,放射性物質發生泄漏。R本人自食惡果不足惜,卻給世界環境...
    茶點故事閱讀 44,222評論 3 347
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧,春花似錦、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 34,653評論 0 26
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至,卻和暖如春,著一層夾襖步出監牢的瞬間,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 35,901評論 1 286
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人。 一個月前我還...
    沈念sama閱讀 51,678評論 3 392
  • 正文 我出身青樓,卻偏偏與公主長得像,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 47,978評論 2 374