Giter Club home page Giter Club logo

Comments (3)

lohedges avatar lohedges commented on July 23, 2024

This is what will be done by BioSimSpace when writing the pert file and AMBER prm/rst files as part of the SOMD free energy protocol. I plan on making a copy of the user input molecule, then applying my pert file writer (which has to rename the atoms in order to make them unique). You can look at the _toPertFile method in BioSimSpace/python/_SireWrappers/_molecue.py to see how the renaming works.

I'll leave this issue as a reminder and close when the pert file / free energy protocol is fully implemented.

from biosimspace.

jmichel80 avatar jmichel80 commented on July 23, 2024

On a related note, check also def make_pert_file in
https://github.com/CCPBioSim/fesetup/blob/dev/mutate/topol/pertfile.py

I don't know how BSS merge molecules handle this, but there was some complicated logic in FESetup to make sure that dihedrals and impropers were correctly written in the pert file. The issue is that the same dihedral or improper may be defined with different atom indices in the respective end-states, and care must be taken to avoid accidentally duplicating forcefield terms.

There are also some rules around the values of bond/angles or dihedral/impropers for terms involving dummy atoms that could be controlled with keyword arguments.

from biosimspace.

lohedges avatar lohedges commented on July 23, 2024

I believe I handle this correctly in both the Gromacs and pert file writer. Since all of the terms are stored as Sire objects, with corresponding BondIDs, AngleIDs, and DihedralDs, it's easy to check for matching terms in the end-states, e.g. by checking the the ID and its mirror.

I'll take a look through the FESetup logic to see if I'm missing anything. For the Gromacs writer, I believe that my procedure is consistent with everything from the latest manual.

from biosimspace.

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.