Thanks, Judit.
It worked for everything, the whole chain, a part of a chain and for all
waters.
Debreczeni, Judit wrote:
How about this:
1. click on the bin in the toolbar and select "Delete zone"
2. go to the first residue in the chain (in the Go to atom window or
with ^g), click on the residue
3. similarly, go to the last one and click that
-> Coot should delete the chain (it will take a while...)
It that seems a little fiddly, try this:
---
(define (delete-chain imol chain-id)
(if (and (string? chain-id) and (number? imol))
(let* ((n-res (chain-n-residues chain-id imol))
(start (seqnum-from-serial-number imol chain-id 0))
(end (seqnum-from-serial-number imol chain-id (- n-res
1))))
(delete-residue-range imol chain-id start end))))
---
where imol is the molecule number and chain-id is the chain you want to
delete.
using it like e.g.: (delete-chain 0 "A")
JED.
How nice would it be to be able to delete chains/residues in the go to
atom window... or renumber residues and change chain IDs and copy
fragments by simple drag-and-drop... sigh.
--------------------------------------------------------------------------
AstraZeneca UK Limited is a company incorporated in England and Wales with
registered number: 03674842 and a registered office at 15 Stanhope Gate, London
W1K 1LN.
Confidentiality Notice: This message is private and may contain confidential,
proprietary and legally privileged information. If you have received this
message in error, please notify us and remove it from your system and note that
you must not copy, distribute or take any action in reliance on it. Any
unauthorised use or disclosure of the contents of this message is not permitted
and may be unlawful.
Disclaimer: Email messages may be subject to delays, interception, non-delivery
and unauthorised alterations. Therefore, information expressed in this message
is not given or endorsed by AstraZeneca UK Limited unless otherwise notified by
an authorised representative independent of this message. No contractual
relationship is created by this message by any person unless specifically
indicated by agreement in writing other than email.
Monitoring: AstraZeneca UK Limited may monitor email traffic data and content
for the purposes of the prevention and detection of crime, ensuring the
security of our computer systems and checking Compliance with our Code of
Conduct and Policies.
-----Original Message-----
From: Mailing list for users of COOT Crystallographic Software
[mailto:c...@jiscmail.ac.uk] On Behalf Of Maia Cherney
Sent: 31 January 2010 20:07
To: COOT@JISCMAIL.AC.UK
Subject: Re: [COOT] Coot, delete a chain
Hi all,
Is there a way to delete the whole chain of a complex?
Or all solvent atoms at once?
Maia