47 class ProteinIdentification;
97 void load(
const String & result_filename, std::vector<PeptideIdentification> & peptide_identifications,
ProteinIdentification & protein_identification,
const double p_value_threshold, std::vector<double> & pvalues,
const String & database =
"",
const bool ignore_proteins_per_peptide =
false);
113 void getSequences(
const String & database_filename,
const std::map<String, Size> & ac_position_map, std::vector<String> & sequences, std::vector<std::pair<String, Size> > & found, std::map<String, Size> & not_found);
124 void readOutHeader(
const String & result_filename,
DateTime & datetime,
double & precursor_mz_value,
Int & charge,
Size & precursor_mass_type,
Size & ion_mass_type,
Size & displayed_peptides,
String & sequest,
String & sequest_version,
String & database_type,
Int & number_column,
Int & rank_sp_column,
Int & id_column,
Int & mh_column,
Int & delta_cn_column,
Int & xcorr_column,
Int & sp_column,
Int & sf_column,
Int & ions_column,
Int & reference_column,
Int & peptide_column,
Int & score_column,
Size & number_of_columns);
128 static double const_weights_[];
129 static double xcorr_weights_[];
130 static double delta_cn_weights_[];
131 static double rank_sp_weights_[];
132 static double delta_mass_weights_[];
DateTime Class.
Definition: DateTime.h:55
Representation of a protein identification run.
Definition: ProteinIdentification.h:72
Representation of a Sequest output file.
Definition: SequestOutfile.h:62
bool operator==(const SequestOutfile &sequest_outfile) const
equality operator
void getSequences(const String &database_filename, const std::map< String, Size > &ac_position_map, std::vector< String > &sequences, std::vector< std::pair< String, Size > > &found, std::map< String, Size > ¬_found)
SequestOutfile()
Constructor.
void readOutHeader(const String &result_filename, DateTime &datetime, double &precursor_mz_value, Int &charge, Size &precursor_mass_type, Size &ion_mass_type, Size &displayed_peptides, String &sequest, String &sequest_version, String &database_type, Int &number_column, Int &rank_sp_column, Int &id_column, Int &mh_column, Int &delta_cn_column, Int &xcorr_column, Int &sp_column, Int &sf_column, Int &ions_column, Int &reference_column, Int &peptide_column, Int &score_column, Size &number_of_columns)
bool getColumns(const String &line, std::vector< String > &substrings, Size number_of_columns, Size reference_column)
retrieve columns from a Sequest outfile line
SequestOutfile(const SequestOutfile &sequest_outfile)
copy constructor
virtual ~SequestOutfile()
destructor
void getACAndACType(String line, String &accession, String &accession_type)
void load(const String &result_filename, std::vector< PeptideIdentification > &peptide_identifications, ProteinIdentification &protein_identification, const double p_value_threshold, std::vector< double > &pvalues, const String &database="", const bool ignore_proteins_per_peptide=false)
loads data from a Sequest outfile
SequestOutfile & operator=(const SequestOutfile &sequest_outfile)
assignment operator
A more convenient string class.
Definition: String.h:61
int Int
Signed integer type.
Definition: Types.h:102
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47