VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Oct 27 2010 - 12:53:23 CDT
- Next message: Andrew Jewett: "menus unresponsive in ubuntu 10.10"
- Previous message: ban arn: "Water mediated hydrogen bond - VMD script"
- In reply to: Kshatresh Dutta Dubey: "How to delete a residue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
The easiest way is to select the rest of the structure (other than the
residue that you want to delete) and save the selection to a file, or files
as needed. A trivial example to delete resid FOO would be:
set sel [atomselect top "not resid FOO"]
$sel writepdb /tmp/nofoo.pdb
$sel writepsf /tmp/nofoo.psf
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Tue, Oct 26, 2010 at 11:21:45AM +0530, Kshatresh Dutta Dubey wrote:
> Dear Users,
>
> I want to delete a residue (not hide) from loaded structure but i couldn't
> find any idea about it. I used 'mol delete' script but it deletes entire
> molecules.
> I am seeking for help.
> Thanks in advance.
> Kshatresh
-- 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: Andrew Jewett: "menus unresponsive in ubuntu 10.10"
- Previous message: ban arn: "Water mediated hydrogen bond - VMD script"
- In reply to: Kshatresh Dutta Dubey: "How to delete a residue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]