VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Jan 03 2005 - 16:20:51 CST
- Next message: VISWANADHA SRIDHARA: "pdb files"
- Previous message: Osmany Guirola Cruz: "merge"
- In reply to: Osmany Guirola Cruz: "merge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
The very simplest method would be to just concatenate the two files
together (removing the end/begin lines), assuming they don't use the
same chain IDs etc. This doesn't work if you've got complex structures,
but is a simple brute-force method if you're creating all of the structures
for yourself. A lot of the answer to the question depends on what your
goal is once you've merged them. Most likely, the simple method won't
work and you'll need to do something slightly more sophisticated, perhaps
along the lines of what the mergepdb script I give the link for below does.
You could also do various things with 'pdbcat':
http://www.ks.uiuc.edu/Development/MDTools/pdbcat/
Another way is to see if the VMD mergepdbs script works for your purpose:
http://www.ks.uiuc.edu/Research/vmd/script_library/scripts/mergepdbs/
John Stone
vmd_at_ks.uiuc.edu
On Mon, Jan 03, 2005 at 05:26:46PM +0000, Osmany Guirola Cruz wrote:
> Hi
> How can i merge two pdb files in one.
>
-- 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: VISWANADHA SRIDHARA: "pdb files"
- Previous message: Osmany Guirola Cruz: "merge"
- In reply to: Osmany Guirola Cruz: "merge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]