Hi Jorge, I have written a script that will draw lines between arbitrary pairs of atoms using CGO cylinders. The script is called "draw_links.py" and can be found on my script page:
http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/ Besides listing the pairs of atoms to connect you can control the colour and radius of the CGO cylinders with a command like: draw_links mol1 & chain A & name CA & resi 1+6+7+8, mol1 & chain A & name CA & resi 10+16+17+18 and that would connect the alpha carbons of residue 1 with 10, 6 with 16, 7 with 17 and 8 with 18. Cheers, Rob On Thu, 2019-10-17 16:31 +0200, Jorge Fernández de Cossío Díaz <j.cossio.d...@gmail.com> wrote: > Hi all. > > I have a list of pairs of residues. I want to draw lines between the > residues in each pair. The lines can have different colors. So in the > end I would like to achieve a figure like this one: > > > [image: 2019-10-15.png] > > What commands can I use to get this done in PyMOL? > > Thanks -- Robert L. Campbell, Ph.D. Adjunct Assistant Professor, Dept. of Biomedical & Molecular Sciences, Botterell Hall Rm 644 Queen's University, Kingston, ON K7L 3N6 Canada Tel: 613-533-6821 <robert.campb...@queensu.ca> http://pldserver1.biochem.queensu.ca/~rlc _______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe