[PyMOL] new to list -- simple questions

2013-05-24 Thread Robert Hanson
Hello, PyMOL users! I'm new to this list. Some may recognize me as the current principal developer of Jmol. Until recently I hadn't explored PyMOL much, mostly because I'm not myself a biochemist. For about three months now, though, Jaime Prilusky (Weizmann Institute) and I have been working on a

[PyMOL] PyMOL session file reader for Jmol

2013-05-31 Thread Robert Hanson
Hello, PyMOL users, The driving force behind these last four months of Jmol/JSmol development has been e-publication. The goal has been to produce a means of e-publishing working interactive biomolecular models that are ubiquitously accessible (i.e. no Java, no WebGL). We achieved that goal for

[PyMOL] surfaces involving more than one object

2013-05-31 Thread Robert Hanson
PyMOL questions about surfaces: Simple enough to create a surface for one object. What about for only a portion of the object? How to do each of these? -- closed surface ignoring a selected set of atoms -- open surface not ignoring any atoms, but also not displaying their part Is the rule,

[PyMOL] PyMOL measurements

2013-05-31 Thread Robert Hanson
Is there a way to tie measurement ends to specific atoms, so that when the structure is tweaked, those measurements update automatically? -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Chemistry Department St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr

Re: [PyMOL] PyMOL measurements

2013-05-31 Thread Robert Hanson
versions of PyMOL this is enabled by default. Cheers, -- Jason On Fri, May 31, 2013 at 8:27 AM, Robert Hanson hans...@stolaf.edu wrote: Is there a way to tie measurement ends to specific atoms, so that when the structure is tweaked, those measurements update automatically? -- Robert M

[PyMOL] settings

2013-06-03 Thread Robert Hanson
I'm trying to understand settings. I see that there are at least these levels of settings: - global - object - state - unique atom/bond Are there more? I'm unclear on when one overrides another. It looks to me that the general getSetting methods have the option of up to three levels of

[PyMOL] scenes and states

2013-06-03 Thread Robert Hanson
Questions: Can two objects be in two different states -- object1 in state 3 and object2 in state 10, for instance, at the same time? If so, how is that set up? How is that then incorporated into a scene? Do CGO, measurements, mesh, and volume objects have states as well? Bob -- Robert M.

Re: [PyMOL] scenes and states

2013-06-03 Thread Robert Hanson
the states, the surface would suddenly pop up for one. Hope it helps, Tsjerk On Mon, Jun 3, 2013 at 2:38 PM, Robert Hanson hans...@stolaf.edu wrote: Questions: Can two objects be in two different states -- object1 in state 3 and object2 in state 10, for instance, at the same time? If so

Re: [PyMOL] settings

2013-06-03 Thread Robert Hanson
settings in the sense that there are, at least for colors, for example, _!c_scene_xxx_sticks settings. How does that fit in, then? I'll look into that. Hope that helps. definitely! Cheers, Thomas On Jun 3, 2013, at 8:34 AM, Robert Hanson hans...@stolaf.edu wrote: I'm trying

Re: [PyMOL] Cartoon transparency

2013-06-06 Thread Robert Hanson
That would not work if you were trying to show selected individual ribbon segments translucent, I think. Right? From what I can tell, here is the list of settings that you can assign a selection. Notably missing is cartoon_transparency and ribbon_transparency. Perhaps because a cartoon object

Re: [PyMOL] Possible hydrogen addition bug

2013-06-07 Thread Robert Hanson
Just adding that N1, C2, and N3 in that ring are all sp2 hybridized. So the H on the adjacent N is also in the wrong place. Q: How is PyMOL determining ligand atom hybridization, by the way? Not using the ligand CIF file at PDB, I guess? Bob Hanson On Fri, Jun 7, 2013 at 10:51 AM, Matthew

Re: [PyMOL] Cartoon transparency

2013-06-07 Thread Robert Hanson
I must say, 'cartoon skip' does not do what I thought it would do. fetch 1RV1 cartoon skip, i. 55 # now a helix section is turned into a loop cartoon skip, i. 56 # now there is a break, but two non-helix ends cartoon skip, i. 57 # now there is a break, with two non-helix ends I guess I

Re: [PyMOL] PyMOL 1.6 pre-release announcement

2013-06-19 Thread Robert Hanson
That would be a problem with all programs -- unless there is a SAVE mode that is compatible with version (as, for example, MS Word has). One cannot expect backward compatibility, I think. Bob Hanson On Wed, Jun 19, 2013 at 4:18 PM, David Hall li...@cowsandmilk.net wrote: I still have

Re: [PyMOL] PyMOL 1.6 pre-release announcement

2013-06-20 Thread Robert Hanson
(yes, I meant forward compatibility there) Jason, in our 100+ PyMOL session files that we can now read into Jmol we have a few files that don't seem to have backward compatibility to PyMOL 1.3 from the open source version 1.6.0.0. Mostly it has to do with CGOs and measurements. Should I just send

Re: [PyMOL] Reducing the surface rendering load for JSmol export

2013-07-18 Thread Robert Hanson
Nick, if these are just molecular surfaces, there is nothing to do in PyMOL. The PSE files have only an indication of which atoms to create the surface for, not the surface itself. Jmol/JSmol reads the PSE files directly, determines what molecular surface to create, and uses its own algorithms.

Re: [PyMOL] new metals keyword

2013-08-14 Thread Robert Hanson
see http://chemapps.stolaf.edu/jmol/docs/#atomproperties for several suggestions. On Tue, Aug 13, 2013 at 10:56 AM, Thomas Holder thomas.hol...@schrodinger.com wrote: Greetings, this is a quick announcement that we added the metals keyword to the selection language (SVN code revision

Re: [PyMOL] minimum rotation between views

2013-11-25 Thread Robert Hanson
Jonathan, this is called the quaternion difference, but I don't know how you get access to quaternions in PyMOL. If you could, you would just take the difference between the two quaternion representations of the views and get it's angle for the corresponding axis-angle. Jason, are there standard

Re: [PyMOL] Corrupted IDTF file from small molecule (sticks representation)

2014-02-10 Thread Robert Hanson
So in the mean time, Riccardo, I guess what you are already using: xxx.pse -- JmolData.jar -- idtf is your best bet. Q: What sort of size of PDF file are you seeing in the end? Q: Do you see this a practical and useful in some way? If so, in what way? Bob Hanson

Re: [PyMOL] Corrupted IDTF file from small molecule (sticks representation)

2014-02-10 Thread Robert Hanson
, transparences, hidden no-polar hydrogens, colors, ray, etc)? Sounds good. Thanks a lot to you. Regards, Riccardo Volpe *ChemBioScripting | X3D PyMOL Molecule Viewer http://chembioscripting.hol.es *|* Gioacchino Riccardo Volpe* 2014-02-10 23:25 GMT+01:00 Robert Hanson hans...@stolaf.edu: So

Re: [PyMOL] Corrupted IDTF file from small molecule (sticks representation)

2014-02-12 Thread Robert Hanson
My only real objection is that WebGL is not supported on iOS in browsers. Beyond that, I probably just don't know enough about it to do it right. On Wed, Feb 12, 2014 at 1:50 PM, Thomas Holder thomas.hol...@schrodinger.com wrote: Hi Bob, On 10 Feb 2014, at 20:43, Robert Hanson hans

[PyMOL] mmCIF -- multicharacter chain labels

2014-08-14 Thread Robert Hanson
What's the trick to loading mmCIF files with multi-character chain IDS? Maybe I just need to upgrade? (Using PyMOL 1.6.0.0) What I see now is just the first character of _atom_site.auth_asym_id Bob -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department of Chemistry St.

Re: [PyMOL] View Matrix operation

2014-11-19 Thread Robert Hanson
I don't think this is possible. Those 9 numbers simply tell you the orientation. There is much more to it than that. Perspective, camera position, x-y translation, screen dimensions, for example. Some of these are in other PyMOL settings. On Wed, Nov 19, 2014 at 6:14 AM, Feitsma, L.J.

[PyMOL] CGOs

2014-12-21 Thread Robert Hanson
Happy holidays! Q: Is there a resource that describes the syntax for compiled graphical objects in PyMOL? I see http://pymol.sourceforge.net/newman/user/S0500cgo.html, but that is pretty minimal. Bob -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department of Chemistry

Re: [PyMOL] CGOs

2014-12-21 Thread Robert Hanson
I'm looking for something that is relatively comprehensive. There are far more commands than VERTEX, CYLINDER, CONE, and SPHERE, I think. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate!

Re: [PyMOL] CGOs

2014-12-22 Thread Robert Hanson
on CGO objects. You can have a look in modules/cgo.py and in the example scripts in examples/devel/ in the pymol directory to get some more information. If there is something specific you want to do, please let us know. Cheers, Tsjerk On Sun, Dec 21, 2014 at 9:57 PM, Robert Hanson hans

Re: [PyMOL] CGOs

2014-12-22 Thread Robert Hanson
OK, that explains it. I think I made that one up. It was a while ago that I worked on this. :) I see the list at https://github.com/speleo3/pymol/blob/master/modules/pymol/cgo.py Thanks​, David. Bob -- Dive into the

Re: [PyMOL] CGOs

2014-12-22 Thread Robert Hanson
Great. Thanks very much. The ones perhaps missing there are: #define CGO_INDENT 0x18 #define CGO_RESET_NORMAL 0x1E #define CGO_PICK_COLOR 0x1F And I think #define CGO_LIGHTING 0x0B50 may be an internal flag, not a CGO command.

Re: [PyMOL] sulfated tyrosine's losing connection

2014-12-23 Thread Robert Hanson
This unusual file has all the backbone bonds indicated with CONECT records -- except the missing links you note. I'm guessing that PyMOL is respecting that, and that it could be an RCSB file error. CONECT 9606 9593 9607 CONECT 9607 9606 CONECT 9608 9609 ... CONECT 1674 1661 1675 CONECT 1675 1674

Re: [PyMOL] sulfated tyrosine's losing connection

2014-12-23 Thread Robert Hanson
actually -- I see there are just CONECT records for all the HETATMs, as usual. Nothing odd about that. But, nonetheless, in this case those CONECT records are not there. The point is that it has nothing to do with PyMOL. ​

Re: [PyMOL] Problems loading new mrc-format electron density files into pymol

2015-10-06 Thread Robert Hanson
>From Steven Ludtke (EMAN2): We'll get it fixed in today's daily release. On Tue, Oct 6, 2015 at 7:37 AM, Michael F. Summers wrote: > Colleagues: > > In the past, I was able to load MRC format electron density maps into > pymol without problems. However, files I’ve received

Re: [PyMOL] JyMOL vs JSMol

2015-12-15 Thread Robert Hanson
I guess I should chime in here. JSmol does read (some fraction of) PyMOL session files. To be sure it has not been a priority to keep up to date with all the amazing PyMOL capabilities, but certainly as a proof of concept it has worked well, and it would be great to collaborate on this to improve

Re: [PyMOL] JyMOL vs JSMol

2015-12-15 Thread Robert Hanson
Don't worry. No apology necessary. It's a closely held secret that JSmol can do this. In any case, trust me, you will find plenty that JSmol cannot handle. There are many mysteries of the PSE format that I could only guess at. Enjoy! ​

[PyMOL] Version question -- PSE session file format

2015-12-23 Thread Robert Hanson
I have a question about the PSE file format. Newer PSE files, perhaps those created using PyMOL 1.8, seem to have no indication of the desired viewport width and height. These were in the "main" dictionary item. Is there any way in these new files to find out the original viewport size? Bob --

Re: [PyMOL] Version question -- PSE session file format

2015-12-24 Thread Robert Hanson
on with partial=1, it will also not store the viewport. > > Cheers, > Thomas > > On 23 Dec 2015, at 19:12, Robert Hanson <hans...@stolaf.edu> wrote: > > > I have a question about the PSE file format. > > > > Newer PSE files, perhaps those created using PyMOL 1.8

[PyMOL] status of Uppsala EDS server?

2016-02-04 Thread Robert Hanson
Does anyone know the status of http://eds.bmc.uu.se? Is it gone forever? Does anyone know the replacement URL for getting electron density maps and difference maps? (Which I think is at EBI, right?) Bob -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department of Chemistry

Re: [PyMOL] PyMOL split_states error on [PDB: 1hho]

2016-02-22 Thread Robert Hanson
Ioannis, I suggest using the CIF file from EBI instead: http://www.ebi.ac.uk/pdbe/static/entry/download/1hho-assembly-1.cif.gz It looks good to me -- just one model. For reference, the RCSB site is using Jmol and is simply loading 1HHO itself and constructing the assembly *in situ *using the

Re: [PyMOL] The Wiki appears outdated or in error

2016-04-01 Thread Robert Hanson
In case you are interested, Jim, Jmol will read (most/some) PyMOL session files, and Jmol can then create both an idtf for generating a u3d file, and a small sample TeX file also that can be used to create a PDF containing it. I had some interest in u3d back in 2009, when I wrote this exporter.

Re: [PyMOL] dump_binary and PyMOL 1.8 PSE files

2016-08-10 Thread Robert Hanson
To finish this thread -- Jmol and JSmol can now read (basic) PyMOL 1.8 PSE files that have set dump_binary, 1 for faster loading and smaller file sizes. Jmol only implements a small, basic range of PyMOL functionality, of course.

Re: [PyMOL] dump_binary and PyMOL 1.8 PSE files

2016-08-08 Thread Robert Hanson
nfoTypeConverter" if you're > interested in the details. > > The default (in 1.8.2) is to save PyMOL 1.7.6 compatible PSE files, and > with the "pse_export_version" setting you can also export for older PyMOL > versions. > > Cheers, > Thomas > > On 08

Re: [PyMOL] dump_binary and PyMOL 1.8 PSE files

2016-08-08 Thread Robert Hanson
Almost have it. Having trouble fitting all that into 120 bytes, though. I'm good through bytes 96-99, visrep. Somehow, though I count 124 bytes total, not 120 (which is clearly the case in the PSE file). What is sizeof(AtomInfo_1_8_1) ? I calculate: ... 100-105 (six booleans) 106-111 (six

Re: [PyMOL] dump_binary and PyMOL 1.8 PSE files

2016-08-08 Thread Robert Hanson
Ah, that is what I needed. For some reason that file is not in the download I unzipped. Much more sensible! Bob On Mon, Aug 8, 2016 at 3:18 PM, Thomas Holder <thomas.hol...@schrodinger.com > wrote: > On 08 Aug 2016, at 16:01, Robert Hanson <hans...@stolaf.edu> wrote: > > &g

Re: [PyMOL] dump_binary and PyMOL 1.8 PSE files

2016-08-08 Thread Robert Hanson
U (will indeed write an unused NULL pointer), at the time it > was work in progress for a specific use case which didn't require ANISOU. > > Cheers, > Thomas > > On 08 Aug 2016, at 11:32, Robert Hanson <hans...@stolaf.edu> wrote: > > > I do like the compactness of tha

[PyMOL] dump_binary and PyMOL 1.8 PSE files

2016-08-08 Thread Robert Hanson
Thomas, In reading PyMOL PSE files into Jmol I have recently run into the problem with some of these files (version 1.8.2.3). Jmol has no problem reading the standard Pickle format, but there seems to be an option in PyMOL to serialize binary data structures as BINSTRING or SHORT_BINSTRING format

Re: [PyMOL] how to convert .pse to html?

2017-01-25 Thread Robert Hanson
Albert, I just note that JSmol reads PyMOL PSE files directly - fully JavaScript/HTML5 - and allows interactive viewing of them in JavaScript as well as all the functionality of Jmol; nothing to change in terms of the PyMOL file. Just load it. Of course, not every capability of PyMOL is

Re: [PyMOL] 3D printing

2016-10-04 Thread Robert Hanson
On Tue, Oct 4, 2016 at 11:28 AM, Spencer Bliven wrote: > I've done a bit of 3D printing of proteins. I found links in the previous > thread VRML2 export and edu pymol > helpful. > > STL is the best supported

[PyMOL] 3D printing

2016-10-03 Thread Robert Hanson
Can someone give me a summary of capabilities and limitations in PyMOL re 3D printing? For example: Q: What output file types are supported? (WRL, X3D, STL[ASCII/binary], other) Q: Does the generation of these include algorithms for ensuring closure or for stitching together objects in order to