OpenMS
DecoyHelper::DecoyStatistics Struct Reference

struct for intermediate results needed for calculations on decoy proteins More...

#include <OpenMS/DATASTRUCTURES/FASTAContainer.h>

Collaboration diagram for DecoyHelper::DecoyStatistics:
[legend]

Public Member Functions

bool operator== (const DecoyStatistics &rhs) const
 

Public Attributes

std::unordered_map< std::string, std::pair< Size, Size > > decoy_count
 map decoys to counts of occurrences as prefix/suffix More...
 
std::unordered_map< std::string, std::string > decoy_case_sensitive
 map case insensitive strings back to original case (as used in fasta) More...
 
Size all_prefix_occur {0}
 number of proteins with found decoy_prefix More...
 
Size all_suffix_occur {0}
 number of proteins with found decoy_suffix More...
 
Size all_proteins_count {0}
 number of all checked proteins More...
 

Detailed Description

struct for intermediate results needed for calculations on decoy proteins

Member Function Documentation

◆ operator==()

Member Data Documentation

◆ all_prefix_occur

Size all_prefix_occur {0}

number of proteins with found decoy_prefix

Referenced by DecoyHelper::countDecoys(), DecoyHelper::findDecoyString(), and DecoyHelper::DecoyStatistics::operator==().

◆ all_proteins_count

Size all_proteins_count {0}

◆ all_suffix_occur

Size all_suffix_occur {0}

number of proteins with found decoy_suffix

Referenced by DecoyHelper::countDecoys(), DecoyHelper::findDecoyString(), and DecoyHelper::DecoyStatistics::operator==().

◆ decoy_case_sensitive

std::unordered_map<std::string, std::string> decoy_case_sensitive

map case insensitive strings back to original case (as used in fasta)

Referenced by DecoyHelper::countDecoys(), DecoyHelper::findDecoyString(), and DecoyHelper::DecoyStatistics::operator==().

◆ decoy_count

std::unordered_map<std::string, std::pair<Size, Size> > decoy_count

map decoys to counts of occurrences as prefix/suffix

Referenced by DecoyHelper::countDecoys(), DecoyHelper::findDecoyString(), and DecoyHelper::DecoyStatistics::operator==().