Learn R Programming

ptm (version 0.2.7)

prot2codon: Find the Coding Triplets for a Given Protein

Description

Finds the codons corresponding to a given protein.

Usage

prot2codon(prot, chain = "", laxity = TRUE)

Value

Returns a dataframe with as many rows as residues has the protein.

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.

Author

Juan Carlos Aledo

Examples

Run this code
if (FALSE) prot2codon('P01009')

Run the code above in your browser using DataLab