VMD-L Mailing List
From: Pavan Ghatty (pavan.vmd_at_gmail.com)
Date: Fri Feb 25 2011 - 15:09:45 CST
- Next message: Axel Kohlmeyer: "Re: lindex related question"
- Previous message: Ranyere Deyler: "Paratool`s error reading single point calculation."
- Next in thread: Axel Kohlmeyer: "Re: lindex related question"
- Reply: Axel Kohlmeyer: "Re: lindex related question"
- Reply: Axel Kohlmeyer: "Re: lindex related question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hello All,
This is really a lindex question. I am tyring to calculate total number of
hydrogen bonds between two selections.
>Main< (w9) 16 % measure hbonds 3.4 30 $cell $pro
{6320 6257 6225 6183} {1406 2542 2070 3624} {6321 6258 6226 6184}
>Main< (w9) 15 % lindex [measure hbonds 3.4 30 $cell $pro] 0
6320 6257 6225 6183
Clearly in this example there are 4 hbonds. How can I get the number 4 from:
lindex [measure hbonds 3.4 30 $cell $pro] 0 ?
I found this rather old thread [
http://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/3372.html] where
"Ahmet" seems to have written an amazing code for hydrogen bond calculation.
Is it archived somewhere?
Thanks,
Pavan
- Next message: Axel Kohlmeyer: "Re: lindex related question"
- Previous message: Ranyere Deyler: "Paratool`s error reading single point calculation."
- Next in thread: Axel Kohlmeyer: "Re: lindex related question"
- Reply: Axel Kohlmeyer: "Re: lindex related question"
- Reply: Axel Kohlmeyer: "Re: lindex related question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]