TransitionPQPFile#

class pyopenms.TransitionPQPFile#

Bases: object

Cython implementation of _TransitionPQPFile

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: TransitionPQPFile) None

Methods

__init__

Overload:

convertPQPToTargetedExperiment

Overload:

convertTSVToTargetedExperiment

Overload:

convertTargetedExperimentToPQP(self, ...)

Write out a targeted experiment (TraML structure) into a PQP file

convertTargetedExperimentToTSV(self, ...)

validateTargetedExperiment(self, targeted_exp)

convertPQPToTargetedExperiment()#

Overload:

convertPQPToTargetedExperiment(self, filename: bytes, targeted_exp: TargetedExperiment, legacy_traml_id: bool) None

Read in a PQP file and construct a targeted experiment (TraML structure)

Parameters:
  • filename – The input file

  • targeted_exp – The output targeted experiment

  • legacy_traml_id – Should legacy TraML IDs be used (boolean)?

Overload:

convertPQPToTargetedExperiment(self, filename: bytes, targeted_exp: LightTargetedExperiment, legacy_traml_id: bool) None

Read in a PQP file and construct a targeted experiment (Light transition structure)

Parameters:
  • filename – The input file

  • targeted_exp – The output targeted experiment

  • legacy_traml_id – Should legacy TraML IDs be used (boolean)?

convertTSVToTargetedExperiment()#

Overload:

convertTSVToTargetedExperiment(self, filename: bytes, filetype: int, targeted_exp: TargetedExperiment) None

Overload:

convertTSVToTargetedExperiment(self, filename: bytes, filetype: int, targeted_exp: LightTargetedExperiment) None
convertTargetedExperimentToPQP(self, filename: bytes, targeted_exp: TargetedExperiment) None#

Write out a targeted experiment (TraML structure) into a PQP file

Parameters:
  • filename – The output file

  • targeted_exp – The targeted experiment

convertTargetedExperimentToTSV(self, filename: bytes, targeted_exp: TargetedExperiment) None#
validateTargetedExperiment(self, targeted_exp: TargetedExperiment) None#