113 static const std::array<std::string, (
Size)Unmatched::SIZE_OF_UNMATCHED> names_of_unmatched;
120 SIZE_OF_MISSING_DECOY
122 static const std::array<std::string, (
Size)MissingDecoy::SIZE_OF_MISSING_DECOY> names_of_missing_decoy;
185 bool prefix_{
false };
190 bool write_protein_sequence_{
false };
191 bool write_protein_description_{
false };
192 bool keep_unreferenced_proteins_{
false };
194 bool IL_equivalent_{
false };
195 bool allow_nterm_protein_cleavage_{
true };
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
FASTAContainer<TFI_File> will make FASTA entries available chunk-wise from start to end by loading it...
Definition: FASTAContainer.h:68
FASTAContainer<TFI_Vector> simply takes an existing vector of FASTAEntries and provides the same inte...
Definition: FASTAContainer.h:220
Container for peptide identifications from multiple spectra.
Definition: PeptideIdentificationList.h:66
Refreshes the protein references for all peptide hits in a vector of PeptideIdentifications and adds ...
Definition: PeptideIndexing.h:90
const String & getDecoyString() const
Which string is used to determine if a protein is a decoy or not.
Unmatched
Action to take when peptide hits could not be matched.
Definition: PeptideIndexing.h:107
bool isPrefix() const
Is the decoy string position a prefix or suffix?
ExitCodes run_(FASTAContainer< T > &proteins, std::vector< ProteinIdentification > &prot_ids, PeptideIdentificationList &pep_ids)
MissingDecoy
Definition: PeptideIndexing.h:116
static char const *const AUTO_MODE
name of enzyme/specificity which signals that the enzyme/specificity should be taken from meta inform...
Definition: PeptideIndexing.h:93
ExitCodes run(std::vector< FASTAFile::FASTAEntry > &proteins, std::vector< ProteinIdentification > &prot_ids, PeptideIdentificationList &pep_ids)
forward for old interface and pyOpenMS; use other run() methods for more control
ExitCodes run(FASTAContainer< TFI_Vector > &proteins, std::vector< ProteinIdentification > &prot_ids, PeptideIdentificationList &pep_ids)
Same as run() with TFI_File, but for proteins which are already in memory.
~PeptideIndexing() override
Default destructor.
PeptideIndexing()
Default constructor.
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
ExitCodes
Exit codes.
Definition: PeptideIndexing.h:97
@ PEPTIDE_IDS_EMPTY
Definition: PeptideIndexing.h:100
@ ILLEGAL_PARAMETERS
Definition: PeptideIndexing.h:101
@ DATABASE_EMPTY
Definition: PeptideIndexing.h:99
@ EXECUTION_OK
Definition: PeptideIndexing.h:98
ExitCodes run(FASTAContainer< TFI_File > &proteins, std::vector< ProteinIdentification > &prot_ids, PeptideIdentificationList &pep_ids)
Re-index peptide identifications honoring enzyme cutting rules, ambiguous amino acids and target/deco...
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:27
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:72
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
template parameter for vector-based FASTA access
Definition: FASTAContainer.h:56