Peptide sequences: upper-case letters only, without whitespace or modifications. annotate_peptides() removes surrounding whitespace before it calls this function.
fasta
A list of protein sequences with unique names, as returned by read_fasta().
peptide
Name of the result column that holds the peptide sequences.
Details
The protein sequences are searched in upper case, with each character other than a letter, such as the stop codon * of a translated database or a blank, replaced by X. The offsets are those of the sequences in fasta.
Value
A data frame with one row per occurrence and the columns protein_id, peptide (named by the argument), offset (1-based start of the peptide) and protein_sequence (the sequence as searched); with 0 rows if no peptide occurs.
See Also
Other protein inference: annotate_peptides(), greedy_parsimony(), greedy_to_table(), pepprot, protpepmetashort