|
OpenMS
2.5.0
|
Go to the documentation of this file.
50 class PeptideIdentification;
133 return float_data_arrays_;
137 void setFloatDataArrays(
const FloatDataArrays& fda);
140 const StringDataArrays& getStringDataArrays()
const;
143 StringDataArrays& getStringDataArrays();
146 void setStringDataArrays(
const StringDataArrays& sda);
149 const IntegerDataArrays& getIntegerDataArrays()
const;
152 IntegerDataArrays& getIntegerDataArrays();
155 void setIntegerDataArrays(
const IntegerDataArrays& ida);
160 return *std::find_if(integer_data_arrays_.begin(), integer_data_arrays_.end(),
167 return *std::find_if(string_data_arrays_.begin(), string_data_arrays_.end(),
174 return *std::find_if(float_data_arrays_.begin(), float_data_arrays_.end(),
175 [&name](
const FloatDataArray& da) {
return da.getName() == name; } );
181 return *std::find_if(integer_data_arrays_.begin(), integer_data_arrays_.end(),
188 return *std::find_if(string_data_arrays_.begin(), string_data_arrays_.end(),
195 return *std::find_if(float_data_arrays_.begin(), float_data_arrays_.end(),
196 [&name](
const FloatDataArray& da) {
return da.getName() == name; } );
218 static const std::string NamesOfPeakMassType[SIZE_OF_PEAKMASSTYPE];
256 std::pair<int,int> getChargeRange()
const;
265 int getChargeValue_(
String& charge_str)
const;
292 const std::vector<ProteinHit>& getHits()
const;
295 std::vector<ProteinHit>& getHits();
306 void setHits(
const std::vector<ProteinHit>& hits);
309 std::vector<ProteinHit>::iterator findHit(
const String& accession);
312 const std::vector<ProteinGroup>& getProteinGroups()
const;
314 std::vector<ProteinGroup>& getProteinGroups();
319 const std::vector<ProteinGroup>& getIndistinguishableProteins()
const;
321 std::vector<ProteinGroup>& getIndistinguishableProteins();
323 void insertIndistinguishableProteins(
const ProteinGroup& group);
325 void fillIndistinguishableGroupsWithSingletons();
328 double getSignificanceThreshold()
const;
330 void setSignificanceThreshold(
double value);
332 const String& getScoreType()
const;
334 void setScoreType(
const String& type);
336 bool isHigherScoreBetter()
const;
338 void setHigherScoreBetter(
bool higher_is_better);
350 void computeCoverage(
const std::vector<PeptideIdentification>& pep_ids);
359 void computeModifications(
360 const std::vector<PeptideIdentification>& pep_ids,
366 const DateTime& getDateTime()
const;
369 void setDateTime(
const DateTime& date);
371 void setSearchEngine(
const String& search_engine);
373 const String& getSearchEngine()
const;
375 void setSearchEngineVersion(
const String& search_engine_version);
377 const String& getSearchEngineVersion()
const;
379 void setInferenceEngine(
const String& search_engine);
381 const String getInferenceEngine()
const;
383 void setInferenceEngineVersion(
const String& inference_engine_version);
385 const String getInferenceEngineVersion()
const;
395 const String& getIdentifier()
const;
397 void setIdentifier(
const String&
id);
403 void setPrimaryMSRunPath(
const StringList& s,
bool raw =
false);
407 void addPrimaryMSRunPath(
const String& s,
bool raw =
false);
408 void addPrimaryMSRunPath(
const StringList& s,
bool raw =
false);
415 void getPrimaryMSRunPath(
StringList& output,
bool raw =
false)
const;
419 bool hasInferenceData()
const;
422 bool hasInferenceEngineAsSearchEngine()
const;
Integer data array class.
Definition: DataArrays.h:52
std::vector< StringDataArray > StringDataArrays
Definition: ProteinIdentification.h:89
Protease digestion_enzyme
The cleavage site information in details (from ProteaseDB)
Definition: ProteinIdentification.h:236
std::vector< FloatDataArray > FloatDataArrays
Definition: ProteinIdentification.h:86
const StringDataArray & getStringDataArrayByName(String name) const
Returns a const reference to the first string meta data array with the given name.
Definition: ProteinIdentification.h:186
PeakMassType
Peak mass type.
Definition: ProteinIdentification.h:211
UInt missed_cleavages
The number of allowed missed cleavages.
Definition: ProteinIdentification.h:231
A more convenient string class.
Definition: String.h:58
std::vector< String > accessions
Accessions of (indistinguishable) proteins that belong to the same group.
Definition: ProteinIdentification.h:98
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
Representation of a protein hit.
Definition: ProteinHit.h:57
IntegerDataArrays integer_data_arrays_
Integer data arrays.
Definition: ProteinIdentification.h:207
Definition: ProteinIdentification.h:213
const IntegerDataArray & getIntegerDataArrayByName(String name) const
Returns a const reference to the first integer meta data array with the given name.
Definition: ProteinIdentification.h:179
FloatDataArrays float_data_arrays_
Float data arrays.
Definition: ProteinIdentification.h:201
bool operator<(const MultiplexDeltaMasses &dm1, const MultiplexDeltaMasses &dm2)
Representation of a protein identification run.
Definition: ProteinIdentification.h:71
OpenMS::DataArrays::FloatDataArray FloatDataArray
Float data array vector type.
Definition: ProteinIdentification.h:85
String search_engine_
Definition: ProteinIdentification.h:434
bool fragment_mass_tolerance_ppm
Mass tolerance unit of fragment ions (true: ppm, false: Dalton)
Definition: ProteinIdentification.h:233
std::vector< ProteinGroup > protein_groups_
Definition: ProteinIdentification.h:445
String charges
The allowed charges for the search.
Definition: ProteinIdentification.h:227
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Definition: ProteinIdentification.h:214
String protein_score_type_
Definition: ProteinIdentification.h:442
std::vector< String > variable_modifications
Allowed variable modifications.
Definition: ProteinIdentification.h:230
PeakMassType mass_type
Mass type of the peaks.
Definition: ProteinIdentification.h:228
FloatDataArray & getFloatDataArrayByName(String name)
Returns a mutable reference to the first float meta data array with the given name.
Definition: ProteinIdentification.h:172
double protein_significance_threshold_
Definition: ProteinIdentification.h:448
String db
The used database.
Definition: ProteinIdentification.h:224
Representation of a digestion enzyme for proteins (protease)
Definition: DigestionEnzymeProtein.h:48
String db_version
The database version.
Definition: ProteinIdentification.h:225
FloatDataArrays & getFloatDataArrays()
Returns a mutable reference to the float meta data arrays.
Definition: ProteinIdentification.h:131
String data array class.
Definition: DataArrays.h:59
double fragment_mass_tolerance
Mass tolerance of fragment ions (Dalton or ppm)
Definition: ProteinIdentification.h:232
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
SearchParameters search_parameters_
Definition: ProteinIdentification.h:436
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
std::vector< String > fixed_modifications
Used fixed modifications.
Definition: ProteinIdentification.h:229
double precursor_mass_tolerance
Mass tolerance of precursor ions (Dalton or ppm)
Definition: ProteinIdentification.h:234
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
std::vector< ProteinGroup > indistinguishable_proteins_
Indistinguishable proteins: accessions[0] is "group leader", probability is meaningless.
Definition: ProteinIdentification.h:447
OpenMS::DataArrays::StringDataArray StringDataArray
String data array vector type.
Definition: ProteinIdentification.h:88
StringDataArrays string_data_arrays_
String 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:165
bool precursor_mass_tolerance_ppm
Mass tolerance unit of precursor ions (true: ppm, false: Dalton)
Definition: ProteinIdentification.h:235
DateTime date_
Definition: ProteinIdentification.h:437
IntegerDataArray & getIntegerDataArrayByName(String name)
Returns a mutable reference to the first integer meta data array with the given name.
Definition: ProteinIdentification.h:158
double probability
Probability of this group.
Definition: ProteinIdentification.h:95
Search parameters of the DB search.
Definition: ProteinIdentification.h:221
std::vector< IntegerDataArray > IntegerDataArrays
Definition: ProteinIdentification.h:92
Float data array class.
Definition: DataArrays.h:45
std::vector< ProteinHit > protein_hits_
Definition: ProteinIdentification.h:444
String taxonomy
The taxonomy restriction.
Definition: ProteinIdentification.h:226
const FloatDataArray & getFloatDataArrayByName(String name) const
Returns a const reference to the first float meta data array with the given name.
Definition: ProteinIdentification.h:193
DateTime Class.
Definition: DateTime.h:54
String search_engine_version_
Definition: ProteinIdentification.h:435
ProteinHit HitType
Hit type definition.
Definition: ProteinIdentification.h:76
OpenMS::DataArrays::IntegerDataArray IntegerDataArray
Integer data array vector type.
Definition: ProteinIdentification.h:91
bool higher_score_better_
Definition: ProteinIdentification.h:443
String id_
Definition: ProteinIdentification.h:433
Bundles multiple (e.g. indistinguishable) proteins in a group.
Definition: ProteinIdentification.h:81