Closed shaharsu closed 8 months ago
Dear shaharsu,
Thanks a lot for your interest in using SURFMAP.
Your issue seems related to the default CRAN mirror in R that is used by R internally to fetch R packages from CRAN when using install.packages(). How did you install R on your machine?
In order to fix it, you could try the following:
gedit ~/.Rprofile
local({
r <- getOption("repos")
r["CRAN"] <- "https://cloud.r-project.org/"
options(repos = r)
})
Then save and exit.
Open an interactive R terminal and try to install the following packages:
packages <- c("optparse", "data.table", "mapproj")
installed_packages <- packages %in% rownames(installed.packages()) if (any(installed_packages == FALSE)) { install.packages(packages[!installed_packages]) }
If the step 4 works, then it should be ok for using SURFMAP.
Let me know if it helps. By the way, we really advise to use the docker image, especially if you later want to compute electrostatics potential.
Sincerely,
NC
It worked!! Thanks so much for the quick and thorough response.
Shahar.
Hi,
I've been looking for an algorithm to do these surfaces for a while - thanks so much for writing this! I'm super excited to use it, but have been running into this issues (run locally, without docker). command: surfmap -pdb 1UBQ.pdb -tomap stickiness -verbose 2
output: