GNPSQuantificationFile#

class pyopenms.GNPSQuantificationFile#

Bases: object

Cython implementation of _GNPSQuantificationFile

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: GNPSQuantificationFile) None

Methods

__init__

Overload:

store(self, consensus_map, output_file)

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

store(self, consensus_map: ConsensusMap, output_file: bytes | str | String) 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.