Re: [Jmol-users] labeling residue by position relative to observer

2017-05-16 Thread Luciano Abriata
Follow simple instructions to calibrate (takes less than one minute). Then whatever part of the molecule you look at rotates to the front! By tracking your eye movements! -Eric On 5/16/17 2:59 AM, Luciano Abriata wrote: And Eric, regarding the anecdote, actually I wanted to do this for som

Re: [Jmol-users] labeling residue by position relative to observer

2017-05-16 Thread Luciano Abriata
Thank you Bob and thank you Eric too (your example helped me learn that I could set timeout inside Jmol scripts!!) For documentation: I modified a bit the selection into: select on *.ca and within(8,sz = @{all.sz.min}) So as to label each protein residue only at its CA, and to label not only the

Re: [Jmol-users] labeling residue by position relative to observer

2017-05-15 Thread Luciano Abriata
hat I want! Luciano De: Angel Herráez <angel.herr...@uah.es> Para: Luciano Abriata <luciano_abri...@yahoo.com>; jmol-users@lists.sourceforge.net Enviado: Domingo, 14 de mayo, 2017 20:15:38 Asunto: Re: [Jmol-users] labeling residue by position relative to observer Ciao Luciano A

Re: [Jmol-users] labeling residue by position relative to observer

2017-05-13 Thread Luciano Abriata
help, Luciano De: Luciano Abriata <luciano_abri...@yahoo.com> Para: "jmol-users@lists.sourceforge.net" <jmol-users@lists.sourceforge.net> Enviado: Miércoles, 10 de mayo, 2017 20:40:10 Asunto: labeling residue by position relative to observer Hello Jmol community

[Jmol-users] labeling residue by position relative to observer

2017-05-10 Thread Luciano Abriata
Hello Jmol community, I searched on google but found no hint on how to do this: given a 3D view in JSmol, I want to label the residue (or just CA atom) that is "closest" to the viewer (user, or observer) in 3D. (Or even better, maybe label the 5 closest residues). This, in a dynamic way such

[Jmol-users] tracking.js

2016-12-14 Thread Luciano Abriata
Hello! I come this time with some ideas.. Do you think there is any chance of coupling tracking.js (https://trackingjs.com/) to JSmol, in order to move and zoom molecules through hand gestures captured by a webcam? Not sure it will be useful, at least by itself, but I think it would be not too

Re: [Jmol-users] Hack-a-mol

2016-12-09 Thread Luciano Abriata
Nice, many thanks for this! Luciano De: Robert Hanson Para: "jmol-users@lists.sourceforge.net" Enviado: Jueves, 8 de diciembre, 2016 15:19:39 Asunto: Re: [Jmol-users] Hack-a-mol I'll leave that adaptation to you, Henry. :) On

Re: [Jmol-users] Hack-a-mol

2016-12-08 Thread Luciano Abriata
Not only fun, but possible with many applications as well ! I do not follow how the whole thing works from the webpage source code. It would be cool to have comments in there. Luciano De: Robert Hanson Para: "jmol-users@lists.sourceforge.net"

Re: [Jmol-users] Cannot load PDBs from RCSB in Chrome -used to work

2016-04-11 Thread Luciano Abriata
Dear Rolf and Angel, Using the version that Rolf pointed out and cleaning the caches worked on all my tests (chrome in windows 8, linux centos 6 and mac not sure which OS). Refreshing the page is not enough, you really need to clear the cache. Thanks to both of you! Luciano De: Angel

[Jmol-users] Cannot load PDBs from RCSB in Chrome -used to work

2016-04-11 Thread Luciano Abriata
Hello, I am having a strange problem. If visited from Chrome, my website cannot retrieve PDB files from the PDB (load command), neither from the server nor locally. However... it does work in Firefox, it did work in Chrome at least 1-2 months ago, and last, I see other JSmol sites working ok in

Re: [Jmol-users] fun with Jmol -- xxxx.find("chemical",...)

2016-03-22 Thread Luciano Abriata
Robert, no, I didn't know. And it's amazing! Can you briefly and very plainly explain how the find() works? I mean, what's at the core of the formula-name-smile-etc conversions?Luciano De: Robert Hanson Para: "jmol-users@lists.sourceforge.net"

[Jmol-users] Alt text and tooltip text?

2016-01-26 Thread Luciano Abriata
Dear all, This is probably easy for many of you. What is the simplest way to incorporate alternative text to JSmol, that will display while it's loading or if by some reason it fails to load? Something like the alt attribute in img tabs (but the canvas doesn't have the alt attribute, so maybe

[Jmol-users] Rv: Alt text and tooltip text?

2016-01-26 Thread Luciano Abriata
I forward here a reply from Rolf, which he couldn't send directly to the list. Thanks to him and to Angel. Luciano - Mensaje reenviado - De: Rolf Huehne <rolf.hue...@leibniz-fli.de> Para: Luciano Abriata <luciano_abri...@yahoo.com> Enviado: Martes, 26 de enero, 2

Re: [Jmol-users] JSmol: how to change an atom's B-factor?

2015-10-01 Thread Luciano Abriata
[Jmol-users] JSmol: how to change an atom's B-factor? Am 30.09.15 um 22:51 schrieb Luciano Abriata: > Thanks Angel. There is one thing I cannot yet solve, what if I refer to > my atom of interest as residuenumber:chain.atom ? > > For example, > > 37:a.ca > > works a

[Jmol-users] JSmol: how to change an atom's B-factor?

2015-09-30 Thread Luciano Abriata
Dear all, How can I change the B-factor of an atom in a loaded PDB, by another number coming from calculations inside my program? (I want this so as to color-code data on the structure using color RELATIVETEMPERATURE) Thanks in advance for your help, Luciano

Re: [Jmol-users] JSmol: how to change an atom's B-factor?

2015-09-30 Thread Luciano Abriata
to work. Any clue? Thanks again Luciano De: Angel Herráez <angel.herr...@uah.es> Para: Luciano Abriata <luciano_abri...@yahoo.com>; jmol-users@lists.sourceforge.net Enviado: Miércoles, 30 de septiembre, 2015 21:43:28 Asunto: Re: [Jmol-users] JSmol: how to change an atom's B-fa

Re: [Jmol-users] JSmol: how to put a protein's sequence into a javascript variable

2015-01-19 Thread Luciano Abriata
Thanks Bob, I could make a working function out of your lines. Luciano De: Robert Hanson hans...@stolaf.edu Para: Otis Rothenberger osrot...@chemagic.com; jmol-users@lists.sourceforge.net jmol-users@lists.sourceforge.net Enviado: Lunes, 19 de enero, 2015 5:21:05 Asunto: Re:

Re: [Jmol-users] JSmol: how to put a protein's sequence into a javascript variable

2015-01-18 Thread Luciano Abriata
Info.messagecallback at all, and where will I get the waves of data that include the sequence... In brief, I have no clue! Thanks again! Luciano De: Otis Rothenberger osrot...@chemagic.com Para: Luciano Abriata luciano_abri...@yahoo.com; jmol-users@lists.sourceforge.net jmol-users

Re: [Jmol-users] JSmol: how to put a protein's sequence into a javascript variable

2015-01-18 Thread Luciano Abriata
, it will be welcome, but I can at least go on with my project. Best, Luciano PS Your chemagic is an amazing website! De: Otis Rothenberger osrot...@chemagic.com Para: Luciano Abriata luciano_abri...@yahoo.com; jmol-users@lists.sourceforge.net jmol-users@lists.sourceforge.net Enviado

[Jmol-users] JSmol: how to put a protein's sequence into a javascript variable

2015-01-17 Thread Luciano Abriata
Hello! I need to get the contents of show RESIDUES or show SEQUENCE from a PDB file loaded in JSmol, and put that into a javascript variable so as to play with it afterwards. I tried many things with no success, maybe because I don't understand how message callbacks and such work. I'm now