138 static const std::array<std::string, (
Size)Unmatched::SIZE_OF_UNMATCHED> names_of_unmatched;
145 SIZE_OF_MISSING_DECOY
147 static const std::array<std::string, (
Size)MissingDecoy::SIZE_OF_MISSING_DECOY> names_of_missing_decoy;
156 ExitCodes run(std::vector<FASTAFile::FASTAEntry>& proteins, std::vector<ProteinIdentification>& prot_ids, std::vector<PeptideIdentification>& pep_ids);
210 bool prefix_{
false };
215 bool write_protein_sequence_{
false };
216 bool write_protein_description_{
false };
217 bool keep_unreferenced_proteins_{
false };
219 bool IL_equivalent_{
false };
220 bool allow_nterm_protein_cleavage_{
true };
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
FASTAContainer<TFI_File> will make FASTA entries available chunk-wise from start to end by loading it...
Definition: FASTAContainer.h:94
FASTAContainer<TFI_Vector> simply takes an existing vector of FASTAEntries and provides the same inte...
Definition: FASTAContainer.h:246
Refreshes the protein references for all peptide hits in a vector of PeptideIdentifications and adds ...
Definition: PeptideIndexing.h:115
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:132
bool isPrefix() const
Is the decoy string position a prefix or suffix?
ExitCodes run_(FASTAContainer< T > &proteins, std::vector< ProteinIdentification > &prot_ids, std::vector< PeptideIdentification > &pep_ids)
ExitCodes run(FASTAContainer< TFI_Vector > &proteins, std::vector< ProteinIdentification > &prot_ids, std::vector< PeptideIdentification > &pep_ids)
Same as run() with TFI_File, but for proteins which are already in memory.
MissingDecoy
Definition: PeptideIndexing.h:141
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:118
ExitCodes run(std::vector< FASTAFile::FASTAEntry > &proteins, std::vector< ProteinIdentification > &prot_ids, std::vector< PeptideIdentification > &pep_ids)
forward for old interface and pyOpenMS; use other run() methods for more control
~PeptideIndexing() override
Default destructor.
ExitCodes run(FASTAContainer< TFI_File > &proteins, std::vector< ProteinIdentification > &prot_ids, std::vector< PeptideIdentification > &pep_ids)
Re-index peptide identifications honoring enzyme cutting rules, ambiguous amino acids and target/deco...
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:122
@ PEPTIDE_IDS_EMPTY
Definition: PeptideIndexing.h:125
@ ILLEGAL_PARAMETERS
Definition: PeptideIndexing.h:126
@ DATABASE_EMPTY
Definition: PeptideIndexing.h:124
@ EXECUTION_OK
Definition: PeptideIndexing.h:123
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:53
A more convenient string class.
Definition: String.h:60
int Int
Signed integer type.
Definition: Types.h:102
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
template parameter for vector-based FASTA access
Definition: FASTAContainer.h:82