OpenMS  2.8.0
Public Member Functions | Private Attributes | List of all members
MzTab::IDMzTabStream Class Reference

#include <OpenMS/FORMAT/MzTab.h>

Collaboration diagram for MzTab::IDMzTabStream:
[legend]

Public Member Functions

 IDMzTabStream (const std::vector< const ProteinIdentification * > &prot_ids, const std::vector< const PeptideIdentification * > &peptide_ids, const String &filename, bool first_run_inference_only, bool export_empty_pep_ids=false, bool export_all_psms=false, const String &title="ID export from OpenMS")
 
const MzTabMetaDatagetMetaData () const
 
const std::vector< String > & getProteinOptionalColumnNames () const
 
const std::vector< String > & getPeptideOptionalColumnNames () const
 
const std::vector< String > & getPSMOptionalColumnNames () const
 
bool nextPRTRow (MzTabProteinSectionRow &row)
 
bool nextPEPRow (MzTabPeptideSectionRow &row)
 
bool nextPSMRow (MzTabPSMSectionRow &row)
 

Private Attributes

std::set< Stringprotein_hit_user_value_keys_
 
std::set< Stringpeptide_id_user_value_keys_
 
std::set< Stringpeptide_hit_user_value_keys_
 
std::map< Size, std::set< Size > > ind2prot_
 
std::map< Size, std::set< Size > > pg2prot_
 
std::map< String, size_t > idrunid_2_idrunindex_
 
std::map< Size, std::vector< std::pair< String, String > > > run_to_search_engines_
 
std::map< Size, std::vector< std::vector< std::pair< String, String > > > > run_to_search_engines_settings_
 
std::map< std::pair< size_t, size_t >, size_t > map_id_run_fileidx_2_msfileidx_
 
std::map< std::pair< String, unsigned >, unsigned > path_label_to_assay_
 
std::vector< const ProteinIdentification * > prot_ids_
 
std::vector< const PeptideIdentification * > peptide_ids_
 
StringList ms_runs_
 
bool first_run_inference_
 
String filename_
 
StringList fixed_mods_
 
bool export_empty_pep_ids_
 
bool export_all_psms_
 
size_t quant_study_variables_ = 0
 
size_t PRT_STATE_ = 0
 
size_t prt_run_id_ = 0
 
size_t prt_hit_id_ = 0
 
size_t prt_group_id_ = 0
 
size_t prt_indistgroup_id_ = 0
 
size_t pep_id_ = 0
 
size_t psm_id_ = 0
 
size_t current_psm_idx_ = 0
 
MzTabString db_
 
MzTabString db_version_
 
std::vector< Stringprt_optional_column_names_
 
std::vector< Stringpep_optional_column_names_
 
std::vector< Stringpsm_optional_column_names_
 
MzTabMetaData meta_data_
 

Constructor & Destructor Documentation

◆ IDMzTabStream()

IDMzTabStream ( const std::vector< const ProteinIdentification * > &  prot_ids,
const std::vector< const PeptideIdentification * > &  peptide_ids,
const String filename,
bool  first_run_inference_only,
bool  export_empty_pep_ids = false,
bool  export_all_psms = false,
const String title = "ID export from OpenMS" 
)

Member Function Documentation

◆ getMetaData()

const MzTabMetaData& getMetaData ( ) const

◆ getPeptideOptionalColumnNames()

const std::vector<String>& getPeptideOptionalColumnNames ( ) const

◆ getProteinOptionalColumnNames()

const std::vector<String>& getProteinOptionalColumnNames ( ) const

◆ getPSMOptionalColumnNames()

const std::vector<String>& getPSMOptionalColumnNames ( ) const

◆ nextPEPRow()

bool nextPEPRow ( MzTabPeptideSectionRow row)

◆ nextPRTRow()

bool nextPRTRow ( MzTabProteinSectionRow row)

◆ nextPSMRow()

bool nextPSMRow ( MzTabPSMSectionRow row)

Member Data Documentation

◆ current_psm_idx_

size_t current_psm_idx_ = 0
private

◆ db_

MzTabString db_
private

◆ db_version_

MzTabString db_version_
private

◆ export_all_psms_

bool export_all_psms_
private

◆ export_empty_pep_ids_

bool export_empty_pep_ids_
private

◆ filename_

String filename_
private

◆ first_run_inference_

bool first_run_inference_
private

◆ fixed_mods_

StringList fixed_mods_
private

◆ idrunid_2_idrunindex_

std::map<String, size_t> idrunid_2_idrunindex_
private

◆ ind2prot_

std::map<Size, std::set<Size> > ind2prot_
private

◆ map_id_run_fileidx_2_msfileidx_

std::map<std::pair<size_t,size_t>,size_t> map_id_run_fileidx_2_msfileidx_
private

◆ meta_data_

MzTabMetaData meta_data_
private

◆ ms_runs_

StringList ms_runs_
private

◆ path_label_to_assay_

std::map<std::pair< String, unsigned >, unsigned> path_label_to_assay_
private

◆ pep_id_

size_t pep_id_ = 0
private

◆ pep_optional_column_names_

std::vector<String> pep_optional_column_names_
private

◆ peptide_hit_user_value_keys_

std::set<String> peptide_hit_user_value_keys_
private

◆ peptide_id_user_value_keys_

std::set<String> peptide_id_user_value_keys_
private

◆ peptide_ids_

std::vector<const PeptideIdentification*> peptide_ids_
private

◆ pg2prot_

std::map<Size, std::set<Size> > pg2prot_
private

◆ prot_ids_

std::vector<const ProteinIdentification*> prot_ids_
private

◆ protein_hit_user_value_keys_

std::set<String> protein_hit_user_value_keys_
private

◆ prt_group_id_

size_t prt_group_id_ = 0
private

◆ prt_hit_id_

size_t prt_hit_id_ = 0
private

◆ prt_indistgroup_id_

size_t prt_indistgroup_id_ = 0
private

◆ prt_optional_column_names_

std::vector<String> prt_optional_column_names_
private

◆ prt_run_id_

size_t prt_run_id_ = 0
private

◆ PRT_STATE_

size_t PRT_STATE_ = 0
private

◆ psm_id_

size_t psm_id_ = 0
private

◆ psm_optional_column_names_

std::vector<String> psm_optional_column_names_
private

◆ quant_study_variables_

size_t quant_study_variables_ = 0
private

◆ run_to_search_engines_

std::map<Size, std::vector<std::pair<String, String> > > run_to_search_engines_
private

◆ run_to_search_engines_settings_

std::map<Size, std::vector<std::vector<std::pair<String, String> > > > run_to_search_engines_settings_
private