VMD-L Mailing List
From: Eduard Schreiner (eschrein_at_ks.uiuc.edu)
Date: Tue May 10 2011 - 09:51:13 CDT
- Next message: Carolyn Phillips: "Re: Calculating RMSD on two sets of points"
- Previous message: Robert Wohlhueter: "bad window parameter"
- In reply to: maria goranovic: "trajectory of water within 5 A of protein"
- Next in thread: Emmanuel Baribefe Naziga: "Re: trajectory of water within 5 A of protein"
- Reply: Emmanuel Baribefe Naziga: "Re: trajectory of water within 5 A of protein"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Maria,
I have a proc which will do what you want (ww_nearest.tcl). The file
get_closest.tcl shows how it can be used.
Note:
1. it is SLOW for large systems and certainly can be improved
2. it's certainly not the best way to do that, but it seems to work
for me (I tried it for water and for ions; I did not use it for
anything serious, though)
3. it is not extensively tested
Check it out and let me know how that works for you.
Maybe somebody knows a better way; any suggestions/improvements are appreciated.
let me know if you have any trouble with it
eddi
On Tue, May 10, 2011 at 9:27 AM, maria goranovic
<mariagoranovic_at_gmail.com> wrote:
> Hi
> I know this has been discussed before, but I did not figure out how to reply
> to the original thread
> So, like many other people here, I want to output a trajectory containing
> only water molecules within 5 A of the protein. the obvious problem is that
> VMD expects each frame to have exactly the same number of atoms.
> However, is there no way to ask vmd to write frames containing the closest N
> water molecules to the protein? Has someone written a script for this?
> Thank you for helping.
> Maria
> --
> Maria G.
> Technical University of Denmark
> Copenhagen
>
- application/x-tcl attachment: ww_nearest.tcl
- application/x-tcl attachment: get_closest.tcl
- Next message: Carolyn Phillips: "Re: Calculating RMSD on two sets of points"
- Previous message: Robert Wohlhueter: "bad window parameter"
- In reply to: maria goranovic: "trajectory of water within 5 A of protein"
- Next in thread: Emmanuel Baribefe Naziga: "Re: trajectory of water within 5 A of protein"
- Reply: Emmanuel Baribefe Naziga: "Re: trajectory of water within 5 A of protein"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]