[Bioperl-l] Helical Wheel module
Chris Fields
cjfields at uiuc.edu
Wed Nov 28 13:54:39 UTC 2007
Looks good! We recently added in your transmembrane module, so we
could definitely add this in.
chris
On Nov 28, 2007, at 7:10 AM, Tim Nugent wrote:
> Hi everyone,
>
> I've been drawing a lot of helical wheels recently so put all my code
> into a module. I don't think there's anything in bioperl to do this
> yet
> though there are a few programs written in perl and flash on the web
> to
> do the same thing. I was thinking this could fit into biographics. Has
> lots of options to adjust labels, colours, ttf fonts and can output to
> png & svg.
>
> Tim
>
> ...
>
> Here's the output, converted to jpg from svg:
> http://www.cs.ucl.ac.uk/staff/T.Nugent/images/2A79_B_helices.jpg
>
> Module:
> http://www.cs.ucl.ac.uk/staff/T.Nugent/downloads/DrawHelicalWheel.tar.gz
>
> Works like this:
>
> use DrawHelicalWheel;
>
> my $im = DrawHelicalWheel->new(-title=>$title,
> -sequence=>$sequence,
> -helices=>\@helices,
> -ttf_font=>$font);
> open(OUTPUT, ">$svg");
> binmode OUTPUT;
> print OUTPUT $im->svg;
> close OUTPUT;
>
> --
> Tim Nugent (MRes)
> Research Student
> Bioinformatics Unit
> Department of Computer Science
> University College London
> Gower Street
> London WC1E 6BT
> Tel: 020-7679-0410
> t.nugent at ucl.ac.uk
> http://www.cs.ucl.ac.uk/staff/T.Nugent
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
Christopher Fields
Postdoctoral Researcher
Lab of Dr. Robert Switzer
Dept of Biochemistry
University of Illinois Urbana-Champaign
More information about the Bioperl-l
mailing list