Errors in Reading PDB File

Issue #550 resolved
Olivia Debnath created an issue

Hey! For my research, I need to do some in-silico mutagenesis (for example, mutating phenylalanine to alanine) using the PDB structure. I did the mutation using PyMol Mutagenesis Wizard and then did the energy minimization using Force Field: OPLS 2005. Now, I want to use this PDB file to do CNA in bio3d- mainly to see how the community nodes are reorganized. The problem is bio3d is showing errors in reading the file:

setwd("Documents") pdb <- read.pdb("filename.pdb") Error in .read_pdb(file, multi = multi, hex = hex, maxlines = maxlines, : basic_string::substr

The energy optimized file is attached herewith- W165C_Opt.pdb.

Comments (4)

  1. Xinqiu Yao

    Hi,

    Thanks for reporting. We will check the error soon. At the same time, you can use read.pdb2(), which works fine in my test.

  2. Log in to comment