Code Monkey home page Code Monkey logo

Comments (7)

diogomart avatar diogomart commented on September 1, 2024

Hi,

try changing --maps rec.*.map to --maps rec

from autodock-vina.

debanjansen48 avatar debanjansen48 commented on September 1, 2024

lower_isomer-2/Vina12$ ./vina12 --config config.txt --maps rec --scoring vinardo --out lig_out.pdbqt --cpu 8
#################################################################

If you used AutoDock Vina in your work, please cite:

O. Trott, A. J. Olson,

AutoDock Vina: improving the speed and accuracy of docking

with a new scoring function, efficient optimization and

multithreading, Journal of Computational Chemistry 31 (2010)

455-461

DOI 10.1002/jcc.21334

Please see http://vina.scripps.edu for more information.

#################################################################

ERROR: Cannot specify both receptor and affinity maps at the same time, --flex argument is allowed with receptor or maps.

from autodock-vina.

debanjansen48 avatar debanjansen48 commented on September 1, 2024

Tried with given example files... similar error ......

(base) debanjan@debanjan:~/Downloads/AutoDock-Vina-1.2.0.dev3/example/basic_docking/solution$ ./vina12 --config 1iep_receptor_vina_box.txt --scoring vinardo --maps 1iep_receptor.*.map
Command line parse error: too many positional options have been specified on the command line

Correct usage:

Input:
--receptor arg rigid part of the receptor (PDBQT)
--flex arg flexible side chains, if any (PDBQT)
--ligand arg ligand (PDBQT)
--batch arg batch ligand (PDBQT)
--scoring arg (=vina) scoring function (ad4, vina or vinardo)

Search space (required):
--maps arg affinity maps for the autodock4.2 (ad4) or vina
scoring function
--center_x arg X coordinate of the center (Angstrom)
--center_y arg Y coordinate of the center (Angstrom)
--center_z arg Z coordinate of the center (Angstrom)
--size_x arg size in the X dimension (Angstrom)
--size_y arg size in the Y dimension (Angstrom)
--size_z arg size in the Z dimension (Angstrom)

Output (optional):
--out arg output models (PDBQT), the default is chosen based
on the ligand file name
--dir arg output directory for batch mode
--write_maps arg output filename (directory + prefix name) for
maps. Option --force_even_voxels may be needed to
comply with .map format

Misc (optional):
--cpu arg (=0) the number of CPUs to use (the default is to try
to detect the number of CPUs or, failing that, use
1)
--seed arg (=0) explicit random seed
--exhaustiveness arg (=8) exhaustiveness of the global search (roughly
proportional to time): 1+
--max_evals arg (=0) number of evaluations in each MC run (if zero,
which is the default, the number of MC steps is
based on heuristics)
--num_modes arg (=9) maximum number of binding modes to generate
--min_rmsd arg (=1) minimum RMSD between output poses
--energy_range arg (=3) maximum energy difference between the best binding
mode and the worst one displayed (kcal/mol)
--spacing arg (=0.375) grid spacing (Angstrom)
--verbosity arg (=1) verbosity (0=no output, 1=normal, 2=verbose)

Configuration file (optional):
--config arg the above options can be put here

Information (optional):
--help display usage summary
--help_advanced display usage summary with advanced options
--version display program version

(base) debanjan@debanjan:~/Downloads/AutoDock-Vina-1.2.0.dev3/example/basic_docking/solution$ ./vina12 --config 1iep_receptor_vina_box.txt --scoring vinardo --maps 1iep_receptor.*.map
Command line parse error: too many positional options have been specified on the command line

Correct usage:

Input:
--receptor arg rigid part of the receptor (PDBQT)
--flex arg flexible side chains, if any (PDBQT)
--ligand arg ligand (PDBQT)
--batch arg batch ligand (PDBQT)
--scoring arg (=vina) scoring function (ad4, vina or vinardo)

Search space (required):
--maps arg affinity maps for the autodock4.2 (ad4) or vina
scoring function
--center_x arg X coordinate of the center (Angstrom)
--center_y arg Y coordinate of the center (Angstrom)
--center_z arg Z coordinate of the center (Angstrom)
--size_x arg size in the X dimension (Angstrom)
--size_y arg size in the Y dimension (Angstrom)
--size_z arg size in the Z dimension (Angstrom)

Output (optional):
--out arg output models (PDBQT), the default is chosen based
on the ligand file name
--dir arg output directory for batch mode
--write_maps arg output filename (directory + prefix name) for
maps. Option --force_even_voxels may be needed to
comply with .map format

Misc (optional):
--cpu arg (=0) the number of CPUs to use (the default is to try
to detect the number of CPUs or, failing that, use
1)
--seed arg (=0) explicit random seed
--exhaustiveness arg (=8) exhaustiveness of the global search (roughly
proportional to time): 1+
--max_evals arg (=0) number of evaluations in each MC run (if zero,
which is the default, the number of MC steps is
based on heuristics)
--num_modes arg (=9) maximum number of binding modes to generate
--min_rmsd arg (=1) minimum RMSD between output poses
--energy_range arg (=3) maximum energy difference between the best binding
mode and the worst one displayed (kcal/mol)
--spacing arg (=0.375) grid spacing (Angstrom)
--verbosity arg (=1) verbosity (0=no output, 1=normal, 2=verbose)

Configuration file (optional):
--config arg the above options can be put here

Information (optional):
--help display usage summary
--help_advanced display usage summary with advanced options
--version display program version

(base) debanjan@debanjan:~/Downloads/AutoDock-Vina-1.2.0.dev3/example/basic_docking/solution$ vina12 --config 1iep_receptor_vina_box.txt --scoring vinardo --maps 1iep_receptor.*.map
Command line parse error: too many positional options have been specified on the command line

Correct usage:

Input:
--receptor arg rigid part of the receptor (PDBQT)
--flex arg flexible side chains, if any (PDBQT)
--ligand arg ligand (PDBQT)
--batch arg batch ligand (PDBQT)
--scoring arg (=vina) scoring function (ad4, vina or vinardo)

Search space (required):
--maps arg affinity maps for the autodock4.2 (ad4) or vina
scoring function
--center_x arg X coordinate of the center (Angstrom)
--center_y arg Y coordinate of the center (Angstrom)
--center_z arg Z coordinate of the center (Angstrom)
--size_x arg size in the X dimension (Angstrom)
--size_y arg size in the Y dimension (Angstrom)
--size_z arg size in the Z dimension (Angstrom)

Output (optional):
--out arg output models (PDBQT), the default is chosen based
on the ligand file name
--dir arg output directory for batch mode
--write_maps arg output filename (directory + prefix name) for
maps. Option --force_even_voxels may be needed to
comply with .map format

Misc (optional):
--cpu arg (=0) the number of CPUs to use (the default is to try
to detect the number of CPUs or, failing that, use
1)
--seed arg (=0) explicit random seed
--exhaustiveness arg (=8) exhaustiveness of the global search (roughly
proportional to time): 1+
--max_evals arg (=0) number of evaluations in each MC run (if zero,
which is the default, the number of MC steps is
based on heuristics)
--num_modes arg (=9) maximum number of binding modes to generate
--min_rmsd arg (=1) minimum RMSD between output poses
--energy_range arg (=3) maximum energy difference between the best binding
mode and the worst one displayed (kcal/mol)
--spacing arg (=0.375) grid spacing (Angstrom)
--verbosity arg (=1) verbosity (0=no output, 1=normal, 2=verbose)

Configuration file (optional):
--config arg the above options can be put here

Information (optional):
--help display usage summary
--help_advanced display usage summary with advanced options
--version display program version

(base) debanjan@debanjan:~/Downloads/AutoDock-Vina-1.2.0.dev3/example/basic_docking/solution$ vina12 --config 1iep_receptor_vina_box.txt --maps 1iep_receptor.*.map
Command line parse error: too many positional options have been specified on the command line

Correct usage:

Input:
--receptor arg rigid part of the receptor (PDBQT)
--flex arg flexible side chains, if any (PDBQT)
--ligand arg ligand (PDBQT)
--batch arg batch ligand (PDBQT)
--scoring arg (=vina) scoring function (ad4, vina or vinardo)

Search space (required):
--maps arg affinity maps for the autodock4.2 (ad4) or vina
scoring function
--center_x arg X coordinate of the center (Angstrom)
--center_y arg Y coordinate of the center (Angstrom)
--center_z arg Z coordinate of the center (Angstrom)
--size_x arg size in the X dimension (Angstrom)
--size_y arg size in the Y dimension (Angstrom)
--size_z arg size in the Z dimension (Angstrom)

Output (optional):
--out arg output models (PDBQT), the default is chosen based
on the ligand file name
--dir arg output directory for batch mode
--write_maps arg output filename (directory + prefix name) for
maps. Option --force_even_voxels may be needed to
comply with .map format

Misc (optional):
--cpu arg (=0) the number of CPUs to use (the default is to try
to detect the number of CPUs or, failing that, use
1)
--seed arg (=0) explicit random seed
--exhaustiveness arg (=8) exhaustiveness of the global search (roughly
proportional to time): 1+
--max_evals arg (=0) number of evaluations in each MC run (if zero,
which is the default, the number of MC steps is
based on heuristics)
--num_modes arg (=9) maximum number of binding modes to generate
--min_rmsd arg (=1) minimum RMSD between output poses
--energy_range arg (=3) maximum energy difference between the best binding
mode and the worst one displayed (kcal/mol)
--spacing arg (=0.375) grid spacing (Angstrom)
--verbosity arg (=1) verbosity (0=no output, 1=normal, 2=verbose)

Configuration file (optional):
--config arg the above options can be put here

Information (optional):
--help display usage summary
--help_advanced display usage summary with advanced options
--version display program version

(base) debanjan@debanjan:~/Downloads/AutoDock-Vina-1.2.0.dev3/example/basic_docking/solution$ vina12 --config 1iep_receptor_vina_box.txt --scoring vinardo --maps 1iep_receptor
#################################################################

If you used AutoDock Vina in your work, please cite:

O. Trott, A. J. Olson,

AutoDock Vina: improving the speed and accuracy of docking

with a new scoring function, efficient optimization and

multithreading, Journal of Computational Chemistry 31 (2010)

455-461

DOI 10.1002/jcc.21334

Please see http://vina.scripps.edu for more information.

#################################################################

Input:
--receptor arg rigid part of the receptor (PDBQT)
--flex arg flexible side chains, if any (PDBQT)
--ligand arg ligand (PDBQT)
--batch arg batch ligand (PDBQT)
--scoring arg (=vina) scoring function (ad4, vina or vinardo)

Search space (required):
--maps arg affinity maps for the autodock4.2 (ad4) or vina
scoring function
--center_x arg X coordinate of the center (Angstrom)
--center_y arg Y coordinate of the center (Angstrom)
--center_z arg Z coordinate of the center (Angstrom)
--size_x arg size in the X dimension (Angstrom)
--size_y arg size in the Y dimension (Angstrom)
--size_z arg size in the Z dimension (Angstrom)

Output (optional):
--out arg output models (PDBQT), the default is chosen based
on the ligand file name
--dir arg output directory for batch mode
--write_maps arg output filename (directory + prefix name) for
maps. Option --force_even_voxels may be needed to
comply with .map format

Misc (optional):
--cpu arg (=0) the number of CPUs to use (the default is to try
to detect the number of CPUs or, failing that, use
1)
--seed arg (=0) explicit random seed
--exhaustiveness arg (=8) exhaustiveness of the global search (roughly
proportional to time): 1+
--max_evals arg (=0) number of evaluations in each MC run (if zero,
which is the default, the number of MC steps is
based on heuristics)
--num_modes arg (=9) maximum number of binding modes to generate
--min_rmsd arg (=1) minimum RMSD between output poses
--energy_range arg (=3) maximum energy difference between the best binding
mode and the worst one displayed (kcal/mol)
--spacing arg (=0.375) grid spacing (Angstrom)
--verbosity arg (=1) verbosity (0=no output, 1=normal, 2=verbose)

Configuration file (optional):
--config arg the above options can be put here

Information (optional):
--help display usage summary
--help_advanced display usage summary with advanced options
--version display program version

ERROR: Missing ligand(s).

from autodock-vina.

atillack avatar atillack commented on September 1, 2024

@debanjansen48 You almost have it working :-) The 1iep_receptor_vina_box.txt example config file only contains the parameters for the search box but not the ligand which you would need to specify in this example (i.e. --ligand 1iep_ligand.pdbqt).

Here is our writeup for this example:
https://autodock-vina.readthedocs.io/en/latest/docking_basic.html#running-autodock-vina

from autodock-vina.

BJWiley233 avatar BJWiley233 commented on September 1, 2024

I am having a prefix map issue. How in the "Hello World" does this not work?

% ls Q00534_fill.*.map                                                           
Q00534_fill.A.map       Q00534_fill.HD.map      Q00534_fill.NA.map      Q00534_fill.d.map
Q00534_fill.C.map       Q00534_fill.N.map       Q00534_fill.OA.map      Q00534_fill.e.map
vina --flex Q00534_fill.BL00010001_ligand_conect.fixed.out_flex.pdbqt --ligand trilaciclib.pdbqt --maps Q00534_fill --scoring vina --exhaustiveness 32 --out Q00534_fill_flex_trilaciclib_vina_out.pdbqt

Scoring function : vina
Flex receptor: Q00534_fill.BL00010001_ligand_conect.fixed.out_flex.pdbqt
Ligand: trilaciclib.pdbqt
Exhaustiveness: 32
CPU: 0
Verbosity: 1

Reading Vina maps ... 
ERROR: No *.map files with prefix "Q00534_fill"

from autodock-vina.

BJWiley233 avatar BJWiley233 commented on September 1, 2024

I added some debug print lines to print out the atom type and file name. This atom types don't match those normally from any sort of run Usage: prepare_receptor4.py -r filename. Is there a new prepare_receptor for vina?

CHECKING atom type: "C_H"

File name: "Q00534_fill.C_H.map"

CHECKING atom type: "C_P"

File name: "Q00534_fill.C_P.map"

CHECKING atom type: "N_P"

File name: "Q00534_fill.N_P.map"

CHECKING atom type: "N_D"

File name: "Q00534_fill.N_D.map"

CHECKING atom type: "N_A"

File name: "Q00534_fill.N_A.map"

CHECKING atom type: "N_DA"

File name: "Q00534_fill.N_DA.map"

CHECKING atom type: "O_P"

File name: "Q00534_fill.O_P.map"

CHECKING atom type: "O_D"

File name: "Q00534_fill.O_D.map"

CHECKING atom type: "O_A"

File name: "Q00534_fill.O_A.map"

CHECKING atom type: "O_DA"

File name: "Q00534_fill.O_DA.map"

CHECKING atom type: "S_P"

File name: "Q00534_fill.S_P.map"

CHECKING atom type: "P_P"

File name: "Q00534_fill.P_P.map"

CHECKING atom type: "F_H"

File name: "Q00534_fill.F_H.map"

CHECKING atom type: "Cl_H"

File name: "Q00534_fill.Cl_H.map"

CHECKING atom type: "Br_H"

File name: "Q00534_fill.Br_H.map"

CHECKING atom type: "I_H"

File name: "Q00534_fill.I_H.map"

CHECKING atom type: "Si"

File name: "Q00534_fill.Si.map"

CHECKING atom type: "At"

File name: "Q00534_fill.At.map"

CHECKING atom type: "Met_D"

File name: "Q00534_fill.Met_D.map"

CHECKING atom type: "C_H"

File name: "Q00534_fill.C_H.map"

CHECKING atom type: "C_P"

File name: "Q00534_fill.C_P.map"

CHECKING atom type: "W"

File name: "Q00534_fill.W.map"

from autodock-vina.

BJWiley233 avatar BJWiley233 commented on September 1, 2024

OK this only works for ad4 scoring function. This needs to be added to readthedocs as a warning under https://autodock-vina.readthedocs.io/en/latest/docking_basic.html?highlight=map#a-using-autodock4-forcefield 😄

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.