OpenMS
Loading...
Searching...
No Matches
SearchEngineBase.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Chris Bielow $
6// $Authors: Chris Bielow $
7// --------------------------------------------------------------------------
8
9#pragma once
10
14
15
16namespace OpenMS
17{
18
29 class OPENMS_DLLAPI SearchEngineBase : public TOPPBase
30 {
31 public:
33 SearchEngineBase() = delete;
34
37
50 SearchEngineBase(const String& name, const String& description, bool official = true, const std::vector<Citation>& citations = {}, bool toolhandler_test = true);
51
54
69 String getRawfileName(int ms_level = 2) const;
70
71
80 String getDBFilename(const String& db = "") const;
81
82
88 virtual void registerPeptideIndexingParameter_(Param peptide_indexing_parameter);
89
94 std::vector<ProteinIdentification>& protein_identifications,
95 PeptideIdentificationList& peptide_identifications) const;
96 }; // end SearchEngineBase
97
98} // end NS OpenMS
Management and storage of parameters / INI files.
Definition Param.h:46
Container for peptide identifications from multiple spectra.
Definition PeptideIdentificationList.h:66
Base class for Search Engine Adapters.
Definition SearchEngineBase.h:30
String getDBFilename(const String &db="") const
Reads the '-database' argument from internal parameters (or from db) and tries to find the db in sear...
String getRawfileName(int ms_level=2) const
Reads the '-in' argument from internal parameters (usually an mzML file) and checks if MS2 spectra ar...
virtual SearchEngineBase::ExitCodes reindex_(std::vector< ProteinIdentification > &protein_identifications, PeptideIdentificationList &peptide_identifications) const
Reindex peptide to protein association.
SearchEngineBase(const SearchEngineBase &)=delete
No default copy constructor.
SearchEngineBase(const String &name, const String &description, bool official=true, const std::vector< Citation > &citations={}, bool toolhandler_test=true)
Constructor.
~SearchEngineBase() override
Destructor.
virtual void registerPeptideIndexingParameter_(Param peptide_indexing_parameter)
Adds option to reassociate peptides with proteins (and annotate target/decoy information)
SearchEngineBase()=delete
No default constructor.
A more convenient string class.
Definition String.h:34
Base class for TOPP applications.
Definition TOPPBase.h:122
ExitCodes
Exit codes.
Definition TOPPBase.h:133
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19