36 NUMBER_OF_CROSS_LINK_TYPES
53 double cross_linker_mass = 0;
57 int precursor_correction = 0;
61 if (beta && !beta->
empty())
return CROSS;
63 if (cross_link_position.second == -1)
return MONO;
70 return alpha == other.
alpha &&
104 double xquest_score = 0;
105 double pre_score = 0;
110 double intsum_alpha = 0;
111 double intsum_beta = 0;
112 double total_current = 0;
113 double precursor_error_ppm = 0;
115 double match_odds = 0;
116 double match_odds_alpha = 0;
117 double match_odds_beta = 0;
118 double log_occupancy = 0;
119 double log_occupancy_alpha = 0;
120 double log_occupancy_beta = 0;
121 double xcorrx_max = 0;
122 double xcorrc_max = 0;
128 double num_iso_peaks_mean = 0;
129 double num_iso_peaks_mean_linear_alpha = 0;
130 double num_iso_peaks_mean_linear_beta = 0;
131 double num_iso_peaks_mean_xlinks_alpha = 0;
132 double num_iso_peaks_mean_xlinks_beta = 0;
134 double ppm_error_abs_sum_linear_alpha = 0;
135 double ppm_error_abs_sum_linear_beta = 0;
136 double ppm_error_abs_sum_xlinks_alpha = 0;
137 double ppm_error_abs_sum_xlinks_beta = 0;
138 double ppm_error_abs_sum_linear = 0;
139 double ppm_error_abs_sum_xlinks = 0;
140 double ppm_error_abs_sum_alpha = 0;
141 double ppm_error_abs_sum_beta = 0;
142 double ppm_error_abs_sum = 0;
144 int precursor_correction = 0;
146 double precursor_total_intensity = 0;
147 double precursor_target_intensity = 0;
148 double precursor_signal_proportion = 0;
149 Size precursor_target_peak_count = 0;
150 Size precursor_residual_peak_count = 0;
193 float precursor_mass{};
194 unsigned int alpha_index = 0;
195 unsigned int beta_index = 0;
246 double peptide_mass = 0;
289 for (
Size i = 0; i != size; ++i)
305 struct hash<
OpenMS::OPXLDataStructs::ProteinProteinCrossLink>
309 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
Definition OPXLDataStructs.h:24
String alpha_seq
Definition OPXLDataStructs.h:196
String unmodified_seq
Definition OPXLDataStructs.h:249
double score
final score
Definition OPXLDataStructs.h:98
String beta_seq
Definition OPXLDataStructs.h:197
ProteinProteinCrossLinkType
The ProteinProteinCrossLinkType enum enumerates possible types of Protein-Protein cross-linking react...
Definition OPXLDataStructs.h:32
float precursor_mass
Definition OPXLDataStructs.h:193
AASequence peptide_seq
Definition OPXLDataStructs.h:247
double peptide_mass
Definition OPXLDataStructs.h:246
ProteinProteinCrossLink cross_link
structure of the cross-link
Definition OPXLDataStructs.h:91
PeptidePosition
The PeptidePosition enum.
Definition OPXLDataStructs.h:228
std::vector< PeptideHit::PeakAnnotation > frag_annotations
Definition OPXLDataStructs.h:152
The AASeqWithMass struct represents a normal peptide with its precomputed mass.
Definition OPXLDataStructs.h:245
The CrossLinkSpectrumMatch struct represents a PSM between a ProteinProteinCrossLink and a spectrum i...
Definition OPXLDataStructs.h:89
The XLPrecursor struct represents a cross-link candidate in the process of filtering candidates by pr...
Definition OPXLDataStructs.h:192
TermSpecificity
Position where the modification is allowed to occur.
Definition ResidueModification.h:74
A more convenient string class.
Definition String.h:34
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:258
Comparator to sort CrossLinkSpectrumMatches by the main score.
Definition OPXLDataStructs.h:162
The PreprocessedPairSpectra struct represents the result of comparing a light and a heavy labeled spe...
Definition OPXLDataStructs.h:280
PreprocessedPairSpectra(Size size)
Definition OPXLDataStructs.h:287
MSExperiment spectra_all_peaks
Definition OPXLDataStructs.h:284
MSExperiment spectra_xlink_peaks
Xlink peaks in the light spectrum (linear peaks between spectra_light_different and spectra heavy_to_...
Definition OPXLDataStructs.h:283
MSExperiment spectra_linear_peaks
merge spectrum of linear peaks (present in both spectra)
Definition OPXLDataStructs.h:282
The ProteinProteinCrossLink struct represents a cross-link between two peptides in OpenPepXL.
Definition OPXLDataStructs.h:49
ProteinProteinCrossLinkType getType() const
Definition OPXLDataStructs.h:59
bool operator==(const ProteinProteinCrossLink &other) const
Definition OPXLDataStructs.h:68
std::pair< SignedSize, SignedSize > cross_link_position
index in alpha, beta or between alpha, alpha in loop-links
Definition OPXLDataStructs.h:52
const AASequence * alpha
longer peptide
Definition OPXLDataStructs.h:50
double cross_linker_mass
Definition OPXLDataStructs.h:53
ResidueModification::TermSpecificity term_spec_beta
Definition OPXLDataStructs.h:56
ResidueModification::TermSpecificity term_spec_alpha
Definition OPXLDataStructs.h:55
int precursor_correction
Definition OPXLDataStructs.h:57
String cross_linker_name
Definition OPXLDataStructs.h:54
const AASequence * beta
shorter peptide (empty for mono-link), tie breaker: mass then lexicographical
Definition OPXLDataStructs.h:51
The XLPrecursorComparator is a comparator for XLPrecursors, that allows direct comparison of the XLPr...
Definition OPXLDataStructs.h:207
std::size_t operator()(const OpenMS::OPXLDataStructs::ProteinProteinCrossLink &link) const noexcept
Definition OPXLDataStructs.h:307