Menu

New atom types

2020-05-12
2022-07-15
  • Fernando Davó Miralles

    Hello, is it possible to include new atom types or any way to customize the existing ones with different parameters? Thank you so much!

     
  • David Koes

    David Koes - 2020-05-12

    You can reparameterize the current types with the --custom_atoms flag (vinardo scoring has different parameters). See the output of --print_atom_types for the format.

     
  • Maxim Perfilov

    Maxim Perfilov - 2021-05-13

    Hello, could you please give more details about using --custom_atoms ? I'm trying to add boron atom, so I created file named 'boron' with 1 line: "B ...." with all ten numeric parameters with spaces as delimiters. However, when I try to use it I receive an error: Line 1: omitting atom type name B. I also tried to write parameters in file atom_constants.h, but the output of --print_atom_types showed no changes.

     
  • David Koes

    David Koes - 2021-05-13

    You can't create new atom types with --custom_atoms, you can only redefine the existing ones. To add atom types you need to change the source code.

    gnina already has a Boron type, so maybe use that?

     
    • Maxim Perfilov

      Maxim Perfilov - 2021-05-13

      Thank you for your answer!
      Can you explain, how to add them in source code, or where I can read about it?

      I know about gnina, I extracted parameters from it. However, I use smina running on the server without root access to install and use gnina. So if it possible, I'd like to solve this issue with smina.

       
  • David Koes

    David Koes - 2021-05-13

    Take the Boron related changes in atom_constants.h from gnina and put them in smina.
    If you can't install custom software, you aren't going to be use the version of smina you want to make, although I don't see why you wouldn't be able to use an executable.

     
    • Maxim Perfilov

      Maxim Perfilov - 2021-05-14

      Thank you! I managed to use the gnina binaries. I suppose, it's the best solution. I'm not so familiar with *nix systems, so when I changed atom_constants.h, I didn't recompile smina.

       
    • Anna Cooper

      Anna Cooper - 2022-07-15

      Hi, how to put Boron related changes in smina when I use Jupyter virtual environment?

       
  • David Koes

    David Koes - 2022-07-15

    You can't. Smina doesn't support Boron as an atom type. gnina does and is a fork of smina though.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.