renum: Renumerate Residue Position

View source: R/aa.R

renumR Documentation

Renumerate Residue Position

Description

Renumerates residue position.

Usage

renum(up_id, pos, from, to, ...)

Arguments

up_id

the UniProt ID.

pos

position in the initial sequence.

from

origin of the initial sequence, it should be one among 'uniprot', 'metosite' and 'pdb'.

to

target sequence, it should be one among 'uniprot', 'metosite' and 'pdb'.

...

additional arguments (PDB ID and chain) when 'pdb' is either origin or destination.

Details

Either the origin sequence or the target sequence should be uniprot. Nevertheless, the conversion pdb -> metosite, for instance, can be achieved through the path: pdb -> uniprot -> metosite. If 'pdb' is selected, then the PDB ID and the involved chain must be provided, in that order.

Value

Returns the final position.

Author(s)

Juan Carlos Aledo

See Also

is.at(), aa.at(), renum.pdb(), renum.meto(), aa.comp()

Examples

## Not run: renum(up_id = 'P01009', pos = 60, from = 'uniprot',
                         to = 'pdb', pdb = '1ATU', chain = 'A')
## End(Not run)

ptm documentation built on Aug. 7, 2022, 5:05 p.m.

Related to renum in ptm...