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
2
prot2codon('P01009')
## Not run: prot2codon(prot = '1ATU', chain = 'A')

jcaledo/ptm_0.1.1 documentation built on April 4, 2020, 3:48 a.m.