21 class ProteinIdentification;
71 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);
87 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);
98 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);
102 static double const_weights_[];
103 static double xcorr_weights_[];
104 static double delta_cn_weights_[];
105 static double rank_sp_weights_[];
106 static double delta_mass_weights_[];
DateTime Class.
Definition: DateTime.h:33
Representation of a protein identification run.
Definition: ProteinIdentification.h:50
Representation of a Sequest output file.
Definition: SequestOutfile.h:36
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:34
int Int
Signed integer type.
Definition: Types.h:72
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19