What are you doing? Write this as an iPhone App! Charge $0.99 and you will be set! :-)
Of course, I will need my $0.02 per App comission for giving the idea out. Thanks, Chris On Thu, 16 Apr 2009, Clemens Vonrhein wrote: >>>Hi, >>> >>>And if you want a simple and trivial awk script (based on that >>>google'ing that Charlie described): save attached file in your path, >>>make it executable and run it e.g. as >>> >>> % vecang 1.23 3.45 6.78 9.87 7.65 5.43 >>> >>>Cheers >>> >>>Clemens >>> >>>PS: sorry it isn't in python/scheme or something similarly modern ;-) >>> >>>On Thu, Apr 16, 2009 at 07:21:45PM +0800, Charlie Bond wrote: >>>> I've previously done it by using the centroids of the Calphas from the >>>> first 4 residues and last 4 residues of the helix to define the vector >>>> (7 residues might be better if the helix is long enough). It seemed to >>>> work well enough by eye. >>>> From then on it is simple vector algebra (google 'dot product' or >>>> something similar). >>>> Cheers, >>>> Charlie >>>> -- >>>> Charlie Bond >>>> Professorial Fellow >>>> University of Western Australia >>>> School of Biomedical, Biomolecular and Chemical Sciences >>>> M310,? 35 Stirling Highway >>>> Crawley WA 6009, Australia >>> >>>-- >>> >>>*************************************************************** >>>* Clemens Vonrhein, Ph.D. vonrhein AT GlobalPhasing DOT com >>>* >>>* Global Phasing Ltd. >>>* Sheraton House, Castle Park >>>* Cambridge CB3 0AX, UK >>>*-------------------------------------------------------------- >>>* BUSTER Development Group (http://www.globalphasing.com) >>>*************************************************************** >>>
