Learn R Programming

ptm (version 0.2.2)

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.

Examples

Run this code
# NOT RUN {
prot2codon('P01009')
# }
# NOT RUN {
prot2codon(prot = '1ATU', chain = 'A')
# }

Run the code above in your browser using DataLab