![]() |
OpenMS
|
Calculates masses, mass-to-charge ratios and sum formulas of RNA sequences.
Given an RNA (oligonucleotide) sequence and a charge state, the charged mass (including H+ adducts or losses), mass-to-charge ratio and molecular sum formula are computed. The sequence can include modifications (for information on valid notation see the NASequence class documentation). Neutral masses can be computed by using "0" as charge state.
Input can be given directly as values of the parameters: in_seq
for RNA sequences and charge
for charge states. Alternatively, it can be read from a file (see parameter in
) with the following format: An RNA sequence at the beginning of each line, optionally followed by any number of charge states. Whitespace, commas or semicolons can de used to delimit the different items. Parts of the input that cannot be understood will be skipped. If charge states are given in the input file as well as via the charge
parameter, results are returned for the union of both sets of charge states.
Output can be written to a file or to the screen (see parameter out
). Results for different charge states are always ordered from lowest to highest charge. A number of different output formats are available via the parameter format:
list
writes a human-readable list of the form "ACGU: z=-2 m=1221.1951 m/z=610.5976 f=C38H46N15O26P3, z=-1 m=1222.2030 m/z=1222.2030 f=C38H47N15O26P3";table
produces a CSV-like table (using parameter separator
to delimit fields) with the columns "sequence", "charge", "mass", "mass-to-charge" and "formula", and with one row per sequence and charge state;mass_only
writes only mass values (one line per sequence, values for different charge states separated by spaces);mz_only
writes only mass-to-charge ratios (one line per sequence, values for different charge states separated by spaces);formula_only
writes only sum formulas.The command line parameters of this tool are:
INI file documentation of this tool: