check_protein_sequence {pureseqtmr} | R Documentation |
Check one protein sequence
Description
Will stop if the protein sequence is invalid, with a helpful error message.
Usage
check_protein_sequence(protein_sequence)
Arguments
protein_sequence |
a protein 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 if the protein sequence is invalid, with a helpful error message.
Examples
check_protein_sequence("FAMILYVW")
[Package pureseqtmr version 1.4 Index]