VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Apr 01 2004 - 11:08:11 CST
- Next message: John Stone: "Re: about dynamical change color of atoms"
- Previous message: Justin Gullingsrud: "Re: draw command"
- In reply to: Gadi Oron: "Re: how to save coordinates after moving molecule in VMD?"
- Next in thread: John Stone: "Re: how to save coordinates after moving molecule in VMD?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Right,
You can't really merge them properly without using psfgen.
Li should save the aligned coordinate files first using one of the
methods I suggested. Here's a simple psfgen script that should merge
a bunch of PDB files together, probably needs a bit of cooking for real
use, but you get the idea:
package require psfgen
# this is a hack, just to get the topology file
package require membrane
set topologyfile [format "%s/plugins/noarch/tcl/membrane1.0/top_all27_prot_lipid
.inp" $env(VMDDIR)]
# topology /path/to/top_all27_prot_lipid.inp
topology $topologyfile
set nseg 1
foreach pdb [lsort [glob *.pdb]] {
set segid V$nseg
segment $segid {
first NONE
last NONE
pdb $pdb
}
coordpdb $pdb $segid
incr nseg
}
guesscoord
writepsf mergedpdb.psf
writepdb mergedpdb.pdb
On Thu, Apr 01, 2004 at 03:48:21PM +0200, Gadi Oron wrote:
> Hi,
>
> VMD cannot (AFAIK) save merge 2 proteins. To achieve it you must save
> one of the aligned molecules and then merge bothe using psfgen.
>
>
> On Thu, 2004-04-01 at 05:42, li wrote:
> > Hi,all:
> > A very simple question.I need align two molecules in VMD, then save the two molecule coordinates in another PDB file ,but failed in finding out this command in the VMD manual.
> > thank in advance
> > --
> > USTC Alumni Email System
> --
> ================= Gadi ORON, PhD -o- Proteologics ======================
> ========== gadi/at/proteologics.com ========== +972 8 9475666 ==========
> We only acknowledge small faults in order to make it appear that we are
> free from great ones.
> -- La Rouchefoucauld
> ******************************************************************************
> This e-mail message, together with any attachments, contains information of
> Proteologics, Ltd (Rehovot, Israel) that may be confidential, proprietary
> copyrighted and/or legally privileged, and is intended solely for the use of
> the individual or entity named in this message. If you are not the intended
> recipient, please notify us immediately and do not disclose, distribute, or
> retain this e-mail or any part of it. Proteologics, Ltd reserves the right to
> monitor all e-mail communications through its network.
> ** eSafe scanned this email for viruses, vandals and malicious content. **
> ******************************************************************************
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: John Stone: "Re: about dynamical change color of atoms"
- Previous message: Justin Gullingsrud: "Re: draw command"
- In reply to: Gadi Oron: "Re: how to save coordinates after moving molecule in VMD?"
- Next in thread: John Stone: "Re: how to save coordinates after moving molecule in VMD?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]