Re: [PyMOL] .phs files in pymol

2024-07-30 Thread Takanori Nakane
Hi, Open the map in Coot and select [File]-[Export Map]. This allows you to save the map in .ccp4 (= .mrc) format, which PyMOL can read. Best regards, Takanori Nakane On 7/30/24 20:17, Urban Leitgeb via PyMOL-users wrote: Hi, I calculated anomalous difference maps with shelx and got .phs

Re: [PyMOL] draw sticks between given coordinates

2024-02-07 Thread Takanori Nakane
regards, Takanori Nakane On 2/7/24 19:25, Daniele Notarmuzi wrote: Hello! I am trying to draw sticks given a set of coordinates and sometimes I succeed, sometimes I do not. In my silly mind, what I would like to do is to give two set of 3D coordinates and have a stick drawn between them. For

Re: [PyMOL] Custom surface?

2020-09-17 Thread Takanori Nakane
Hi, This can be achieved with CGO http://pymol.sourceforge.net/newman/user/S0500cgo.html. CGO_grid script https://pymolwiki.org/index.php/Cgo_grid will be a good starting point for your work. Best regards, Takanori Nakane On 2020/09/17 15:07, Piter_ wrote: Hi everybody. Is it possible to

Re: [PyMOL] High Resolution Ray Tracing

2016-05-09 Thread Takanori Nakane
mage pixel. Did you take that into the account? Probably you don't need 2400 dpi or 1200 dpi. https://en.wikipedia.org/wiki/Dots_per_inch#/media/File:DPI_and_PPI.png Best regards, Takanori Nakane Am 2016年05月10日 um 09:34 schrieb Stephen Kerry: > Thank you for trying this out on a workstati

Re: [PyMOL] pymol to webGL?

2015-10-18 Thread Takanori Nakane
Hi, It looks like the structure of PyMOL session (what we got from cmd.get_session) has changed in recent upgrades. I have to rewrite the program. Does anyone know if there is a setting to export in the 'old' format? Best regards, Takanori Nakane On 2015/10/18 1:47, Osvaldo Ma

Re: [PyMOL] Is it possible to write PNG images in PyMOL of higher resolution than the viewing window?

2015-01-05 Thread Takanori Nakane
Hi, Yes. See http://www.pymolwiki.org/index.php/Ray and http://www.pymolwiki.org/index.php/Png . Best regards, Takanori Nakane On 2015年01月05日 16:39, Brenton Horne wrote: > Hi, > > I'd like to know if it is possible to save PNG images of a structure > that have a higher resolu

Re: [PyMOL] Coloring c-alpha atoms makes cartoons colored too

2014-12-02 Thread Takanori nakane
Hi, set sphere_color, grey, "x" instead of "color red, x" will do what you want. Best regards, Takanori Nakane On Tue, 2 Dec 2014 16:39:56 +0530 (IST) "Anasuya Dighe" wrote: > Hi everyone, > > I want to color C-alpha atoms of a selection in a speci

Re: [PyMOL] View Matrix operation

2014-11-19 Thread Takanori nakane
Dear Louris, Probably "axes" script at http://www.pymolwiki.org/index.php/Axes is a good staring point to study. Best regards, Takanori Nakane On Wed, 19 Nov 2014 12:14:29 + "Feitsma, L.J." wrote: > Hi all, > > I have a small question about transformations

Re: [PyMOL] Portein cross section

2014-05-30 Thread Takanori Nakane
Hi, This page would be useful: http://www-cryst.bioc.cam.ac.uk/members/zbyszek/figures_pymol#cut However, showing intact spheres above the clip plane for the surface can be difficult. I am not sure if it is possible to set different clipping planes to each object. Best regards, Takanori Nakane

[PyMOL] Bug in interpretation of SCALEn records

2014-05-24 Thread Takanori Nakane
0 0.0010000.0 When they are deleted, the model can be loaded correctly. According to the PDB format specification http://deposit.rcsb.org/adit/docs/pdb_atom_format.html#SCALEn , SCALEn records should not affect real space (orthogonal) coordinates. Best regards,

Re: [PyMOL] pymol_tube and pymol_loop

2014-04-19 Thread Takanori Nakane
Hi, "cartoon tube" is a separate command from "show". i.e. show cartoon cartoon tube will show all the protein in the 'tube' representation. Best regards, Takanori Nakane (2014/04/19 4:18), sunyeping wrote: > Dear all, I want to show my protein in carto

Re: [PyMOL] pdb to string

2013-09-16 Thread Takanori Nakane
Hi, > I want to dump a loaded pdb file to a string, the inverse of the function > read_pdbstr(). There is such a function available? cmd.get_pdbstr() will do the job. Best regards, Takanori Nakane -- LIMITED TIM

Re: [PyMOL] Drawing lines

2013-09-16 Thread Takanori Nakane
.0) You might need to ray-trace your scene to see the effect. Best regards, Takanori Nakane -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2

Re: [PyMOL] remote access-pymol can not work

2013-03-22 Thread Takanori Nakane
Hi, I have successfully used VirtualGL http://www.virtualgl.org/ to run PyMOL remotely on Ubuntu 12.04 LTS. The client is Mac OS Mountain Lion. The performance is satisfactory. Best regards, Takanori Nakane

Re: [PyMOL] Managing Viewport Location

2013-02-09 Thread Takanori Nakane
;) > time.sleep(1) > pymol.cmd.window("position", 500, 300) > > ...in Python, Pymol freezes. If I remove the sleep command, it freezes > before even displaying the test water molecules. I couldn't reproduce it. On my Ubuntu with PyMOL 1.5.0.1 & Python 2.7, your

Re: [PyMOL] Managing Viewport Location

2013-02-08 Thread Takanori Nakane
th, int height) "action" is one of the following, judging from the error message. box, fit, hide, position, size, defocus, focus, maximize, show Best regards, Takanori Nakane -- Free Next-Gen Firewall Hardware

Re: [PyMOL] Reducing VRML file size

2012-11-26 Thread Takanori Nakane
lender for details. Best regards, Takanori Nakane -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastru

Re: [PyMOL] Label on top of molecules?

2012-10-17 Thread Takanori Nakane
stroms in front of its original position. Best regards, Takanori Nakane -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/a

Re: [PyMOL] Exporting individual surfaces results in translation of surfaces

2012-08-21 Thread Takanori Nakane
Hi, How about using "split_states 3iyw" instead of "set all_states, on"? Best regards, Takanori Nakane -- Live Security Virtual Conference Exclusive live event will cover all the ways today&#x

Re: [PyMOL] Syntax for cmd.auto_arg.update

2012-08-21 Thread Takanori Nakane
Use cmd.selection_sc for setting names (like 'line_width'), cmd.map_sc for maps, cmd,repres_sc for representations (sticks, lines, etc). By the way, update is another way to set values to Python's Dict. auto_arg[0]['test'] = [some, thing, s] is same as auto_arg[0].update([

[PyMOL] Dynamic Isomesh (like COOT)

2012-08-19 Thread Takanori Nakane
tron density maps. Comments and suggestions are welcome. Best regards, Takanori Nakane === SCRIPT START (save as dynamic_mesh.py) === # Dynamic Mesh by Takanori Nakane # version 0.1: 20120819 ''' This script was tested on PyMOL 1.2 and 1.5. Example: fetch 1HWK, async=1 fetch 1

Re: [PyMOL] writing out the surface

2012-06-11 Thread Takanori Nakane
tex normal vector, which can be rendered as GL_TRIANGLES. Please examine my old post for a script example. http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg10012.html Best regards, Takanori Nakane -- Liv

Re: [PyMOL] how to remap mouse wheel?

2012-06-08 Thread Takanori Nakane
Hi, You can use "button" command. In this case, button wheel, None, MovZ will do the job. Best regards, Takanori Nakane -- Live Security Virtual Conference Exclusive live event will cover all the wa

Re: [PyMOL] Exporting distance objects from PyMOL en masse in text

2012-05-27 Thread Takanori Nakane
Hi, You can use get_raw_distances script http://pymolwiki.org/index.php/Get_raw_distances Best regards, Takanori Nakane -- Live Security Virtual Conference Exclusive live event will cover all the ways today's sec

Re: [PyMOL] Line thickness for show as cell

2012-03-18 Thread Takanori Nakane
Dear Gudrun, > How can I draw a thicker line when using show as cell, please? Internally, unit cell is drawn as a CGO object. Therefore, you can change its line width by set cgo_line_width, N where N = 1 is the default. Best regards, Takanori Nak

Re: [PyMOL] Get event click in a residue in a script/plugin and launch function

2012-02-11 Thread Takanori Nakane
where can I get some example or explanation for > that. You can use "wizard" framework. Please examine "examples/devel/click_ordered_list.py" in Pymol source tree. Best regards, Takanori Nakane -- V

Re: [PyMOL] Update Selection From Frames

2012-02-07 Thread Takanori Nakane
Hi Sean, > I was wondering if it were possible to have a selection update itself for > every frame. You can use mdo command for that. http://www.pymolwiki.org/index.php/Mdo Best regards, Takanori Nakane -- Kee

Re: [PyMOL] list of polar contacts

2012-02-01 Thread Takanori Nakane
rnal data structure and undocumented APIs. Already I have many fragments of memos but it will take some time to put them together. Best regards, Takanori Nakane -- Keep Your Developer Skills Current with LearnDevNow! The

Re: [PyMOL] list of polar contacts

2012-01-31 Thread Takanori Nakane
convert it to atom name. Save the script to somewhere and run script_name.py list_dist will do the job. Takanori Nakane === Script start === from pymol import cmd def parseDistObj(obj): if (obj[5][0][3][10] != 1): # 'show dashed' flag return ""

Re: [PyMOL] Scene exporter for Web

2012-01-17 Thread Takanori Nakane
l, I think I can contribute by writing documentations for "undocumented" APIs and settings, such as cmd.dump, get_session, etc. Best regards, Takanori Nakane -- Keep Your Developer Skills Current with LearnDevN

[PyMOL] Scene exporter for Web

2012-01-16 Thread Takanori Nakane
think this script useful, I will put it on Pymol wiki. Best regards, Takanori Nakane -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-

Re: [PyMOL] Convert PyMOL isomesh or isosurface to cgo?

2012-01-09 Thread Takanori Nakane
bility issue. Please let me know if it doesn't work. Takanori Nakane SCRIPT === from pymol import cmd from pymol.cgo import * def dump2surfaceCGO(): CGOobj = [] dumpedFile = open("dump.tmp").read() for block in dumpedFile.s

Re: [PyMOL] selection within object

2011-12-31 Thread Takanori Nakane
lection within a selection. select chain A and ss 's' will do it. If you have already selected monomer A, then select (sele) and ss 's' will also do. Takanori Nakane -- Ridiculously easy VDI. Wit

Re: [PyMOL] Color states as rainbow

2011-12-18 Thread Takanori Nakane
ing "0x%02x00ff" % (i * 255 / (2 + cmd.count_states())) part. Best regards, Takanori Nakane -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event