Gonzalo,

The cartoon representation is a stylized representation of the
structure using backbone atoms as guides. Setting stick_color or
line_color on a cartoon won't help -- you need to show lines or
sticks.  If you need sticks/lines back just type:

show lines, sele

or

show sticks, sele

where "sele" is your selected atoms.

Cheers,

-- Jason

On Tue, Jan 31, 2012 at 3:31 PM, Gonzalo Parra <gonza_pa...@hotmail.com> wrote:
> Sorry guys, it's me again.
>
> It worked while I was seeing the structure in lines style, but when I change
> the style to cartoon, the bonds that I set dissapear.. How can I prevent it?
>
> Thanks again, and sorry for beeing that noob.
>
> Gonzalo
>
>> From: jason.vertr...@schrodinger.com
>> Date: Tue, 31 Jan 2012 15:07:51 -0500
>> Subject: Re: [PyMOL] drawing and formating bonds between atoms
>> To: gonza_pa...@hotmail.com
>> CC: pymol-users@lists.sourceforge.net
>
>>
>> Gonzalo,
>>
>> Just pick a bond and issue the following setting command to make colored
>> lines:
>>
>> set_bond line_color, yourColor, sele
>>
>> You can also use
>>
>> set_bond stick_color, yourColor, sele
>>
>> for sticks.
>>
>> "sele" should be the two bound atoms.
>>
>> Cheers,
>>
>> -- Jason
>>
>>
>> On Tue, Jan 31, 2012 at 1:51 PM, Gonzalo Parra <gonza_pa...@hotmail.com>
>> wrote:
>> > Hello everyone,
>> >
>> > I was trying to make a pymol script. I have to draw different lines in
>> > my
>> > pdb structure with different colors.
>> >
>> > So, I find the way to draw a bond between to atoms, for example.
>> >
>> > "bond resi 234 and resn GLU and name CA, resi 259 and resn SER and name
>> > CA"
>> >
>> >
>> > But it always draw the bond with the same color. And I wasn't able to
>> > change
>> > a bond color without changing every bonds color.
>> >
>> >
>> > How can I color one specific bond color, for example just the bond that
>> > bonds resi 234 and resn GLU and name CA and resi 259 and resn SER and
>> > name
>> > CA?
>> >
>> >
>> > Thanks in advance
>> >
>> > Gonzalo
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Keep Your Developer Skills Current with LearnDevNow!
>> > The most comprehensive online learning library for Microsoft developers
>> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> > Metro Style Apps, more. Free future releases when you subscribe now!
>> > http://p.sf.net/sfu/learndevnow-d2d
>> > _______________________________________________
>> > 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
>>
>>
>>
>> --
>> Jason Vertrees, PhD
>> PyMOL Product Manager
>> Schrodinger, LLC
>>
>> (e) jason.vertr...@schrodinger.com
>> (o) +1 (603) 374-7120



-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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