Code Monkey home page Code Monkey logo

namd_to_charmm-gui's Introduction

NAMD to CHARMM-GUI FF Converter

Tutorial for converting NAMD/VMD-generated psf/pdb files to CHARMM PSF/CRD (credit attributed where appropriate to the AMAZING humans who developed these scripts)

To use the CHARMM-GUI FF Converter (current as of Sept. 29, 2021), you need to input a CHARMM-compatible CRD and PSF.

1. Convert PSF/PDB to CHARMM CRD

  • Use the script from the VMD scripts library, found here, written by Mitchell Gleed (mgleed at byu.edu) 2015. (Last accessed Sept 22, 2021)
  • To use with interactive VMD console:
vmd -dispdev text
mol new PSF.psf 
mol addfile PDB.pdb
source write_charmm_crd.tcl
writecharmmcoor "output.crd" 0 "normal"

Usage Note: Use the "normal" keyword, even if your system > 99,999 atoms. There's a bug in the code where it won't work if you use "expanded" as stated.

  1. Generate CHARMM-compatible PSF with PSFGEN
  • Generate the psf with psfgen
psfgen
readmol psf PSF.psf pdb PDB.pdb
writepsf x-plor XPLOR.psf
  • Add "XPLOR" keyword to the header of the XPLOR.psf:
PSF EXT CMAP XPLOR

Thanks to the CHARMM-GUI help team, and specifically Jumin Lee and Nathan Kern for instructions here, and Lorenzo Casalino for finding a typo. (Adding the "XPLOR" keyword suddenly made this work??? Whaaat??? Why are there so many secrets?)

Note: Until Sept. 29, 2021, 1pm PST, there was a bug in the CHARMM-GUI FF Converter in which it would not accept PSF files with capital letters. We have been informed that this is no longer an issue and you can name the psf file anything you want, e.g., ABBY.psf works.

Upload Files to CHARMM-GUI FF Converter

  • Your files should now be readable by the FF Converter. If you get an error saying you're missing a residue, you'll need to upload the relevant topology files that contain info for that residue.
  • You can now run through the steps and generate input files for GROMACS, AMBER, etc.

namd_to_charmm-gui's People

Contributors

fearlessroad avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

riazi-r

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.