check_protein_sequences {pureseqtmr} | R Documentation |
Check one or more protein sequences
Description
Will stop if the protein sequence is invalid, with a helpful error message.
Usage
check_protein_sequences(protein_sequences)
Arguments
protein_sequences |
one ore more protein sequence,
each sequence with the amino acids as capitals, for
example |
Details
A protein sequence is invalid if:
it has zero, two or more sequences
the sequence contains zero, 1 or 2 amino acids
the sequence contains characters that are not in the amino acid uppercase alphabet, that is
ACDEFGHIKLMNPQRSTVWY
Value
nothing. Will stop at the first invalid protein sequence, with a helpful error message.
Examples
check_protein_sequences(c("FAMILYVW", "FAMILYVW"))
[Package pureseqtmr version 1.4 Index]