Learn R Programming

ptm (version 0.2.2)

renum: 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.

Value

Returns the final position.

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.

See Also

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

Examples

Run this code
# NOT RUN {
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')
# }

Run the code above in your browser using DataLab