prot2codon: Find the Coding Triplets for a Given Protein

Description Usage Arguments Value Author(s) Examples

View source: R/getseq.R

Description

Finds the codons corresponding to a given protein.

Usage

1
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.

Author(s)

Juan Carlos Aledo

Examples

1
## Not run: prot2codon('P01009')

ptm documentation built on May 24, 2021, 9:06 a.m.

Related to prot2codon in ptm...