![]() | Fragment Formula Calculator | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HomeMotivation: The accurate determination of mass isotopomer
Downloads
DocumentationFFC DocumentationAndre Wegner, Daniel Weindl, Sean Sapcariu, Gregory Stephanopoulos, Karsten Hiller July 2013 This document provides a basic overview of the FFC program. It contains both a user manual for the program as well as a step- by-step tutorial using sample data available on the website. Contents
1 IntroductionElectron impact ionization mass spectrometry measurements lead to complex mass spectra, caused by the partial fragmentation of the analyzed compound. For the calculation of mass isotopomer distributions (MIDs) from stable isotope labeling experiments, the chemical formula of the specific fragment ion must be known. However, the process of assigning a structural formula to a fragment ion from a known molecular ion structure is difficult. FFC is a Qt4 based software package that implements an novel algorithm for the calculation of chemical formulas for fragment ions where the structure of the molecular ion is known. This algorithm is speci cally designed for MS data with nominal masses (such as from quadrapole instruments), and is based on combinatorics, thus requiring no a priori knowledge of fragmentation mechanisms. The combinatorial approach also allows this algorithm to be universally applied for the calculation of chemical formulas, providing a distinct advantage over rule-based approaches. FFC is freely available under an open-source license, and can be used on both Windows and Linux operating systems. 2 User manual2.1 InstallationThe FFC package can be downloaded from http://ffc.bioinfo.nat.tu-bs.de for Linux (deb or rpm) and Windows (32 and 64 bit versions are available) 2.1.1 LinuxOpen a terminal and change to the directory containing the downloaded file. Then type the following in the command line: rpm -i filename for rpm based systems sudo dpkg-i filename.deb for Debian based systems where filename is the name of the deb or rpm file (e.g ffc-1.0-Linux.deb). 2.1.2 WindowsStart the windows installer and follow the instructions. ![]() Figure 1: FFC Main Window
2.2 Graphical user interface (GUI)The graphical user interface (Figure 1) is organized in one main window containing three subwindows. 2.2.1 Spectrum windowThis window (in the upper part of the main interface) displays the loaded spectrum. The x-axis is m/z values, and the y-axis is the intensity. By clicking a dragging the mouse, you can zoom in on specific parts of the spectrum. To zoom out, right click on the window. 2.2.2 Compound Info WindowThis window (in the bottom left of the main interface) contains the compound of interest for fragment calculation. In the 'Compound Info' tab, you can search for a compound by either name or formula, as long as a library has been chosen in the settings. If a spectrum has been loaded (either by searching a database or by importing), here the user can choose the compound fragment to calculate the formula for. After calculation of the formula, the 'Result' tab contains the calculated formulas for the compound of interest at the corresponding sized fragment. NOTE: If a mol file and a spectrum have been imported by the user, there is no need to fill in the fields here. The formula for a desired fragment can calculated anyways. 2.2.3 Result Visualization WindowThis window (in the bottom right of the main interface) displays the chemical structure of the compound of interest. 2.3 SettingsThe settings can be reached by either clicking on the icon Library - Sets the active library for use with the program. Max Cut Size - Sets the maximum cut size the algorithm will use to calculate possible formulas for fragment ions. 2.4 File Import2.4.1 Import Spectrum NOTE: A spectrum and a MOL file must be imported in order to calculate the fragment formulas. 2.4.2 Import Library to SQL DatabaseTo convert a library into an SQL database for use with FFC, first click either the Any sdf library with the following defined format can be converted to an SQL database: The first section follows the exact definition of a mol file. After the mol file entry, the following fields are required: ><NAME> - Name of the compound ><SYNONYMS> - Synonyms for the compound, separated by a '#' sign ><FORMULA> - Molecular formula of the compound ><MW> - Molecular weight of the compound ><CASNO> - CAS number of the compound ><ID> - A unique identificaion number for the database ><CONTRIBUTOR> - The source of the entry ><NUM PEAKS> - The number of peaks in the spectrum ><MASS SPECTRAL PEAKS> - A list of peaks in the spectrum in two fields: m/z and intensity, tab-separated $$$$ - This ends the entry for the compound An example entry for a compound in an sdf file is given on the website. NOTE: Once the conversion is finished, the library needs to be set as the active library in the 'Settings' window before it can be queried!
2.5 Calculating Fragment Formulas2.5.1 Library SearchOnce a library has been loaded, a compound can be found from the library by its name or molecular formula. Enter either of these into the corresponding fields, make sure the correct radio button is selected, then press 2.5.2 Selecting Backbone AtomsFor derivatized compounds, to select the atoms belonging to the backbone of the original compound, click the icon in the main window toolbar 2.5.3 Selecting Fragment to CalculateOnce the compound has been selected, the list of fragments for which it is possible to calculate the formula will be automatically generated. Choose the desired fragment in the pull down list 'Calculate Formula for Fragment', and press the 'Start Calculation' (or select it from the 'File' menu; Shortcut CTRL+R). 'Calculation Finished' will appear at the bottom information bar when the algorithm has finished calculating the formulas. 2.6 Results TableOnce the formula calculation is finished, the 'Compound Info' window will automatically switch to the 'Results' tab to show the results. A list of all calculated fragment formulas is shown, with the following information: Formula: The molecular formula of the calculated fragments Score: The score of the match between the predicted mass spectrum versus the measured mass spectrum (the spectrum similarity score) Backbone Atoms: Atoms from the compound backbone existing in this candidate formula Average Error: The percent mean difference between the measured and the predicted molecular ion ratios (Mn=M0) Max Error: The percent maximum difference between the measured and the predicted molecular ion ratios (Mn=M0) Cut Size: The number of cuts required to create the calculated fragment Even Electron Ion Loss: Whether or not the fragment is an even electron ion. If this is "No", the fragment is a radical When a calculated formula is clicked, the visualization window changes to show a pseudostructure of the fragment ion. Dashed lines represent calculated bonds broken, and boxes appear around the atoms that are lost in the fragment.
2.6.1 Exporting Result Table
![]() 3 Step-by-step TutorialIn this tutorial we will import a mol file and a spectrum le for TBDMS-derivatized glycine (N,O-bis-(trimethylsilyl)-glycine), using FFC to calculate the proper fragment for m/z 246 in the mass spectrum. To get started, download the dataset (ffc_sample_data.zip) from the FFC Website, unpack it, start FFC and follow the steps below. 3.1 Start Program, Load mol File and Spectrum FileFFC can be started by selecting All applications -> Education -> Science -> FFC (KDE) or by typing ffc-app on the command line. On Windows select FFC from the Start menu. You will see the main window of FFC when the program starts. To import the spectrum, click the
![]() To import the mol file, click the 3.2 Choose Backbone AtomsThe backbone atoms of the original compound must be selected before calculating fragment formulas, so that the algorithm can differentiate between which atoms come from the compound of interest and which atoms come from the derivatization. Click on
Figure 5: Selection of backbone atoms from the original glycine compound.
3.3 Calculate Fragment FormulasAfter the backbone atoms are selected, the formula for each fragment can be calculated. To select which fragment to calculate the formula for, go to the 'Compound Info' window, and select fragment 246 from the drop-down list. Next, click on ![]() The correct formula for this fragment is C10H24O2NSi2, and this result also is present in the table. It has the highest score, lowest number of broken bonds, and lowest error value. The structure of the fragment can be seen in figure 7. The single cut results in four carbons from the TBDMS being lost, while the entire backbone of the glycine remains intact. ![]()
3.4 Choosing Different Backbone AtomsIt is interesting to note that the result is maintained for different backbone atoms chosen. If the main concern is the carbon backbone (without the nitrogen), then the list of results is different than when only the nitrogen backbone is chosen (Figure 8). However, in both of the resulting lists, the correct fragment formula is still the best choice (due to the score, cut size, and error). (a)
![]() (b)
![]() Figure 8: Results table from calculation with different backbone atoms. (a) Only carbon atoms of the glycine molecule are chosen as the backbone. (b) Only the nitrogen atom of the glycine molecule is chosen as the backbone. 3.5 Data ExportTo export the results, click on the PublicationsHiller, K.; Metallo, C. M.; Kelleher, J. K. & Stephanopoulos, G. Nontargeted elucidation of metabolic pathways using stable-isotope tracers and mass spectrometry. Anal Chem, 2010, 82, 6621-6628. [ Pubmed ] Hiller, K.; Hangebrauk, J.; Jäger, C.; Spura, J.; Schreiber, K. & Schomburg, D. MetaboliteDetector: comprehensive analysis tool for targeted and nontargeted GC/MS based metabolome analysis. Anal Chem, 2009, 81, 3429-3439 [ Pubmed ] Hiller, K.; Wegner, A.; Weindl, D.; Cordes, T.; Metallo, C.M.; Kelleher, J.K.; Stephanopoulos, G. NTFD--a stand-alone application for the non-targeted detection of stable isotope-labeled compounds in GC/MS data. Bioinformatics, 2013, 29(9), 1226-8 [ Pubmed ] Wegner, A.; Sapcariu, SC; Weindl, D.; Hiller, K. Isotope Cluster-based compound matching in gas chromatography/ mass spectrometry for non-targeted metabolomics. Anal Chem, 2013, 85, 4030-7 [ Pubmed ] topScreenshots![]() ![]() top WeblinksRelated software
Labs topContactAndre WEGNER a.wegner(a)tu-bs.de Institue for Bioinformatics and Biochemistry |