[Bioperl-l] The axis of GC content in Bio::Graphics::glyph:dna

michael watson (IAH-C) michael.watson at bbsrc.ac.uk
Mon Feb 26 16:00:31 UTC 2007


Hi Lincoln/List
 
That's great, the axis now appears, but there are no labels.  This in
itself isn't a problem, as long as we can assume that the tick marks are
at 0, 50% and 100%?  If that's true, we can go with what we have,
otherwise I'm going to have to figure out a way to label the y-axis
 
Thanks
Mick

________________________________

From: lincoln.stein at gmail.com [mailto:lincoln.stein at gmail.com] On Behalf
Of Lincoln Stein
Sent: 15 February 2007 18:53
To: michael watson (IAH-C)
Cc: BioPerl-List
Subject: Re: [Bioperl-l] The axis of GC content in
Bio::Graphics::glyph:dna


Hi Michael,

When you set up the panel, do this:

 Bio::Graphics::Panel->new(-blah -blah,
                                         -pad_left => 20,
                                          -pad_right => 20); 

This will leave enough room on the left and right for you to see the Y
axis. Otherwise it runs off the edge of the image (ok, this is a
mis-design, but it was the only way to solve a chicken-and-egg problem
about who gets to say how wide the panel is) 

Lincoln


On 2/15/07, michael watson (IAH-C) <michael.watson at bbsrc.ac.uk> wrote: 

	Hi
	
	OK I have some great images out of this glyph, but I can't see
the axis,
	and nor is it labelled (ie does it go from 0 - 100%?) so isn't
great for
	publication.  The docs say:
	
	"NOTE: -gc_window=>'auto' gives nice results and is recommended
for 
	drawing GC content. The GC content axes draw slightly outside
the
	panel, so you may wish to add some extra padding on the right
and
	left. "
	
	Any idea how to do this?
	
	Basically, I want a nice GC graph with the axis quite clearly
labelled, 
	and a nice "%GC" title next to it :)
	
	Thanks
	
	Mick
	
	The information contained in this message may be confidential or
legally
	privileged and is intended solely for the addressee. If you have

	received this message in error please delete it & notify the
originator
	immediately.
	Unauthorised use, disclosure, copying or alteration of this
message is
	forbidden & may be unlawful.
	The contents of this e-mail are the views of the sender and do
not 
	necessarily represent the views of the Institute.
	This email and associated attachments has been checked locally
for
	viruses but we can accept no responsibility once it has left our
	systems.
	Communications on Institute computers are monitored to secure
the 
	effective operation of the systems and for other lawful
purposes.
	
	_______________________________________________
	Bioperl-l mailing list
	Bioperl-l at lists.open-bio.org 
	http://lists.open-bio.org/mailman/listinfo/bioperl-l
	




-- 
Lincoln D. Stein
Cold Spring Harbor Laboratory 
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)
FOR URGENT MESSAGES & SCHEDULING, 
PLEASE CONTACT MY ASSISTANT, 
SANDRA MICHELSEN, AT michelse at cshl.edu 




More information about the Bioperl-l mailing list