These scripts allow users to convert ligands with .mol2 extension to .pdbqt files, which are the input files for AutoDock Vina.
Scripts must be stored in the same directory as .mol2 files because they use getwd() (in R) and os.getcwd() (in Python) functions.
It is worth mentioning that users can freely edit strings to adjust scripts to convert various molecule files.
-
Installed OpenBabel.
-
Installed glue() package for R script:
install.packages("glue")
- OpenBabel - OpenBabel Documentation