Fix atoms in simulation with NAMD

I am working on NAMD recently. I used AMBER force field files. NAMD did have much better parallel computing for big system.

The solution was got from

1) you need 1st create a new .pdb file with B col specified as ‘0’ for unaffected atoms, and ‘1’ for fixed or constrained atoms. you can do it with VMD.
after you load your protein and open the TK console, type the following for example,
set all [atomselect top all]
set fixatom [atomselect top “protein”]
$all set beta 0
$fixatom set beta 1
$all writepdb fixprotein.pdb

2) then you simply implement the fix or constrain patch into your .conf file
a short example,
fixedAtoms on
fixedAtomsFile fixprotein.pdb
fixedAtomsCol B


One thought on “Fix atoms in simulation with NAMD

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s