Renumerates residue position.
renum(up_id, pos, from, to, ...)
the UniProt ID.
position in the initial sequence.
origin of the initial sequence, it should be one among 'uniprot', 'metosite' and 'pdb'.
target sequence, it should be one among 'uniprot', 'metosite' and 'pdb'.
additional arguments (PDB ID and chain) when 'pdb' is either origin or destination.
Returns the final position.
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.
is.at(), aa.at(), renum.pdb(), renum.meto(), aa.comp()
# 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