Re: [Jmol-users] JmolViewer

2012-01-30 Thread Charles Shubert
Hi Lochana, We embed Jmol and redistribute Jmol.jar in our free StarBiochem application (http://web.mit.edu/star/biochem/). The StarBiochem app has a user interface that drives Jmol with scripts through the JmolViewer interface. Although the scripting interface works and does most things we

Re: [Jmol-users] JmolViewer

2012-01-30 Thread Charles Shubert
be helpful. Thanks, --Chuck - Original Message - From: Robert Hanson To: Charles Shubert ; jmol-users@lists.sourceforge.net Sent: Monday, January 30, 2012 11:16 AM Subject: Re: [Jmol-users] JmolViewer Chuck, question: JmolViewer extends JmolSimpleViewer, so how

Re: [Jmol-users] BUG: Parallel isosurfaces changed between RC26 and12.0.2

2010-08-11 Thread Charles Shubert
. On Mon, Aug 9, 2010 at 6:00 AM, Charles Shubert cshub...@mit.edu wrote: Hi Bob, Sounds like the conference was a success. As I noted in an earlier email, I'm generating the script and I don't exactly know when a particular script will be generated, so I then to sprinkle

Re: [Jmol-users] BUG: Parallel isosurfaces changed between RC26 and12.0.2

2010-08-09 Thread Charles Shubert
Hi Bob, Sounds like the conference was a success. As I noted in an earlier email, I'm generating the script and I don't exactly know when a particular script will be generated, so I then to sprinkle extra subsets and selects around to make sure that I know the selection state when I send a

Re: [Jmol-users] Bug 12.0.RC19: rendering parallel isosurfaces broken with this build

2010-07-02 Thread Charles Shubert
Between RC18 and RC19, rendering of parallel isosurfaces stopped working. You really don't need parallel to show this bug, but parallel is really cool and I like it. --Chuck Here is the script: load 1crn.pdb parallel makeIsos{process{ subset; select {A and PROTEIN}; isoSurface surfaceA

Re: [Jmol-users] Bug 12.0.RC19: rendering parallel isosurfacesbroken with this build

2010-07-02 Thread Charles Shubert
. molecular at the end of the isosurface command should be mesh. As it is, molecular is being ignored and the isosurface is being created with no fill, so nothing appears. If you follow that with isosurface mesh I think you will see it. Bob On Fri, Jul 2, 2010 at 1:56 PM, Charles

[Jmol-users] Bug 12.0.RC22: spacefill for residue with missing N not working

2010-07-01 Thread Charles Shubert
#Bug: spacefill for residue with missing N not working #Jmol 12.0.RC22 2010-06-24 21:45 load 2KTQ.pdb subset; select PROTEIN; spacefill 0 %; color bonds TRANSLUCENT 1.0; subset; select WATER; spacefill 0 %; #Notice the hanging residue below the DNA. #This is [GLU]634:A #In the 2KTQ.pdb file

Re: [Jmol-users] Bug or Feature? display WITHIN(2.0, selected) does not hide isosurface

2010-06-26 Thread Charles Shubert
. That is why we were interested in the isosurface generation performance. We really appreciate the work you did with Ivan on that. Many thanks, --Chuck - Original Message - From: Robert Hanson To: Charles Shubert ; jmol-users@lists.sourceforge.net Sent: Saturday, June 26, 2010

Re: [Jmol-users] Bug or Feature? display WITHIN(2.0, selected) does not hide isosurface

2010-06-25 Thread Charles Shubert
Bug or Feature? display WITHIN(2.0, selected) does not hide isosurface. Script below. Thanks, --Chuck # Test script load http://pdb.rcsb.org/pdb/files/1CRN.pdb; # Show the helices subset; select {[ILE]7:A or [VAL]8:A or [ALA]9:A or [ARG]10:A or [SER]11:A or [ASN]12:A or [PHE]13:A or

Re: [Jmol-users] RC6 Bonds bug

2010-04-26 Thread Charles Shubert
Hi Bob, The off by 1 bug on bond transparency (with or without my typo for 38) in RC6, seems to be fixed in RC8. Thanks, --Chuck On Apr 23, 2010, at 4:49 PM, Robert Hanson wrote: 38 is ALA not ARG. On Fri, Apr 23, 2010 at 3:41 PM, Charles Shubert cshub...@mit.edu wrote: In RC6 Bond

[Jmol-users] RC6 Bonds bug

2010-04-23 Thread Charles Shubert
In RC6 Bond Transparency appears to be applied to the wrong residues: load 1crn.pdb; subset; spacefill 0 %; subset {[PRO]36:A or [GLY]37:A or [ARG]38:A}; select PROTEIN; spacefill 32 % color bonds TRANSLUCENT 1.0; --Chuck

Re: [Jmol-users] Jmol -- two major advances

2010-04-07 Thread Charles Shubert
I'm confused by the 2400% CPU usage claimed below. Does this imply that 24 cores of a multicore machine are running at 100%? I have not been able to get Jmol to run on more than one core of my Mac 8 core machine. In looking at the source code for Jmol 11.8.not_too_long_ago there seems to be

Re: [Jmol-users] Jmol -- two major advances

2010-04-07 Thread Charles Shubert
- From: Robert Hanson To: Charles Shubert ; jmol-users@lists.sourceforge.net Sent: Wednesday, April 07, 2010 11:37 AM Subject: Re: [Jmol-users] Jmol -- two major advances On Wed, Apr 7, 2010 at 8:26 AM, Charles Shubert cshub...@mit.edu wrote: I'm confused by the 2400% CPU usage

Re: [Jmol-users] Jmol -- two major advances

2010-04-07 Thread Charles Shubert
Hanson wrote: On Wed, Apr 7, 2010 at 8:26 AM, Charles Shubert cshub...@mit.edu wrote: I'm confused by the 2400% CPU usage claimed below. Does this imply that 24 cores of a multicore machine are running at 100%? I have not been able to get Jmol to run on more than one core of my Mac 8

Re: [Jmol-users] Curious bug(?) 2b64.pdb chain Y shows only alphacarbons

2010-03-24 Thread Charles Shubert
be the command: calculate backbone that will fill in the backbone (C, O, N) given just CA positions. Anyone know if there is already an algorithm for this? Bob On Mon, Mar 22, 2010 at 2:15 PM, Charles Shubert cshub...@mit.edu wrote: I should have seen that. Thanks. On Mar 19

Re: [Jmol-users] Feature request: atom expression for set (lighting)

2010-03-24 Thread Charles Shubert
, Charles Shubert cshub...@mit.edu wrote: I have size and translucency on sliders and that works pretty well. I think that allowing changes of color might not work very well. In talking with a few folks who are color blind, it seems like ambient, diffuse, and some combination

[Jmol-users] Question: Use of center and restrict

2010-03-23 Thread Charles Shubert
What is the preferred way to do the following: 1. select an atom in a pdb file and make it the center of rotation 2. restrict rendering to only those atoms or structure at a given radius away from the selected atom (center of rotation) 3. increase/decrease the radius to increase

[Jmol-users] Feature request: atom expression for set (lighting)

2010-03-23 Thread Charles Shubert
Feature request: atom expression for set (lighting) I realize that lighting attributes are globals, but it would be helpful the set these attributes on an atom expression basis. I'd like to use this feature to help color blind students manipulate how atoms/structures appear in my

Re: [Jmol-users] Question: Use of center and restrict

2010-03-23 Thread Charles Shubert
Thank you! On Mar 23, 2010, at 2:14 PM, Angel Herráez wrote: 1. select an atom in a pdb file and make it the center of rotation see Scrpting Documentation, commands select and center 2. restrict rendering to only those atoms or structure at a given radius away from the selected atom

Re: [Jmol-users] Feature request: atom expression for set (lighting)

2010-03-23 Thread Charles Shubert
I have size and translucency on sliders and that works pretty well. I think that allowing changes of color might not work very well. In talking with a few folks who are color blind, it seems like ambient, diffuse, and some combination of specular values are closer to what they can detect

Re: [Jmol-users] Curious bug(?) 2b64.pdb chain Y shows only alpha carbons

2010-03-22 Thread Charles Shubert
I should have seen that. Thanks. On Mar 19, 2010, at 4:11 PM, Angel Herráez wrote: Robert Hanson wrote: was there a question here? The question is in the email subject line, Bob. Charles, that PDB file only has alpha carbons for the Y chain. Not Jmol's fault. The model has just 5A

[Jmol-users] Curious bug(?) 2b64.pdb chain Y shows only alpha carbons

2010-03-19 Thread Charles Shubert
load 2b64.pdb; select *:Y.*; spacefill 50 %; -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel

Re: [Jmol-users] 11.9.25 secondary structures bug

2010-02-25 Thread Charles Shubert
Thanks, Bob! I was going to have to write some interesting user documentation to explain this feature. This particular thing is fairly easy to do with the user interface for my app. --Chuck - Original Message - From: Robert Hanson To: jmol-users@lists.sourceforge.net Sent:

[Jmol-users] Jmol script compiler ERROR - 2b9n.pdb

2010-02-24 Thread Charles Shubert
script compiler ERROR: unrecognized expression token: 2.0 subset {[GLY]100:V.* or [THR]1:2.*} -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find

Re: [Jmol-users] Jmol script compiler ERROR - 2b9n.pdb

2010-02-24 Thread Charles Shubert
Thanks, Angel! On Feb 24, 2010, at 12:29 PM, Angel Herráez wrote: Ah. numeric chain IDs! They are not common, so this passes unnoticed. Charles, that's probably a bug, but I guess you can safely remove the dot asterisk part and get the same result you are expecting select {[GLY]100:V or

Re: [Jmol-users] 11.9.25 secondary structures bug

2010-02-24 Thread Charles Shubert
, at 10:57 AM, Robert Hanson wrote: Can you just give me the commands, please? Maybe show history after that. On Tue, Feb 9, 2010 at 9:31 AM, Charles Shubert cshub...@mit.edu wrote: Thanks for getting back to me so quickly, Bob! Here is an app that demonstrates the bug. Put 1crn.pdb in the same

Re: [Jmol-users] 11.9.25 secondary structures bug

2010-02-09 Thread Charles Shubert
it with: load =1crn select helix cartoons on select 12-16 cartoons on Bob On Mon, Feb 8, 2010 at 2:17 PM, Charles Shubert cshub...@mit.edu wrote: This is a bug that has been in Jmol for a while. Steps to reproduce the bug: 1. Select a set of residues from a helix 2. Render cartoons (See

[Jmol-users] 11.9.25 secondary structures bug

2010-02-08 Thread Charles Shubert
This is a bug that has been in Jmol for a while. Steps to reproduce the bug: 1. Select a set of residues from a helix 2. Render cartoons (See the set of residues from a helix as a cartoon.) 3. Select a small subset of residues of the initial set of residues 4. Render cartoons (See the small

[Jmol-users] 1GXX.pdb contains Hydrogens - Parsing Problem?

2009-10-28 Thread Charles Shubert
It seems to me that there is a small problem with parsing pdb files that contain hydrogen atoms. I don't see this problem with most pdb files. --Chuck Using 1GXX this code snippet produces the output below: private String[] getMoleculeElements(String script) {

Re: [Jmol-users] unique measurement visualization properties

2009-08-17 Thread Charles Shubert
I'd like to ask a slightly more general question about unique visualization properties. Would I be correct in saying the following? The following visualization properties can be applied to a selected set of atoms: select some set of atoms; color atoms TRANSLUCENT some number; bonds on; color

Re: [Jmol-users] unique measurement visualization properties

2009-08-17 Thread Charles Shubert
may be bonds on which I gather is a global setting too. BTW, Jmol 11.6+ does not accept bonds on any longer (a remnant from RasMol/Chime compatibility), requiring either set bonds on or the recommended set showMultipleBonds on Charles Shubert Senior Strategist Architect, Software Tools

Re: [Jmol-users] Getting list of protein secondary structures from JmolViewer

2009-08-06 Thread Charles Shubert
A 140 SHEET9 S9 2 LYS A 156 PRO A 161 SHEET 10 S10 2 MET A 180 ALA A 183 SHEET 11 S11 2 PRO A 198 CYS A 201 SHEET 12 S12 2 LYS A 204 TRP A 215 SHEET 13 S13 2 GLY A 226 THR A 229 Bob Hanson On Thu, Aug 6, 2009 at 11:17 AM, Charles Shubert cshub...@mit.edu wrote: How does