Giter VIP home page Giter VIP logo

Comments (3)

rwxayheee avatar rwxayheee commented on July 30, 2024

Hi @jianwen350 As suggested by the message you posted, can you share your input files and other information?

from autodock-vina.

jianwen350 avatar jianwen350 commented on July 30, 2024

Hi @jianwen350 As suggested by the message you posted, can you share your input files and other information?

Hi @rwxayheee Thanks so much for your reply. The commands I used for preparing ligand and receptor are:

prepare_receptor4.py -r liep.pdb -o liep4.pdbqt -A hydrogens
prepare_ligand.py -l imb.pdb -o ligand.pdbqt -A hydrogens

As I typed this, error occur:
vina --receptor liep4.pdbqt --ligand ligand.pdbqt --config config.txt --exhaustiveness=32 --out vina_out1.pdbq
error:
An internal error occurred in ../../../src/lib/parse_pdbqt.cpp(69).

When I use prepare_receptor.py for preparing receptor, a different error occur:
prepare_receptor.py -r liep.pdb -o liep.pdbqt -A hydrogens
prepare_ligand4.py -l imb.pdb -o ligand.pdbqt -A hydrogens
vina --receptor liep.pdbqt --ligand ligand.pdbqt --config config.txt --exhaustiveness=32 --out vina_out1.pdbq

error:
PDBQT parsing error: Atom type 9.00 -17.40 is not a valid AutoDock type (atom types are case-sensitive).

ATOM 1 N MET A 225 19.353 41.547 -3.887 1.00 72.26 -0.263 9.00 -17.40

Thanks so much for helping me.
All files I used is attached.
bug.zip

from autodock-vina.

rwxayheee avatar rwxayheee commented on July 30, 2024

Hi @jianwen350

prepare_ligand.py -l imb.pdb -o ligand.pdbqt -A hydrogens

prepare_ligand.py outputs a PDBQ file of the ligand, which is not the expected format for Vina. Compared to a PDBQT file, the PDBQ file is missing the T (the atom type) column.

If you found prepare_ligand.py in a recent version of MGLTools (?), there is a newer version of this python script named prepare_ligand4.py that can make a ligand PDBQT from a ligand PDB file. Take a look at the help messages and the contents of both scripts and you will notice the difference. Let me know if there's anything else i can be of help with

prepare_receptor.py -r liep.pdb -o liep.pdbqt -A hydrogens

Similar problem with prepare_receptor.py - it makes a PDBQS file of the receptor, with S (solvation) but no T (type). At the moment Vina expects both ligand and receptor in the PDBQT format.

You can find more information about the legacy formats in some old manual.

from autodock-vina.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.