read.pdb()/write.pdb() "incomplete final line found"

Issue #39 resolved
Barry Grant created an issue

Most recent update gives some new and not nice warnings

Can test with just one of the files mentioned below:

#+ Download, cache=TRUE
# GPCRs
ids <- c("3UON_A","4DAJ_A","2RH1_A","3EML_A","3ODU_A", "1F88_A")
raw.files <- get.pdb(ids, path = "full_pdbs")
files <- pdbsplit(raw.files, ids, path = "chain_pdbs")

#+ Analysis, cache=TRUE
# Alignment
pdbs <- pdbaln(files)

## There were 14 warnings (use warnings() to see them)
warnings()
## Warning messages:
## 1: In readLines(file, n = maxlines) :
##  incomplete final line found on 'chain_pdbs/3UON_A.pdb'
## 2: In readLines(file, n = maxlines) :
##  incomplete final line found on 'chain_pdbs/4DAJ_A.pdb'
## etc...

Comments (2)

  1. Log in to comment