How to create multiple molecules using psfgen

From: Sonibare, Kolawole (
Date: Tue May 15 2018 - 17:32:32 CDT

Dear NAMD users,

I am a new NAMD user and I intend to run a simulation of 120 molecules of an organic compound. Using some examples, I have been able to generate just a single molecule using psfgen. Please, how can I use this to get 120 molecules? I have attached my tcl script.

package require psfgen
set name 2units

segment li {
 residue 1 SYR
 residue 2 GUAI

patch 4O5 li:1 li:2

regenerate angles dihedrals
coordpdb plant.pdb
writepdb $name.pdb
writepsf $name.psf


This archive was generated by hypermail 2.1.6 : Tue Dec 31 2019 - 23:19:55 CST