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
34 class OPENMS_DLLAPI SearchEngineBase : public TOPPBase
35 {
36 public:
38 SearchEngineBase() = delete;
39
42
59 SearchEngineBase(const std::string& name, const std::string& description, bool official = true, const std::vector<Citation>& citations = {}, bool toolhandler_test = true);
60
63
91 std::string getRawfileName(int ms_level = 2) const;
92
93
112 std::string getDBFilename(const std::string& db = "") const;
113
114
136 virtual void registerPeptideIndexingParameter_(Param peptide_indexing_parameter);
137
156 std::vector<ProteinIdentification>& protein_identifications,
157 PeptideIdentificationList& peptide_identifications) const;
158 }; // end SearchEngineBase
159
160} // 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 TOPP search-engine adapters.
Definition SearchEngineBase.h:35
SearchEngineBase(const std::string &name, const std::string &description, bool official=true, const std::vector< Citation > &citations={}, bool toolhandler_test=true)
Construct the adapter (signature mirrors TOPPBase to forward arguments verbatim).
virtual SearchEngineBase::ExitCodes reindex_(std::vector< ProteinIdentification > &protein_identifications, PeptideIdentificationList &peptide_identifications) const
Optionally re-run PeptideIndexing against the parsed identifications.
std::string getDBFilename(const std::string &db="") const
Resolve the search-database path.
SearchEngineBase(const SearchEngineBase &)=delete
Copy construction is disabled.
std::string getRawfileName(int ms_level=2) const
Resolve the -in argument and verify the spectra match a search engine's expectations.
~SearchEngineBase() override
Destructor.
virtual void registerPeptideIndexingParameter_(Param peptide_indexing_parameter)
Register the -reindex switch and a hidden PeptideIndexing parameter sub-tree.
SearchEngineBase()=delete
Default construction is disabled; a tool name and description are required.
Base class for TOPP applications.
Definition TOPPBase.h:120
ExitCodes
Exit codes.
Definition TOPPBase.h:131
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19