Jason,

I don't know Molscript, but I think the following commands will do what
you want:

        select a, ///A/501/02
        select b, ///B/229/N
        distance d, a, b

This will give you a dashed line object d which is labelled with the
distance between the two atoms 'a' and 'b' - you can get rid of the
label using

        hide labels, d

btw, if you want to ray-trace the image, I find the dashes come out a
bit fat - so I tend to use

        set dash_gap, 0.5
        set dash_radius, 0.1

before the 'ray' command.

Gareth


On Fri, 2003-05-09 at 02:21, jkyano wrote:
> Hi All,
> 
> I was wondering if it is possible to draw dashed lines connecting two 
> residues 
> similar to the following molscript commands:
> 
>      set linedash 5.0;
>      set linewidth 6;
>      set linecolour red;
>      set bonddistance 5.0;
> 
> bonds require atom O2 and in residue A501 require atom N and in residue B229;
> 
> 
> I know that you can draw hydrogen bonds, but I want show dashed lines between 
> two sets residues that are roughly 6.5 and 13 angstroms away from each other.
> 
> 
> Thanks,
> 
> 
> Jason
> 
> *******************************
> Jason Yano, Ph.D.
> The Scripps Research Institute
> 10550 N. Torrey pines Rd.
> La Jolla, CA 92037
> mail 255
> Tel.: (858) 784-7919
> Fax: (858) 784-7978
> jky...@scripps.edu
> *******************************
> 
> 
> 
> 
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
> 
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
-- 
-------------------------------------------------------------------------------
 Gareth Stockwell
 EMBL - European Bioinformatics Institute
 Wellcome Trust Genome Campus
 Hinxton
 Cambridge CB10 1SD                                         gar...@ebi.ac.uk
 Tel 01223 492548                               http://www.ebi.ac.uk/~gareth


Reply via email to