View source: R/misc-02-readPDB.R
readPDB | R Documentation |
This function reads protein sequences in PDB (Protein Data Bank) format, and return the amino acid sequences represented by single-letter code.
readPDB(file = system.file("protseq/4HHB.pdb", package = "protr"))
file |
Path to the file containing the protein sequences in PDB format.
If it does not contain an absolute or
relative path, the file name is relative to the current
working directory, |
Character vector of the protein sequence.
Nan Xiao <https://nanx.me>
Protein Data Bank Contents Guide: Atomic Coordinate Entry Format Description, Version 3.30. Accessed 2013-06-26. https://files.wwpdb.org/pub/pdb/doc/format_descriptions/Format_v33_Letter.pdf
See readFASTA
for reading
protein sequences in FASTA format.
Seq4HHB <- readPDB(system.file("protseq/4HHB.pdb", package = "protr"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.