Good!

Responding to my question, It's possible also into the open-source PyMOL
version: I found
this<https://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07951.html>topic.

You need to *duplicate *the pdb entry as *object*, and apply
"*cartoon_side_chain_helper
= off*" to the first object and "*cartoon_side_chain_helper = on*" to its
copy (or *vice versa*), selecting the residues of each entry, in this way,
for example:

cmd.fetch("1qpe", async=0);
cmd.remove("(solvent and (all))");
cmd.create("1qpe_copy","1qpe");
cmd.hide("everything","1qpe_copy");

cmd.show_as("cartoon","1qpe");
cmd.show("sticks","/1qpe//A/316+317+319");
cmd.set("cartoon_side_chain_helper", "off", "1qpe");

cmd.show_as("cartoon","1qpe_copy");
cmd.show("sticks","/1qpe_copy//A/393+394+395");
cmd.set("cartoon_side_chain_helper", "on", "1qpe_copy");

Cheers,
Riccardo


 *ChemBioScripting | X3D PyMOL Molecule Viewer
<http://chembioscripting.hol.es> *|* Gioacchino Riccardo Volpe*


2014-03-20 22:17 GMT+01:00 Riccardo <mitm...@gmail.com>:

> Hi Tsjerk!
>
> So, Yes! Thanks to visit my website!! :)... I understand where is the
> problem! I created that website before have a mobile device :), as
> experiment to get the fantastic PyMOL rendering in an interactive 3D web
> environment, so it's expressly designed for a desktop computer, and I'm not
> sure how good it looks on a tablet! I need and want to rewrite it, making
> it responsive for mobile devices too: for now, it works well only on web
> browser for computer desktop, like Chrome or Firefox... Sorry for the
> inconvenience, but before rewrite it, I thought to add some tasks to it for
> a next version, like download pdb files from Protein Data Bank, for which
> I'm writing some python code at moment.
>
> In the meantime, I will translate buttons and other explainations in
> english, if you want, but I suggest you to visit it on a computer desktop
> with web browser like Chrome or Firefox or Opera (with supported and
> enabled WebGL: Safari supports WebGL only in Mac version, not in its
> Windows Version); for Microsoft Internet Explorer, only IE11 (in Windows
> 8.1) supports WebGL natively, without external plugins.
>
> Thanks :),
>
> Greetings,
> Riccardo
>
>
>  *ChemBioScripting | X3D PyMOL Molecule Viewer
> <http://chembioscripting.hol.es> *|* Gioacchino Riccardo Volpe*
>
>
> 2014-03-20 20:46 GMT+01:00 Tsjerk Wassenaar <tsje...@gmail.com>:
>
> Hey Riccardo,
>>
>> I clicked on the link on my Nexus 7. It opened the viewer with a protein
>> loaded, and gave very nice response to multi touch gestures. But there were
>> two buttons in the middle of the view, like > and <. So I pressed > and
>> that made a sort of menu pop up from the side with what looked as some kind
>> of controls. But that was in Italian :p
>>
>> Cheers,
>>
>> Tsjerk
>> On Mar 20, 2014 7:40 PM, "Riccardo" <mitm...@gmail.com> wrote:
>>
>>> Hi Tsjerk,
>>>
>>> Glad to hear a greeting in Italian! :) ...
>>>
>>> Sorry for the question, but I'm not sure about what do you refear
>>> speaking of "buttons"... Are you speaking about my website? The only
>>> Italian "buttons", in this context, are probably those on my website...
>>> Have you saw it on a tablet?
>>>
>>> Cheers,
>>> Riccardo
>>>
>>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
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

Reply via email to