27 const std::vector<PeptideIdentification>& peptide_ids,
29 const std::string& enz,
61 static std::vector<PeptideIdentification>
load(
const String& pin_file,
62 bool higher_score_better,
67 double threshold = 0.01,
68 bool SageAnnotation =
false);
77 const std::vector<PeptideIdentification>& peptide_ids,
79 const std::string& enz,
83 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 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="", double threshold=0.01, bool SageAnnotation=false)
Loads peptide identifications from a Percolator input file.
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)
A more convenient string class.
Definition: String.h:34
Definition: TextFile.h:21
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:44
const double c
Definition: Constants.h:188
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19