68 NUMBER_OF_CROSS_LINK_TYPES
85 double cross_linker_mass = 0;
89 int precursor_correction = 0;
93 if (beta && !beta->
empty())
return CROSS;
95 if (cross_link_position.second == -1)
return MONO;
102 return alpha == other.
alpha &&
103 beta == other.
beta &&
136 double xquest_score = 0;
137 double pre_score = 0;
142 double intsum_alpha = 0;
143 double intsum_beta = 0;
144 double total_current = 0;
145 double precursor_error_ppm = 0;
147 double match_odds = 0;
148 double match_odds_alpha = 0;
149 double match_odds_beta = 0;
150 double log_occupancy = 0;
151 double log_occupancy_alpha = 0;
152 double log_occupancy_beta = 0;
153 double xcorrx_max = 0;
154 double xcorrc_max = 0;
160 double num_iso_peaks_mean = 0;
161 double num_iso_peaks_mean_linear_alpha = 0;
162 double num_iso_peaks_mean_linear_beta = 0;
163 double num_iso_peaks_mean_xlinks_alpha = 0;
164 double num_iso_peaks_mean_xlinks_beta = 0;
166 double ppm_error_abs_sum_linear_alpha = 0;
167 double ppm_error_abs_sum_linear_beta = 0;
168 double ppm_error_abs_sum_xlinks_alpha = 0;
169 double ppm_error_abs_sum_xlinks_beta = 0;
170 double ppm_error_abs_sum_linear = 0;
171 double ppm_error_abs_sum_xlinks = 0;
172 double ppm_error_abs_sum_alpha = 0;
173 double ppm_error_abs_sum_beta = 0;
174 double ppm_error_abs_sum = 0;
176 int precursor_correction = 0;
178 double precursor_total_intensity = 0;
179 double precursor_target_intensity = 0;
180 double precursor_signal_proportion = 0;
181 Size precursor_target_peak_count = 0;
182 Size precursor_residual_peak_count = 0;
225 float precursor_mass{};
226 unsigned int alpha_index = 0;
227 unsigned int beta_index = 0;
280 double peptide_mass = 0;
323 for (
Size i = 0; i != size; ++i)
339 struct hash<
OpenMS::OPXLDataStructs::ProteinProteinCrossLink>
343 std::size_t seed = 0;
Representation of a peptide/protein sequence.
Definition AASequence.h:88
bool empty() const
check if sequence is empty
In-Memory representation of a mass spectrometry run.
Definition MSExperiment.h:49
void addSpectrum(const MSSpectrum &spectrum)
adds a spectrum to the list
The representation of a 1D spectrum.
Definition MSSpectrum.h:44
Namespace-style container holding the data types shared across the OpenPepXL cross-linking pipeline.
Definition OPXLDataStructs.h:50
double score
final score
Definition OPXLDataStructs.h:130
std::string beta_seq
Sequence string of the beta peptide (empty for mono- or loop-links)
Definition OPXLDataStructs.h:229
std::string unmodified_seq
Plain-string view of the peptide without modifications (cached for fast comparison / lookup)
Definition OPXLDataStructs.h:283
ProteinProteinCrossLinkType
Kind of cross-linking reaction product.
Definition OPXLDataStructs.h:64
float precursor_mass
Mass of (alpha + beta + cross-linker), in Da; the key used to filter candidates against an experiment...
Definition OPXLDataStructs.h:225
AASequence peptide_seq
The peptide itself, including any modifications carried over from the digest.
Definition OPXLDataStructs.h:281
double peptide_mass
Pre-computed monoisotopic mass of peptide_seq (Da); used as the sort/search key during pair enumerati...
Definition OPXLDataStructs.h:280
ProteinProteinCrossLink cross_link
structure of the cross-link
Definition OPXLDataStructs.h:123
PeptidePosition
Where the peptide came from in its parent protein after in-silico digestion.
Definition OPXLDataStructs.h:262
std::vector< PeptideHit::PeakAnnotation > frag_annotations
Definition OPXLDataStructs.h:184
std::string alpha_seq
Sequence string of the alpha peptide (cached to avoid re-lookup during scoring)
Definition OPXLDataStructs.h:228
The AASeqWithMass struct represents a normal peptide with its precomputed mass.
Definition OPXLDataStructs.h:279
The CrossLinkSpectrumMatch struct represents a PSM between a ProteinProteinCrossLink and a spectrum i...
Definition OPXLDataStructs.h:121
The XLPrecursor struct represents a cross-link candidate in the process of filtering candidates by pr...
Definition OPXLDataStructs.h:224
TermSpecificity
Position where the modification is allowed to occur.
Definition ResidueModification.h:74
@ INTERNAL
Internal fragment (m)
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
std::size_t hash_int(T value) noexcept
Hash for an integer type.
Definition HashUtils.h:107
void hash_combine(std::size_t &seed, std::size_t value) noexcept
Combine a hash value with additional data using golden ratio mixing.
Definition HashUtils.h:87
std::size_t hash_float(T value) noexcept
Hash for a floating point type (float or double).
Definition HashUtils.h:142
std::size_t fnv1a_hash_string(const std::string &s) noexcept
FNV-1a hash for a string.
Definition HashUtils.h:70
The AASeqWithMassComparator is a comparator for AASeqWithMass objects.
Definition OPXLDataStructs.h:292
Comparator to sort CrossLinkSpectrumMatches by the main score.
Definition OPXLDataStructs.h:194
The PreprocessedPairSpectra struct represents the result of comparing a light and a heavy labeled spe...
Definition OPXLDataStructs.h:314
PreprocessedPairSpectra(Size size)
Definition OPXLDataStructs.h:321
MSExperiment spectra_all_peaks
Definition OPXLDataStructs.h:318
MSExperiment spectra_xlink_peaks
Xlink peaks in the light spectrum (linear peaks between spectra_light_different and spectra heavy_to_...
Definition OPXLDataStructs.h:317
MSExperiment spectra_linear_peaks
merge spectrum of linear peaks (present in both spectra)
Definition OPXLDataStructs.h:316
The ProteinProteinCrossLink struct represents a cross-link between two peptides in OpenPepXL.
Definition OPXLDataStructs.h:81
ProteinProteinCrossLinkType getType() const
Definition OPXLDataStructs.h:91
bool operator==(const ProteinProteinCrossLink &other) const
Definition OPXLDataStructs.h:100
std::pair< SignedSize, SignedSize > cross_link_position
index in alpha, beta or between alpha, alpha in loop-links
Definition OPXLDataStructs.h:84
const AASequence * alpha
longer peptide
Definition OPXLDataStructs.h:82
double cross_linker_mass
Definition OPXLDataStructs.h:85
ResidueModification::TermSpecificity term_spec_beta
Definition OPXLDataStructs.h:88
std::string cross_linker_name
Definition OPXLDataStructs.h:86
ResidueModification::TermSpecificity term_spec_alpha
Definition OPXLDataStructs.h:87
int precursor_correction
Definition OPXLDataStructs.h:89
const AASequence * beta
shorter peptide (empty for mono-link), tie breaker: mass then lexicographical
Definition OPXLDataStructs.h:83
The XLPrecursorComparator is a comparator for XLPrecursors, that allows direct comparison of the XLPr...
Definition OPXLDataStructs.h:239
std::size_t operator()(const OpenMS::OPXLDataStructs::ProteinProteinCrossLink &link) const noexcept
Definition OPXLDataStructs.h:341