47 class PeptideIdentification;
130 return float_data_arrays_;
134 void setFloatDataArrays(
const FloatDataArrays& fda);
137 const StringDataArrays& getStringDataArrays()
const;
140 StringDataArrays& getStringDataArrays();
143 void setStringDataArrays(
const StringDataArrays& sda);
146 const IntegerDataArrays& getIntegerDataArrays()
const;
149 IntegerDataArrays& getIntegerDataArrays();
152 void setIntegerDataArrays(
const IntegerDataArrays& ida);
157 return *std::find_if(integer_data_arrays_.begin(), integer_data_arrays_.end(),
164 return *std::find_if(string_data_arrays_.begin(), string_data_arrays_.end(),
171 return *std::find_if(float_data_arrays_.begin(), float_data_arrays_.end(),
172 [&name](
const FloatDataArray& da) {
return da.getName() == name; } );
178 return *std::find_if(integer_data_arrays_.begin(), integer_data_arrays_.end(),
185 return *std::find_if(string_data_arrays_.begin(), string_data_arrays_.end(),
192 return *std::find_if(float_data_arrays_.begin(), float_data_arrays_.end(),
193 [&name](
const FloatDataArray& da) {
return da.getName() == name; } );
215 static const std::string NamesOfPeakMassType[SIZE_OF_PEAKMASSTYPE];
252 std::pair<int,int> getChargeRange()
const;
253 int getChargeValue_(
String& charge_str)
const;
281 const std::vector<ProteinHit> & getHits()
const;
284 std::vector<ProteinHit> & getHits();
295 void setHits(
const std::vector<ProteinHit>& hits);
298 std::vector<ProteinHit>::iterator findHit(
const String& accession);
301 const std::vector<ProteinGroup>& getProteinGroups()
const;
303 std::vector<ProteinGroup>& getProteinGroups();
308 const std::vector<ProteinGroup>& getIndistinguishableProteins()
const;
310 std::vector<ProteinGroup>& getIndistinguishableProteins();
312 void insertIndistinguishableProteins(
const ProteinGroup& group);
314 void fillIndistinguishableGroupsWithSingletons();
317 double getSignificanceThreshold()
const;
319 void setSignificanceThreshold(
double value);
321 const String& getScoreType()
const;
323 void setScoreType(
const String& type);
325 bool isHigherScoreBetter()
const;
327 void setHigherScoreBetter(
bool higher_is_better);
339 void computeCoverage(
const std::vector<PeptideIdentification>& pep_ids);
348 void computeModifications(
349 const std::vector<PeptideIdentification>& pep_ids,
355 const DateTime& getDateTime()
const;
358 void setDateTime(
const DateTime& date);
360 void setSearchEngine(
const String& search_engine);
362 const String& getSearchEngine()
const;
364 void setSearchEngineVersion(
const String& search_engine_version);
366 const String& getSearchEngineVersion()
const;
374 const String& getIdentifier()
const;
376 void setIdentifier(
const String&
id);
378 void setPrimaryMSRunPath(
const StringList& s);
380 void getPrimaryMSRunPath(
StringList& toFill)
const;
382 bool hasInferenceData()
const;
Representation of a protein identification run.
Definition: ProteinIdentification.h:68
std::vector< FloatDataArray > FloatDataArrays
Definition: ProteinIdentification.h:83
String db
The used database.
Definition: ProteinIdentification.h:221
std::vector< StringDataArray > StringDataArrays
Definition: ProteinIdentification.h:86
A more convenient string class.
Definition: String.h:58
IntegerDataArrays integer_data_arrays_
Integer data arrays.
Definition: ProteinIdentification.h:204
StringDataArray & getStringDataArrayByName(String name)
Returns a mutable reference to the first string meta data array with the given name.
Definition: ProteinIdentification.h:162
std::vector< String > fixed_modifications
Used fixed modifications.
Definition: ProteinIdentification.h:226
String db_version
The database version.
Definition: ProteinIdentification.h:222
IntegerDataArray & getIntegerDataArrayByName(String name)
Returns a mutable reference to the first integer meta data array with the given name.
Definition: ProteinIdentification.h:155
Definition: ProteinIdentification.h:211
double fragment_mass_tolerance
Mass tolerance of fragment ions (Dalton or ppm)
Definition: ProteinIdentification.h:229
const StringDataArray & getStringDataArrayByName(String name) const
Returns a const reference to the first string meta data array with the given name.
Definition: ProteinIdentification.h:183
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
FloatDataArrays float_data_arrays_
Float data arrays.
Definition: ProteinIdentification.h:198
String search_engine_version_
Definition: ProteinIdentification.h:390
double precursor_mass_tolerance
Mass tolerance of precursor ions (Dalton or ppm)
Definition: ProteinIdentification.h:231
FloatDataArrays & getFloatDataArrays()
Returns a mutable reference to the float meta data arrays.
Definition: ProteinIdentification.h:128
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
OpenMS::DataArrays::FloatDataArray FloatDataArray
Float data array vector type.
Definition: ProteinIdentification.h:82
ProteinHit HitType
Hit type definition.
Definition: ProteinIdentification.h:73
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Search parameters of the DB search.
Definition: ProteinIdentification.h:218
bool operator<(const MultiplexDeltaMasses &dm1, const MultiplexDeltaMasses &dm2)
Float data array class.
Definition: DataArrays.h:45
bool precursor_mass_tolerance_ppm
Mass tolerance unit of precursor ions (true: ppm, false: Dalton)
Definition: ProteinIdentification.h:232
String taxonomy
The taxonomy restriction.
Definition: ProteinIdentification.h:223
Integer data array class.
Definition: DataArrays.h:52
PeakMassType
Peak mass type.
Definition: ProteinIdentification.h:208
FloatDataArray & getFloatDataArrayByName(String name)
Returns a mutable reference to the first float meta data array with the given name.
Definition: ProteinIdentification.h:169
const IntegerDataArray & getIntegerDataArrayByName(String name) const
Returns a const reference to the first integer meta data array with the given name.
Definition: ProteinIdentification.h:176
std::vector< String > accessions
Accessions of (indistinguishable) proteins that belong to the same group.
Definition: ProteinIdentification.h:95
std::vector< ProteinHit > protein_hits_
Definition: ProteinIdentification.h:399
Protease digestion_enzyme
The cleavage site information in details (from ProteaseDB)
Definition: ProteinIdentification.h:233
String protein_score_type_
Definition: ProteinIdentification.h:397
std::vector< IntegerDataArray > IntegerDataArrays
Definition: ProteinIdentification.h:89
double protein_significance_threshold_
Definition: ProteinIdentification.h:403
String id_
Definition: ProteinIdentification.h:388
UInt missed_cleavages
The number of allowed missed cleavages.
Definition: ProteinIdentification.h:228
std::vector< ProteinGroup > protein_groups_
Definition: ProteinIdentification.h:400
String search_engine_
Definition: ProteinIdentification.h:389
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:73
Representation of a protein hit.
Definition: ProteinHit.h:57
bool higher_score_better_
Definition: ProteinIdentification.h:398
DateTime date_
Definition: ProteinIdentification.h:392
Definition: ProteinIdentification.h:210
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
DateTime Class.
Definition: DateTime.h:54
const FloatDataArray & getFloatDataArrayByName(String name) const
Returns a const reference to the first float meta data array with the given name. ...
Definition: ProteinIdentification.h:190
bool fragment_mass_tolerance_ppm
Mass tolerance unit of fragment ions (true: ppm, false: Dalton)
Definition: ProteinIdentification.h:230
std::vector< ProteinGroup > indistinguishable_proteins_
Indistinguishable proteins: accessions[0] is "group leader", probability is meaningless.
Definition: ProteinIdentification.h:402
String data array class.
Definition: DataArrays.h:59
PeakMassType mass_type
Mass type of the peaks.
Definition: ProteinIdentification.h:225
Bundles multiple (e.g. indistinguishable) proteins in a group.
Definition: ProteinIdentification.h:78
SearchParameters search_parameters_
Definition: ProteinIdentification.h:391
OpenMS::DataArrays::StringDataArray StringDataArray
String data array vector type.
Definition: ProteinIdentification.h:85
OpenMS::DataArrays::IntegerDataArray IntegerDataArray
Integer data array vector type.
Definition: ProteinIdentification.h:88
String charges
The allowed charges for the search.
Definition: ProteinIdentification.h:224
double probability
Probability of this group.
Definition: ProteinIdentification.h:92
StringDataArrays string_data_arrays_
String data arrays.
Definition: ProteinIdentification.h:201
Representation of a digestion enzyme for proteins (protease)
Definition: DigestionEnzymeProtein.h:48
std::vector< String > variable_modifications
Allowed variable modifications.
Definition: ProteinIdentification.h:227