Re: [PyMOL] How to show the surface border of a specific residue?

2014-07-24 Thread Ooker
Hi Jared, thanks for your efford. Just to add more information, if you
have to do it many times, you'd better overlay the border by a script.
You can use ImageMagick or GraphicMagick to do that.

composite -gravity center overlay.png base.png base_with_border.png:
See http://www.imagemagick.org/script/composite.php

For how to erase the extra outline, see this thread I'm asking in the
ImageMagick forum:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=25970&p=113686#p113686

It's quite complicate though.

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
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


Re: [PyMOL] How to show the surface border of a specific residue?

2014-07-24 Thread Sampson, Jared
Hi Ooker -

As I understand it, you want to overlay a line to show which part of the 
surface belongs to which residue.  There is currently no way to do this 
directly within PyMOL.  However, is possible to achieve something similar using 
multiple layers in a composite image.  See this previous thread: 
https://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg12281.html

I’ve also just created a page on the PyMOL Wiki with an example:  
http://www.pymolwiki.org/index.php/Outline

Hope that helps.

Cheers,
Jared

--
Jared Sampson
Xiangpeng Kong Lab
NYU Langone Medical Center
http://kong.med.nyu.edu/






On Jul 24, 2014, at 10:15 AM, Ooker 
mailto:ganuongp...@gmail.com>> wrote:

I have a potential map of a protein and I would like to have a border
between a specific residue while the map keeps unchanged.

I have thought about making a new object of the residue and tried to
find a command similar to:

set label_outline_color, black

but I can't find one.

Do you have any ideas? Thank you so much.

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
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


This email message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain information that is proprietary, 
confidential, and exempt from disclosure under applicable law. Any unauthorized 
review, use, disclosure, or distribution is prohibited. If you have received 
this email in error please notify the sender by return email and delete the 
original message. Please note, the recipient should check this email and any 
attachments for the presence of viruses. The organization accepts no liability 
for any damage caused by any virus transmitted by this email.
=
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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

[PyMOL] How to show the surface border of a specific residue?

2014-07-24 Thread Ooker
I have a potential map of a protein and I would like to have a border
between a specific residue while the map keeps unchanged.

I have thought about making a new object of the residue and tried to
find a command similar to:

set label_outline_color, black

but I can't find one.

Do you have any ideas? Thank you so much.

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
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