GNPSQuantificationFile#

class pyopenms.GNPSQuantificationFile#

Bases: object

OpenMS class GNPSQuantificationFile

__init__() → None#
__init__(arg: pyopenms.GNPSQuantificationFile, /) → None

Methods

__init__()

store(consensus_map, output_file)

Write feature quantification table (txt file) from a ConsensusMap.

static store(consensus_map: pyopenms.ConsensusMap, output_file: str) → None#

Write feature quantification table (txt file) from a ConsensusMap. Required for GNPS FBMN.

The table contains map information on the featureXML files from which the ConsensusMap was generated as well as a row for every consensus feature with information on rt, mz, intensity, width and quality. The same information is added for each original feature in the consensus feature.

Parameters:
  • consensus_map – Input ConsensusMap annotated with IonIdentityMolecularNetworking.annotateConsensusMap.

  • output_file – Output file path for the feature quantification table.