VMD-L Mailing List
From: Miguel Ferreira (tetrass_at_hotmail.com)
Date: Mon Apr 16 2007 - 10:10:03 CDT
- Next message: John Stone: "Re: VMD for Windows 64bits"
- Previous message: Lechuga, Javier: "VMD for Windows 64bits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi
I am confused about the best way to count the number of hbonds. In the
manual it is said that “The output of hbonds cannot be considered 100%
accurate if the donor and acceptor selection share a common set of atoms”.
What does this exactly means?
I am using the following script to count the number of hbonds of a protein
during a MD.:
set outfile [open "hbond.txt" w]
set nf [molinfo top get numframes]
set sel [atomselect top "resid 1 to 576 and (name \"N.*\" \"O.*\" \"S.*\")"]
for {set i 0} {$i < $nf} {incr i} {
$sel frame $i
set hbond [llength [lindex [measure hbonds 3.5 60 $sel] 0]]
puts $outfile "number of h-bonds in frame $i: $hbond"
}
close $outfile
Is there any way to modify this script to get the correct number of hbonds?
If
yes, how?
Thanks
Miguel
_________________________________________________________________
Partilhe ficheiros sem depender de pombos-correios!
http://www.communicationevolved.com/pt-pt/
- Next message: John Stone: "Re: VMD for Windows 64bits"
- Previous message: Lechuga, Javier: "VMD for Windows 64bits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]