![]() |
OpenMS
|
This application converts several OpenMS XML formats (featureXML, consensusXML, idXML, mzML), their Parquet bundles (featureparquet, consensusparquet, idparquet) and OpenSWATH Parquet chromatogram files (.xic) to text files.
| potential predecessor tools | → TextExporter → | potential successor tools |
|---|---|---|
| almost any TOPP tool | external tools (MS Excel, OpenOffice, Notepad) |
The goal of this tool is to create output in a table format that is easily readable in Excel or OpenOffice. Lines in the output correspond to rows in the table; the individual columns are delineated by a separator, e.g. tab (default, TSV format) or comma (CSV format).
Output files begin with comment lines, starting with the special character "#". The last such line(s) will be a header with column names, but this may be preceded by more general comments.
Because the OpenMS XML formats contain different kinds of data in a hierarchical structure, TextExporter produces somewhat unusual TSV/CSV files for many inputs: Different lines in the output may belong to different types of data, and the number of columns and the meanings of the individual fields depend on the type. In such cases, the first column always contains an indicator (in capital letters) for the data type of the current line. In addition, some lines have to be understood relative to a previous line, if there is a hierarchical relationship in the data. (See below for details and examples.)
Missing values are represented by "-1" or "nan" in numeric fields and by blanks in character/text fields.
Depending on the input and the parameters, the output contains the following columns:
featureXML input:
RUN / PROTEIN / UNASSIGNEDPEPTIDE / FEATURE / PEPTIDE (indicator for the type of data in the current row)RUN line contains information about a protein identification run; further columns: run_id, score_type, score_direction, data_time, search_engine_version, parameters PROTEIN line contains data of a protein identified in the previously listed run; further columns: score, rank, accession, coverage, sequence UNASSIGNEDPEPTIDE line contains data of peptide hit that was not assigned to any feature; further columns: rt, mz, score, rank, sequence, charge, aa_before, aa_after, score_type, search_identifier, accessions FEATURE line contains data of a single feature; further columns: rt, mz, intensity, charge, width, quality, rt_quality, mz_quality, rt_start, rt_end PEPTIDE line contains data of a peptide hit annotated to the previous feature; further columns: same as for UNASSIGNEDPEPTIDE With the id:add_usi flag, peptide-identification rows gain an additional USI column; set id:usi_dataset_id to a ProteomeXchange accession (e.g., PXD000561) for complete USIs.
With the no_ids flag, only FEATURE lines (without the FEATURE indicator) are written.
With the feature:minimal flag, only the rt, mz, and intensity columns of FEATURE lines are written.
consensusXML input:
Output format produced for the out parameter:
MAP / RUN / PROTEIN / UNASSIGNEDPEPTIDE / CONSENSUS / PEPTIDE (indicator for the type of data in the current row)MAP line contains information about a sub-map; further columns: id, filename, label, size (potentially followed by further columns containing meta data, depending on the input)CONSENSUS line contains data of a single consensus feature; further columns: rt_cf, mz_cf, intensity_cf, charge_cf, width_cf, quality_cf, rt_X0, mz_X0, ..., rt_X1, mz_X1, ..."..._cf" columns refer to the consensus feature itself, "..._Xi" columns refer to a sub-feature from the map with ID "Xi" (no quality column in this case); missing sub-features are indicated by "nan" valuesWith the id:add_usi flag, exported UNASSIGNEDPEPTIDE and PEPTIDE rows gain an additional USI column.
With the no_ids flag, only MAP and CONSENSUS lines are written.
Output format produced for the consensus_centroids parameter:
rt, mz, intensity, charge, width, quality Output format produced for the consensus_elements parameter:
H / L (indicator for new/repeated element)H indicates a new element, L indicates the replication of the first element of the current consensus feature (for plotting)rt, mz, intensity, charge, width, rt_cf, mz_cf, intensity_cf, charge_cf, width_cf, quality_cf "..._cf" columns refer to the consensus feature, the other columns refer to the sub-featureWith the consensus:add_metavalues flag, meta values for each consensus feature are written.
Output format produced for the consensus_features parameter:
CONSENSUS line above, followed by additional columns for identification datapeptide_N0, n_diff_peptides_N0, protein_N0, n_diff_proteins_N0, peptide_N1, ..."..._Ni" columns refer to the identification run with index "Ni", n_diff_... stands for "number of different ..."; different peptides/proteins in one column are separated by "/"With the no_ids flag, the additional columns are not included.
idXML input:
RUN / PROTEIN / PEPTIDE (indicator for the type of data in the current row)RUN, PROTEIN, PEPTIDE linesPEPTIDE lines: predicted_rt (predicted retention time)PEPTIDE lines: predicted_pt (predicted proteotypicity)PEPTIDE lines with id:add_usi: USI (Universal Spectrum Identifier)With the id:proteins_only flag, only RUN and PROTEIN lines are written.
With the id:peptides_only flag, only PEPTIDE lines (without the PEPTIDE indicator) are written.
With the id:first_dim_rt flag, the additional columns rt_first_dim and predicted_rt_first_dim are included for PEPTIDE lines.
xic input (OpenSWATH Parquet chromatograms):
The xic:mode option controls the output format:
summary (default): one row per chromatogram with summary statistics.explode: one row per RT/intensity point (long format).In both modes, the following metadata columns are exported: run_id, source_file (basename), ms_level, precursor_id, transition_id, modified_sequence, precursor_charge, product_charge, detecting_transition, precursor_decoy, product_decoy, transition_ordinal, transition_type, annotation.
Additional columns:
rt_count, intensity_count, rt_min, rt_max, intensity_min, intensity_max rt, intensity The command line parameters of this tool are:
INI file documentation of this tool: