OpenMS
Loading...
Searching...
No Matches
FLASHDeconvFeatureFile Class Reference

FLASHDeconv feature level output *.tsv, *.ms1ft (for Promex), *.feature (for TopPIC) file formats. More...

#include <OpenMS/FORMAT/FLASHDeconvFeatureFile.h>

Static Public Member Functions

static void writeHeader (std::ostream &os, bool report_decoy=false)
 write header line for regular file output
 
static void writeTopFDFeatureHeader (std::ostream &os, uint ms_level)
 write header line for topFD feature file
 
static void writeFeatures (const std::vector< FLASHHelperClasses::MassFeature > &mass_features, const String &file_name, std::ostream &os, bool report_decoy=false)
 write the features in regular file output
 
static void writeTopFDFeatures (std::vector< DeconvolvedSpectrum > &deconvolved_spectra, const std::vector< FLASHHelperClasses::MassFeature > &mass_features, const std::map< int, double > &scan_rt_map, const String &file_name, std::ostream &os, uint ms_level)
 Find mass features and write features in TopFD format files.
 

Detailed Description

FLASHDeconv feature level output *.tsv, *.ms1ft (for Promex), *.feature (for TopPIC) file formats.

Member Function Documentation

◆ writeFeatures()

static void writeFeatures ( const std::vector< FLASHHelperClasses::MassFeature > &  mass_features,
const String file_name,
std::ostream &  os,
bool  report_decoy = false 
)
static

write the features in regular file output

Referenced by TOPPFLASHDeconv::main_().

◆ writeHeader()

static void writeHeader ( std::ostream &  os,
bool  report_decoy = false 
)
static

write header line for regular file output

Referenced by TOPPFLASHDeconv::main_().

◆ writeTopFDFeatureHeader()

static void writeTopFDFeatureHeader ( std::ostream &  os,
uint  ms_level 
)
static

write header line for topFD feature file

Referenced by TOPPFLASHDeconv::main_().

◆ writeTopFDFeatures()

static void writeTopFDFeatures ( std::vector< DeconvolvedSpectrum > &  deconvolved_spectra,
const std::vector< FLASHHelperClasses::MassFeature > &  mass_features,
const std::map< int, double > &  scan_rt_map,
const String file_name,
std::ostream &  os,
uint  ms_level 
)
static

Find mass features and write features in TopFD format files.

Parameters
[in,out]deconvolved_spectradeconvolved spectra - feature indices are updated only for TopFD and TopPIC outputs
[out]mass_featuresmass features to be written
[in]scan_rt_mapscan number to retention time map
[in]file_nameinput spectrum file name
[out]osoutput stream
[in]ms_levelms level

Referenced by TOPPFLASHDeconv::main_().