Since 10 years now, our group is developing multiple routine applications for any kind of mass spectrometry calculations. In this page you will find basic applications such as our molecular mass calculator to generate monoisotopic mass of any molecular formula or our molecular formula calculator to find possible molecular formula based on your experimental value. You can also generate all possible fragments and combine them in our fragmentation tool. Finally, you could use our modification tool for proteins, based on the Unimod database, for your proteomics research
app-6
Generate theoretical isotopic distributions for any molecule and different ionization adducts.
Details
app-11
Generate possible molecular formula for your experimental peak. Look at the possible corresponding compounds directly in Pubchem.
Details
app-4
Generate possible molecular formula for your experimental peak and select elements based on their specific isotopic distribution.
Details
app-5
Search protein modifications by monoisotopic mass, amino acid or name. This tool uses the UNIMOD database.
Details
app-3
Draw/import a structure, cut it and generate a list of fragments that can all be combined.
Details
app-index-app2
Find out another open access applications for DNA/RNA data interpretation
Details

Application tips

for our Mass Spectrometry calculators

Tool 1

Introduction

This view allows you to simulate a high-resolution mass spectrum from a molecular formula. It can also be used to get the HR mass spectrum of a peptide or nucleic acid sequence.

HR mass

It is possible to predict the mass spectrum of a molecule by either drawing it on the left panel, entering the molecular formula, or entering a peptide or nucleic acid sequence in the corresponding area. Another possibility is to copy and paste a part of a pdb file that contains a sequence, this part will be automatically parsed and the sequence will be extracted.

The spectrum is then predicted according to the settings given in the upper panel. In the settings, it is possible to modify :

  • FWHM : the full width at half maximum of the peaks can be adjusted.
  • Gaussian : enable or not a Gaussian peak shape.
  • Max nb peaks : specify the maximum number of peaks.
  • Ionizations : specify a single or multiple ionizations.
  • Annotation : show the annotations on the experimental spectrum or the theoretical spectrum.

The spectrum can be predicted by clicking on the Predict mass spectrum button. It is also possible to save all data.

In the case where the FWHM is set to zero, and the peaks are non-Gaussian, if the annotation is on theoretical spectrum, the system will show the isotope that correspond to each peak. The system will show the list of theoretical isotopologues in the following table.

Then, the spectrum can be visualized in the central panel.

Experimental spectrum

You can drag and drop experimental spectrum on the top right panel. If you click on one experimental spectrum, it will be loaded and displayed. On the spectrum, if you press ALT and click on a peak, this peak will be added on the table on the right. Once you added one peak, you can assign it to any text.

On the right table, you will see the list of isotopologues. The table displays for each isotopologue its mass, m/z, label and relative abundance.

Tool 2

OctoChemDB: MF / structure from mass spectra

This very generic tool tries to identify molecular formulas and possibly chemical structures from mass spectra. It can deal with completely unknown products, for which the elements that compose the molecule are unknown, to products for which the range of molecular formulas is known.

In the case of unknown products, the tool will rely on OctoChemDB, a database created specifically to retrieve information on compounds from the monoisotopic mass.

What is OctoChemDB ?

OctoChemDB combines 10 databases available for free on the internet and indexes them based on the chemical structure (without stereochemistry). It is then indexed based on the molecular formula and monoisotopic mass. From the monoisotopic mass it can then retrieve all related information like available experimental spectra, taxonomy, biological activity, PubMed articles and patents.

The following 10 databases are combined on a regular basis.

A public API is available on: https://octochemdb.cheminfo.org/documentation/ and the GitHub repository is available here.

You can check here the status of the aggregation database.

Homepage

This tool is used to determine the molecular formula based on the monoisotopic mass.

Importing spectra (Drag and Drop)

Experimental spectra can be imported into OctoChemDB using the drag-and-drop area located at the top of the Homepage. The drop zone is labeled “Drop or Paste a TXT file” and accepts plain text (.txt) files containing mass spectrometry data.

drag_drop

Spectra can be provided either by dragging a file into the drop zone or by pasting the content of a text file directly from the clipboard. Both MS1 and MS2 spectra are supported, and the data can be provided either as profile spectra or as centroided (picked peak) data. Once imported, the spectra are displayed in the List of spectra panel and can be selected for subsequent analysis.

List of spectra

On the middle top panel, you can see the list of the imported experimental spectra. Each spectrum has a description if the data are available. You can see the type of resolution (either high or low resolution), the instrument used, the ionisation method and the analyser. It is also possible to download the data file and see the meta data associated.

list_spectra

Preferences

Entering a monoisotopic mass

When loading an experimental spectrum the tool will automatically make a peak picking (centroid) that will be displayed on the spectrum.

Zooming in the spectrum will progressively add more and more detailed peaks.

If you are searching the molecular formula of an unknown product you should click on the label corresponding to the monoisotopic experimental mass.

Peak picking

Many monoisotopic masses at once

It is possible to search for many monoisotopic masses at once. Simply SHIFT + click on other labels in order to have a comma separated list of monoisotopic mass.

Molecular formula from monoisotopic mass

This tool allows finding possible molecular formula for a specific observed monoisotopic mass. When the elements are part of H, C, O, N, F, Cl, Br, I, Si, P and O the monoisotopic mass corresponds to the peak of the isotopic distribution that has the lowest mass.

However, by mass we don’t observe a monoisotopic mass directly but always m/z of a charged form. The molecule may be charged positively, negatively, multicharged or also modified by the addition of protons or other charged entities.

This tool will consider the mass of the electron and the number of charge of the molecule.

Ionizations

In order to observe a neutral molecule the mass spectrometer will charge it using different techniques. This may involve adding protons, remove electrons, etc.

You can also observe charged molecules resulting of the addition of Na+, K+, etc.

In order to evaluate all the possibilities you must enter in the ‘ionizations’ field a comma separated list of all the allowed ionizations.

Syntax

You may as well specify multiple charges. Here are some examples of allowed patterns:

  • H+ (addition of a proton)
  • H+, Na+, K+ (either a proton, sodium cation or potassium cation)
  • H+, (H+)2, (H+)3 (addition of one, two or three protons)
  • (H+)-1, (H+)-2, (H+)-3 (removal of one, two or three protons)

ionization

Range of ionization

It is also allowed to enter range of ionizations like

  • (H+)1-5, adding between one and five protons
  • (H+)-1–5, removing between one and five protons :::

Accuracy and charge

You can specify the accuracy in ppm and the charge of the target molecule using the corresponding input box.

accuracy_charge

Range of atoms and groups

If some information about the molecule is known, you can specify it in the Range input. The allowed syntax is given below.

Range of atoms and groups
Possible syntax for range specification of atoms and groups.

Filter by degree of unsaturation

The result can be further filtered by the degree of unsaturation.

For stable molecules the unsaturation degree is expected to be greater or equal to zero. Moreover, if it is non-radical molecule the unsaturation degree is integer.

unsaturation

Please note that those filters apply on the molecular formula without the ionization.

Advanced filtering

Based on a variable entry that has the following structure:

{
  "em": 588.19603227909,
  "unsaturation": 1.5,
  "mf": "C14H34N7O18",
  "charge": 0,
  "ionization": {
    "mf": "(H+)2",
    "em": 2.01565006446,
    "charge": 2
  },
  "atoms": {
    "C": 14,
    "H": 34,
    "N": 7,
    "O": 18
  },
  "groups": {},
  "ms": {
    "ionization": "(H+)2",
    "em": 295.1052925918659,
    "charge": 2,
    "delta": 0.02253940813409372,
    "ppm": 76.37751236561516
  }
}

You need to return true or false. You are allowed to use all the javascript programming language.

Examples:

if (entry.atoms.C < entry.atoms.N) return true;

:::

Nitrogens must be even
return entry.atoms.N % 2 === 0;
Small observed mass should be double charged
if (entry.ms.em > 300 && entry.charge === 1) return true;
if (entry.ms.em < 300 && entry.charge === 2) return true;

Relative mass and MF determination

This view displays normally the mass of the peaks, but it is also possible to display relative mass to a specific peak.

  1. Click on a peak to change the Monoisotopic mass value
  2. Click on the checkbox Relative mass on the top right

preferences

It is also possible to display possible molecular formulas for the relative mass. These are calculated using the following criteria:

  • allowed atoms are based on the Ranges
  • only neutral losses are considered
  • the charge of the entity losing this neutral fragment is defined in Charge, by default 1
  • you should change the number in the cell Show MF in order to annotate the peaks with the corresponding MF

It is also possible to define the color of the MF annotation depending on the precision. By default, if no MF is found under a precision of 20ppm no MF is displayed.

colors

mass

Results table

This tool calculates on-the-fly the possible molecular formula based on a monoisotopic mass and possible ionizations.

The resulting table will contain green background lines if this molecular formula exists in PubChem. This is an excellent way to find plausible molecular formula of unknown products.

results

The results contain various columns:

  • the NON-IONIZED molecular formula
  • the monoisotopic mass of the NON-IONIZED molecule
  • the unsaturation degree
  • the ionization
  • the observed mass
  • the total charge (with ionization)
  • the error in mDa
  • the absolute value of the error in ppm

On the right of the results table you have the possibility to show the registered Pubchem molecules by clicking on the  icon. There is also a way to find more about the Pubchem candidates by clicking on the search icon , this button will redirect you to the Pubchem panel.

Moreover, it is possible to search molecular formula that are included in the original molecular formula. To do this, click on the  icon. Depending on what was defined in the preferences for peak label panel, this tool will show the possible molecular formula for each peak. You can choose the range of atoms in the molecular formula that you want in the preferences panel.

Pubchem candidates

Using the Pubchem candidates button you can list all possible molecular formulas that yield the desired monoisotopic mass with the defined precision. The right column will redirect you to the corresponding PubChem web page.

pubchem_list

A few points to note:

  • PubChem does not provide the isotope information in the molecular formula
  • PubChem does not provide the different parts of the molecule in the molecular formula
  • PubChem is not consistent with the monoisotopic mass they list on their website

Therefore we have recalculated the molecular formula, monoisotopic mass, charge and molecular weight from the provided molfile. This allows us to have very accurate monoisotopic mass that also deals with isotopes.

Please note that for the calculation of the monoisotopic mass we did not consider the charge.

NB: only stable isotopes are considered!

Tips

Assignment
It is possible to assign the different fragments.
Similarity
In order to improve the MF determination it is possible to compare the full isotopic distribution.

Info

The simulated spectrum is calculated using a regression of the width of the peaks as a function of the mass. regression

PubChem

This tool allows you to find a molecular formula, even if the range of atoms that compose the molecule is unknown. A few assumptions are made: the charge of the non ionized molecule is null, there are at least 5 molecules that have the same MF and the molecule does not break apart.

When the spectrum is loaded, you can click on a peak and the system will show a list of the possible molecular formula for a given ionization and accuracy. On the table you can see in green the molecular formula that are registered in the PubChem database. If you click on a formula, you can see at the right the list of isomers. In the draw panel, you can make a substructure search or a name search within the list.

pubchem_search

In the table you can also see the number of natural product (Nat) and bioactive (Bio) molecules with the same molecular formula. If you click on the bio icon, you can see a table with the publication in PubMed related to the natural or bioactive product. Moreover, using MeSH terms, you can filter the results in the search bar at the top.

Search Results

The results of the search are displayed in a table. The table includes the structure of the compounds as well as tags such as the number of taxonomies, activities, patents, mass spectra… It also shows if the compounds is a natural product or not.

images/search_results.png

Compound Page

On the Detail information panel, you can find more information about the compound. On the top of the panel, there are the tags associated with the number of mass spectra, number of patents… Below, there is the structure of the compound without stereochemistry, the number on the right indicates the number of stereoisomers found in the database. By clicking on it, you will find all the structures as well as where it comes from.

Pubmed (Medline): In this section, you will find all the publications associated with the compound. By clicking on the title of the publication, you will be redirected to the Pubmed page. The number on the right of each title indicates the number of times that this compound has been described in the publication. A green color indicates that the publication can be interesting. This allows the user to quickly find the most relevant publications. The three dots next to the number allow the user to see the abstract of the publication. The abstract includes the mesh terms.

Activities: Activities show additional details on the activities of the compound. It includes SuperkingdomKingdomPhylumClassOrderFamilyGenusSpecies.

Taxonomies details: Taxonomies section shows the taxonomy tree of the compound. The depth of the tree can be controlled in the search panel, described above.

Patents: Similar to the Pubmed section, this section shows the patents associated with the compound. By clicking on the title of the patent, you will be redirected to the associated page. Again, the number on the right indicates the number of times that this compound has been described in the patent. The three dots next to the number allow the user to see the abstract of the patent.

Obviously, all sections can be expanded and collapsed by clicking on the arrow on the right.

The other icon internet appears when there are experimental spectra from the GNPS database. If you click on this icon, you will be able to compare your spectrum with spectra of molecules that have the same molecular formula from real experiments. You can change experimental spectra using the arrows in you keyboard.

experimental

In the table on the top you can see the list of available spectra. For each spectrum, there is information about the ion source, the instrument used, the precursor, the ionization, and the mode; the export icon redirects you to the original web page where the spectrum comes from. You can also see the similarity between your spectrum and the ones from the GNPS database. Your spectrum as well as the selected experimental spectra are plotted in a head to tail plot.

In the left text entry boxes, you can select the number of peaks that you want to see as well as the accuracy that you allow when comparing with the experimental spectrum from the database. The mass power and intensity power are a way to make either the mass or the intensity more important when comparing with the experimental spectrum. The higher the power, the more important the information (intensity or mass) becomes. The similarity between two spectra is calculated based on the cosine similarity.

On the bottom left panel, you can select any experimental spectrum that was imported.

Similarity

For a low resolution spectrometer, this tool will calculate the similarity of each peak using the similarity parameters. For each proposition of the molecular formula, you can see on the right the graph with the theoretical and the experimental value. Here we can see in red the predicted value and in blue the experimental.

graph_similarity

You can also specify a molecular formula and simulate it as following:

simulated

Fragments

This view is used to determine potential peaks due to the fragmentation of the molecule. The filter will be looking for subpart of the main molecule.

On the left panel, you can select the type of ionization as well as the accuracy (in ppm) between the experimental mass and the theoretical mass.

preferences

If you click on a peak, the system will show you on the middle table the potential molecular formula, depending on the accuracy that you provided. For instance, in the case of ethyl benzene with an accuracy of 50 ppm, it will show 3 molecular formula corresponding to the monoisotopic mass.

You can search within the table using the white cell on the top of each column. It is possible to filter by charge, unsaturation, exact mass…

table filters

Once you clicked on a possible molecular formula, the system will be looking for monoisotopic masses of subpart of the main molecule and show them on the right table. In this example, the system found 5 possible fragments and show the charge, the MF, the ionization as well as the difference in ppm with the experimental peak.

fragments

All peaks

This module will analyze all the peaks and calculate the error with respect to the predicted spectrum of each molecular formula.

Experimentally, it is not impossible that the sample is oxidized, a methyl group is added … This tool will allow you to select peaks and search molecules that have the same fragments in a database.

In the preference panel, you can customize the search by specifying the number of peaks and the desired accuracy in ppm. Additionally, in the modification text entry, you can make changes to the molecular formula such as adding O, which will prompt the system to consider the possibility of an additional oxygen in the molecule. In the resulting table, you can see the structure of the relevant molecules, the type of modification that was considered, the similarity with respect to the experimental spectrum as well as the link to the GNPS database.

Tool 3

Advanced molecular formula calculator

This tool allows to find possible molecular formula based on a molecular formula range like the tool 2. As in tool 2, any atom can be specified from the “Atom range selector” table. The main difference is that this atom range selector assists in the selection of the elements, the following information are displayed for each element.  This is especially useful for complicated unknown isotopic distributions. Sarch in our glossary the atom range selector definitions. For further explanations, check the Molecular formula from monoisotopic mass calculator (tool 2) in this page. Consult as tutorial the halogen example (click on Load).

Tool 4

Protein modification calculator

This tool allows a quick search in the UNIMOD database. This application permits to combine three easy types of searches:

  • Search my monoisotopic mass (with the specified precision in ppm)
  • Search by amino acids that can be modified
  • Search by the modification name by typing directly the name in the window of the list of matching entries.

Mass fragmentation

Simulation of mass fragmentation

Analysis of mass fragments of small molecules obtained for example by electronic impact may be cumbersome.

To facilitate the process, this tool allows you to draw a molecule and select the breakable bonds. The system will then generate all the possible fragments and recombine them.

Select the ionization method

In order to observe a mass spectrum the molecule has to be charged and this ionization has an impact on the mass. You may enter a list of ionizations that was applied to the molecule in the following box:

ionizations

For instance for electronic impact you would enter a simple ‘+’. Meaning that we have removed an electron to charge the molecule.

Draw / edit the molecule

You may either draw a molecule directly in the editor or paste a molfile coming from another software. For instance if you have a molecule in ChemDraw™ you may select the molecule and ‘Edit -> Copy as … -> MOL Text’. Then you may put the mouse over the drawing applet and press ‘CTRL + V’ (on windows) or ⌘ + V’ on mac.

jsme-help

JSME editor
If you would like to draw efficiently the molecules directly in the editor click on the little question mark and try to learn all the shortcuts.

Define the cleavable bonds

In the drawing applet you should select the blue bullet icon and click on the bonds that are breakable.

break

The fragments with their corresponding mass will be calculated on the fly as well all the possible recombinations of those fragments. This may be useful to determine unknown side products of a reaction.

Analyze the results

A virtual spectrum with all possibilities is generated, and hovering over an annotation on a peak will highlight the parts of the molecule required to reach that mass.

analyze

If you have a XY text file or JCAMP-DX containing an experimental spectrum you may directly drag and drop or paste on the drop zone.

You may also have mass spectra saved in the database and one click on the name will superimpose the spectrum to the predicted one.

Assign fragments

The list of possible recomposed molecules also contains the intensity if there is an experimental spectrum.

fragment and intensitities

For this list clicking to the ‘+’ on a line will add this fragment in the list of peaks.

The same result can be achieved by pressing ALT + click on an annotation in the spectrum.

annotations

The list of assigned peaks can then be saved in the database by clicking on Save data.

list of fragments

null
Do you want to share your results in this page?
The ISIC-EPFL MS team will be delighted to share your updates in ms.epfl.ch! If you want to describe your project using any of our free tools and share your results, you can publish a post describing the project & results and/or once published we could include in our mstoolbox references page. You can also share any of your learning materials contact us. In any case, If you want to be updated, follow us in twitter or linkedln.