renum: Renumerate Residue Position

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/aa.R

Description

Renumerates residue position.

Usage

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

Arguments

up_id

the UniProt ID.

pos

position in the initial sequence.

from

origen 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()

Examples

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

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