53 const std::vector<PeptideIdentification>& peptide_ids,
55 const std::string& enz,
62 static std::vector<PeptideIdentification>
load(
const String& pin_file,
bool higher_score_better,
const String& score_name,
String decoy_prefix =
"");
71 const std::vector<PeptideIdentification>& peptide_ids,
73 const std::string& enz,
80 static bool isEnz_(
const char& n,
const char&
c,
const std::string& enz);
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:65
Class for storing Percolator tab-delimited input files.
Definition: PercolatorInfile.h:50
static std::vector< PeptideIdentification > load(const String &pin_file, bool higher_score_better, const String &score_name, String decoy_prefix="")
load pin file and convert to a vector of PeptideIdentification using the given score column score_nam...
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 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)
static Int getScanNumber_(const String &scan_identifier)
A more convenient string class.
Definition: String.h:60
This class provides some basic file handling methods for text files.
Definition: TextFile.h:47
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
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
const double c
Definition: Constants.h:214
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48