Re: [PyMOL] Line transparency

2017-01-14 Thread Thomas Holder
Hi Praz, There is no line transparency setting. But since the ray tracer anyway renders lines as thin sticks, you can show sticks instead of lines and use stick_transparency. show sticks hide lines set stick_radius, 0.1 set stick_transparency, 0.5 ray Hope that helps. Cheers, Thomas On 14

Re: [PyMOL] Save command output to a file in pymol

2017-01-14 Thread Thomas Holder
Spencer's example was in PyMOL command syntax (.pml script). To use it in a Python script, it would look like this: from pymol import cmd, stored stored.f = open("ss.txt", "w") cmd.iterate("n. CA", "stored.f.write(resi + ':' + ss+'\n')") stored.f.close() Cheers, Thomas On 13 Jan 2017, at 18:4

[PyMOL] Line transparency

2017-01-14 Thread Praz Nina
Dear all, I am wondering if it's possible to vary the transparency of the line representation in PyMol. Currently I display the protein as a cartoon, then duplicate the object and display it as a line (preset: technical, to be specific), but I want the line representation to be less visible. Of c