Re: [PyMOL] Polar interactions within selection

2012-06-07 Thread James Starlight
By the way how I have the slightly another task- I want to see all VDV
contacts surrounded selected residues. What should I make changes in the
Thomas's script for that ?

e.g firstly I've defined another residues in that case I have only one type
of residues- all hydrophobic residues. But what exaclty cutt-offs and
addition python modules should I use?


James



2012/4/17 James Starlight jmsstarli...@gmail.com

 Thanks, Thomas!

 Your script works fine. I've tested in one pdb structure and it finds all
 polar and salt-bridges perfectly.

 As I've understood this script also is usefull for examination of the
 ensemble of pdb structures in NMR-like format ( each pdb structure as the
 individual state in pymol) isn't it?

 So now I must find a way to save my trajectories in this NMR-like pattern
 by means of vmd software. I have found only possibility to save individual
 snapshots as the individual pdb files or as the set pdb in one pdb in one
 state ( i think this is not very usefull). Do you know how any python
 modules for working with and extracting snapshots from big trr files from
 gromacs runs ?

 Thanks again


 James

 16 апреля 2012 г. 19:18 пользователь Thomas Holder 
 spel...@users.sourceforge.net написал:

 Hi James,

 maybe something like this could help. It finds contacts between charged
 sidechains and prints the number of contacts in each state (requires
 get_raw_distances from [1] or [2]).

 --**--
 # region of interest
 select roi, chain A

 # charged residues
 select positive, resn ARG+LYS and not name N+O
 select negative, resn GLU+ASP and not name N+O

 # increase cutoff
 set h_bond_cutoff_center, 5.0
 set h_bond_cutoff_edge , 5.0

 # find polar contacts
 delete saltbridges
 distance saltbridges, roi and negative, roi and positive, mode=2
 hide label

 # count contacts in each state
 python
 try:
get_raw_distances
 except NameError:
from psico.querying import get_raw_distances

 for state in range(1, cmd.count_states()+1):
sb = get_raw_distances('**saltbridges', state)
print ' %2d charged contacts in state %d' % (len(sb), state)
 python end
 --**

 [1] 
 http://pymolwiki.org/index.**php/Get_raw_distanceshttp://pymolwiki.org/index.php/Get_raw_distances
 [2] 
 http://pymolwiki.org/index.**php/Psicohttp://pymolwiki.org/index.php/Psico

 Cheers,
  Thomas



 On 04/16/2012 03:22 PM, James Starlight wrote:

 Hi Thomas!

 Yes I'd like find possible way for quick examining of the polar
 interactions ( nor only h-bonds but mainly salt-bridges) within
 selection. As the consequence I'd like to examine the ensemble of the
 pdb fies obtained as the different snapshots from MD trajectory for the
 evolution of the new salt-bridges occuring during simulation.

 James

 16 апреля 2012 г. 15:58 пользователь Thomas Holder
 spel...@users.sourceforge.net 
 mailto:speleo3@users.**sourceforge.netspel...@users.sourceforge.net
 

 написал:

Hi James,

I just noticed that this question is without any answer on the
mailing list. Do you still need help on this topic?

Cheers,
  Thomas


On 04/04/2012 09:26 AM, James Starlight wrote:

Dear PyMol users!

I'm analysing polar interactions occured during MD simulation of
 my
protein. In particular I have PDB file obtained from such
 trajectory
where I'd like to check new polar contacts ( salt bridges first
of all)
within selection region. I've tried to select specified region
and use
Find polar contact-  within selection as well as other options
 from
this context meny but results was blank and I have not seen any
polar
contacts despite some charged residues were presented in the
adjacent
interface positions in the selected region.

IS there any else way to study dynamics of the salt-bridges
formation
based on the selected regions in the snapshots ?

Thanks for help,

James


 --
 Thomas Holder
 MPI for Developmental Biology
 Spemannstr. 35
 D-72076 Tübingen



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

[PyMOL] Clear cached data?

2012-06-07 Thread Boris Kheyfets
Hello PyMOL users

I'm loading a trajectory file, and when I view it - PyMOL takes a lot of
memory.

Is there a way I can decrease its amount, or pause a movie and empty the
cached frames?

I tried to put
set cache_frames=0
in .pymolrc, and pause a movie and issue mclean. None helps.

With great respect,
Boris.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

[PyMOL] Pymol + Freeglut -- internal error

2012-06-07 Thread Derek Ashley Thomas
Hi all,

I am developing a crystal-generator and MD simulation debugger running
through pymol. It works pretty well on my primary computer, but I hit a bit
of a snag when one of my two computers refuses to run pymol. I am using
freeglut with pymol. I was easily able to get this to work on a OSX
10.7.3 macbook pro (core i7 cpu). However, after doing the same series of
steps to install everything on an iMac with the same OS (core i3 cpu), I
get the following error when starting up Pymol:

freeglut (pymol):  ERROR:  Internal error visualInfo could not be
retrieved from FBConfig in function fgOpenWindow

I haven't been able to find much information on this error and was
wondering if anyone had any experience with this. Have I not installed it
properly? Is there another alternative to freeglut that might work? I would
be very grateful for any help I can get.

For further information, I performed both 1) a complete installation from
source of freeglut and pymol AND 2) installed from a clean (empty)
MacPorts, but both methods resulted in the above error when running Pymol.
This error only occurs on the core i3 iMac. The GPU of the macbook is an
AMD Radeon HD 6750M (+Intel HD Graphics 3000) while the iMac is an ATI
Radeon HD 5670.

Of course, the precompiled 1.3 version of pymol that I have does run find,
but I am interested in using 1.5 on x11.

Thank you in advance for any thoughts or advice.

-Derek
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net