prot2codon: Find the Coding Triplets for a Given Protein
Description
Finds the codons corresponding to a given protein.
Usage
prot2codon(prot, chain = "", laxity = TRUE)
Arguments
prot
is either a UniProt or PDB id, or the path to a pdb file.
chain
when prot corresponds to a pdb, the chain of interest must be provided.
laxity
logical, if FALSE the program stop when a mismatch between the protein and the gene sequences is detected. Otherwise the program doesn't stop and at the end points out the mismatches.
Value
Returns a dataframe with as many rows as residues has the protein.