getPTM | R Documentation |
Function that takes a PDB file as input, and then extracts the AA (amino acid) information, and chain information of the chosen protein.
getPTM(accession)
pdbFile |
A PDB file, could be downloaded from PDB online |
name |
the 4-letter PDB codes/identifiers of the PDB file that was chosen as 'pdbFile' input |
Returns a list of containing 2 pieces information from the PDB file: AA and chain information.
Yao, X., G. Scarabelli, L. Skjaerven, and B. Grant (2020). Protein Structure Networks with Bio3D. bio3D. http://thegrantlab.org/bio3d/articles/online/cna_vignette/cna_vignette.spin.html#references-1.
Yao, X., G. Scarabelli, L. Skjaerven, and B. Grant (2020). chain.pdb: Find Possible PDB Chain Breaks. bio3D. https://rdrr.io/cran/bio3d/man/chain.pdb.html.
# Using pdb2 and pdb file available with package #showInfoPDB(pdb, "1bm8") #showInfoPDB(pdb2, "1si4")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.