Re: [PyMOL] on cylindrical helix presentation

2015-08-27 Thread Shane Caldwell
1. Make the subunits into separate objects

2. Command

set cartoon_cylindrical_helices, on, [object name]

for the one you want to have cylinders

Shane Caldwell
McGill University

On Thu, Aug 27, 2015 at 4:01 AM, Smith Liu smith_liu...@163.com wrote:

 Dear All,

 Suppose a protein contains 2 subunits. Will you please introduce to me by
 pymol how to represent helix in one subunit as cylindrical helix, and helix
 in another subunit as regular helix?

 Best regards.

 Smith


 夏日畅销榜大牌美妆只要1元
 http://r.mail.163.com/r.jsp?url=http%3A%2F%2F1.163.com%2Fhd%2Foneact%2Fhdframe.do%3Fid%3D21%26from%3Dfooter_beautysign=817593681_r_ignore_statId=7_13_79_48_r_ignore_uid=n...@163.com


 --

 ___
 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-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

Re: [PyMOL] python command to get b-factor and occupancy of a single atom?

2015-08-27 Thread Thomas Holder
Hi Dirk,

cmd.iterate is actually the most efficient function to access atom properties. 
If you want a wrapper which directly gets b and q for one atom, it could look 
like this (returns a dictionary):

from pymol import cmd
@cmd.extend
def get_signle_atom_props(selection, props=['b', 'q'], quiet=1):
if isinstance(props, basestring):
props = cmd.safe_list_eval(props)
expr = ','.join((repr(k) + ':' + k) for k in props)
expr = '_r.update({' + expr + '})'
r = {}
n = cmd.iterate(selection, expr, space={'_r': r})
if n  1:
print ' Warning: selections spans more than one atom'
if not int(quiet):
print r
return r

You can use the first operator to limit your selection to one atom:
print get_single_atom_props('first polymer')

Cheers,
  Thomas

On 27 Aug 2015, at 06:27, Dirk Kostrewa kostr...@genzentrum.lmu.de wrote:

 Dear PyMOLers,
 
 I have trouble to find out, which command I could use in a python script 
 to get the b-factor and occupancy of a single atom.
 In the script library, I only found examples getting b-factors iterating 
 over a selection.
 Although, I could iterate over one atom, only, is there a more elegant 
 way of getting the b-factor and occupancy of a single atom?
 
 Best regards,
 
 Dirk.
 
 -- 
 
 ***
 Dirk Kostrewa
 Gene Center Munich, A5.07
 Department of Biochemistry
 Ludwig-Maximilians-Universität München
 Feodor-Lynen-Str. 25
 D-81377 Munich
 Germany
 Phone:  +49-89-2180-76845
 Fax:+49-89-2180-76999
 E-mail: kostr...@genzentrum.lmu.de
 WWW:www.genzentrum.lmu.de
 ***

-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


--
___
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] off-topic: tenure track faculty position in cryo-EM

2015-08-27 Thread Markus Seeliger
*Department of Pharmacological Sciences at **Stony Brook University  *

*Tenure-Track Cryo-EM Faculty Position in Conjunction with the
Interdisciplinary Biomolecular Imaging Cluster Hiring Initiative*

   The Department of Pharmacological Sciences (
http://www.pharm.stonybrook.edu/faculty_research/overview) at Stony Brook
University seeks applications for a tenure-track faculty position at the
level of Assistant, Associate, or Full Professor. Candidates must have an
M.D. and/or Ph.D., at least two years of postgraduate research experience,
and an outstanding record of research accomplishment. This search is
intended to recruit investigators with translational research programs that
make use of Cryo-EM to pursue fundamental questions relevant to
health-connected fields such as cancer, neuroscience, metabolism, and
infectious disease. Senior candidates should have a record of success with
extramural funding and training of students and/or fellows. Applicants must
be eligible for a faculty appointment in accordance with the criteria
established by the School of Medicine (Criteria for Appointment, Promotion
and Tenure.)

   The Department has pre-doctoral and MSTP training grants, a broad
infrastructure for research investigation, and newly renovated lab space
housing structural biologists with expertise in NMR and x-ray
crystallography. Many of the faculty use EM and Super-Resolution microscopy
approaches, and additional structural biologists and imagers are found in
the Departments of Biochemistry, Physiology, Chemistry, Microbiology,
Neurobiology, and Biomedical Engineering. With the on-going NYSUNY 2020
Challenge Grant awarded to the University and the recent and largest gift
ever to public higher education in the State of New York, Stony Brook
University is embarking on a transformational expansion of the biomedical
research enterprise. Diverse opportunities for collaborative research on
campus include the Cancer Center, the Laufer Center for Physical and
Quantitative Biology, the Center for Structural Biology, the Institute for
Chemical Biology and Drug Discovery, and the interactive Computer Science
and Applied Mathematics Departments.

   Imaging biological molecules is key to understanding their function,
providing a starting point for rational drug design and protein
engineering. Stony Brook University (SBU) is becoming a leader in
biomolecular imaging through its newly-upgraded high-field NMR facilities
including Bruker 700MHz and 850 MHz instruments with cryogenic probes, a
strong program in computational structural and physical biology,
world-class computational resources, facilities for radiotracer synthesis
and human imaging, and proximity to the new third- generation synchrotron
facility at Brookhaven National Lab (NSLS-II). The Biomolecular Imaging
Cluster has already recruited junior faculty with expertise in x-ray
crystallography and in super-resolution microscopy to add to our recent
NIH-funded purchase of SIM and STORM instrumentation. *Most relevant to
this recruitment, SBU received this year a $2M Shared Instrumentation award
from NIH to obtain a state-of-the-art 200 kV Talos cryo-EM microscope and
detector that will be installed and go live in Spring, 2016. *

   Stony Brook University, home to many highly-ranked graduate research
programs, is located 60 miles from New York City on Long Island's scenic
North Shore. Our 1,100-acre campus has more than 24,000 undergraduate,
graduate, and doctoral students and 13,500 faculty and staff. The
University is a member of the prestigious Association of American
Universities and co-manager of the nearby Brookhaven National Laboratory, a
multidisciplinary research laboratory supporting world-class scientific
programs utilizing state-of- the-art facilities. Stony Brook University is
also located close to the Cold Spring Harbor Laboratory with which it
interacts through graduate program training and faculty collaborations.

   To apply, use Academic Jobs Online (
https://academicjobsonline.org/ajo/jobs/5904) to submit a State employment
application, a complete curriculum vitae including publications, and a
3-page proposed research plan of current and future research, and have
three letters of recommendation submitted through the AJO site. The cover
letter should indicate whether the applicant wishes to be considered for
appointment at the Assistant, Associate, or Full Professor level.
Applicants at the Associate or Full Professor level should add a summary of
past and current research funding and administrative and teaching
experiences. *Electronic submission through AJO is required.* Questions
should be addressed to Ms. Lynda Perdomo-Ayala, Department Administrator (
lynda.perdomo-ay...@stonybrook.edu, fax (631-444-9749.)

POSITION OPEN UNTIL FILLED. For a full position description, visit
www.stonybrook.edu/jobs (Ref.F-9530/15/08).

 Stony Brook University is an Affirmative Action, Equal Opportunity
Educator and Employer.

[PyMOL] help making a movie

2015-08-27 Thread Ravi Pratap Barnwal
Dear Pymolers,
I am looking forward to make a movie for a nucleic acid where I would like
to show the opening/bond breaking of several base pairs and interaction
with another protein. Is it possible to do this in pymol? Any help
regarding this is highly appreciated!


Regards
Ravi
--
___
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] python command to get b-factor and occupancy of a single atom?

2015-08-27 Thread Dirk Kostrewa
Dear PyMOLers,

I have trouble to find out, which command I could use in a python script 
to get the b-factor and occupancy of a single atom.
In the script library, I only found examples getting b-factors iterating 
over a selection.
Although, I could iterate over one atom, only, is there a more elegant 
way of getting the b-factor and occupancy of a single atom?

Best regards,

Dirk.

-- 

***
Dirk Kostrewa
Gene Center Munich, A5.07
Department of Biochemistry
Ludwig-Maximilians-Universität München
Feodor-Lynen-Str. 25
D-81377 Munich
Germany
Phone:  +49-89-2180-76845
Fax:+49-89-2180-76999
E-mail: kostr...@genzentrum.lmu.de
WWW:www.genzentrum.lmu.de
***


--
___
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] on cylindrical helix presentation

2015-08-27 Thread Smith Liu
Dear All,


Suppose a protein contains 2 subunits. Will you please introduce to me by pymol 
how to represent helix in one subunit as cylindrical helix, and helix in 
another subunit as regular helix?


Best regards.


Smith--
___
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