Date: Wed Apr 05 2017 - 09:36:00 CDT

I am trying to find number of lipids around residues of my protein. The command I am giving is
           “ for { set i 0 } { $i < $n } { incr i } {
              set sel [atomselect top "lipids and same residue as within 15 of resid 20" frame $i]
              set DPPC [$sel get resid]
              puts $file "$i $DPPC"
              } “
But this command is valid for only 1 protein residue at a time.
So, it would be really helpful if someone could tell me a way to do it for >1 residue(s) at once.


Sent from Mail for Windows 10