27 const std::vector<PeptideIdentification>& peptide_ids,
29 const std::string& enz,
40 static std::vector<PeptideIdentification>
load(
const String& pin_file,
41 bool higher_score_better,
54 const std::vector<PeptideIdentification>& peptide_ids,
56 const std::string& enz,
60 static bool isEnz_(
const char& n,
const char&
c,
const std::string& enz);
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:39
Class for storing Percolator tab-delimited input files.
Definition: PercolatorInfile.h:24
static String getScanIdentifier(const PeptideIdentification &pid, size_t index)
static TextFile preparePin_(const std::vector< PeptideIdentification > &peptide_ids, const StringList &feature_set, const std::string &enz, int min_charge, int max_charge)
static bool isEnz_(const char &n, const char &c, const std::string &enz)
static Size countEnzymatic_(const String &peptide, const std::string &enz)
static std::vector< PeptideIdentification > load(const String &pin_file, bool higher_score_better, const String &score_name, const StringList &extra_scores, StringList &filenames, String decoy_prefix="")
load pin file and convert to a vector of PeptideIdentification using the given score column score_nam...
static void store(const String &pin_file, const std::vector< PeptideIdentification > &peptide_ids, const StringList &feature_set, const std::string &enz, int min_charge, int max_charge)
A more convenient string class.
Definition: String.h:34
This class provides some basic file handling methods for text files.
Definition: TextFile.h:21
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:101
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:44
const double c
Definition: Constants.h:188
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22