readPDB: Read Protein Sequences in PDB Format

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

View source: R/702-readPDB.R

Description

Read Protein Sequences in PDB Format

Usage

1
readPDB(file = system.file("protseq/4HHB.pdb", package = "BioMedR"))

Arguments

file

The name of the file which the sequences in PDB format are to be read from. If it does not contain an absolute or relative path, the file name is relative to the current working directory, getwd. The default here is to read the 4HHB.PDB file which is present in the protseq directory of the BioMedR package.

Details

This function reads protein sequences in PDB (Protein Data Bank) format, and return the amino acid sequences represented by single-letter code.

Value

A character vector, representing the amino acid sequence of the single-letter code.

Author(s)

Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <http://r2s.name>

References

Protein Data Bank Contents Guide: Atomic Coordinate Entry Format Description, Version 3.30. Accessed 2013-06-26. ftp://ftp.wwpdb.org/pub/pdb/doc/format_descriptions/Format_v33_Letter.pdf

See Also

See readFASTA for reading protein sequences in FASTA format.

Examples

1
2
Seq1atp = readPDB(system.file('protseq/1atp.pdb', package = 'BioMedR'))
Seq1atp

wind22zhu/BioMedR documentation built on Oct. 21, 2019, 12:51 p.m.