[gt-users] [Python]Proteic plot

Sascha Steinbiss steinbiss at zbh.uni-hamburg.de
Fri Nov 27 17:51:37 CET 2009


On 11/27/2009 12:07 PM, Sascha Steinbiss wrote:
>> As far as I explored the code, I didn't found any 
>> parameter allowing to change the axis information 3'-5'
> Yes, this is still hard-coded due to the fact that the intention of
> AnnotationSketch was to visualise features with respect to their
> position in a genome. However, making the descriptions on the ruler axis
> configurable should be very easy. I will implement this when I find the
> time, making the descriptions on both ends configurable via style file
> parameters. 

The code in the current git head now supports setting the axis units and
descriptions via the style file. For example, for protein feature
diagrams one could use something like that:

config =
{
  ...
  format =
  {
    ...
    unit = "",                -- do not mark any units as 'bp'
    ruler_left_text = "N",    -- mark left plot side as N terminus
    ruler_right_text = "C",   -- mark right plot side as C terminus
    ...
  },
}
...

Have a nice weekend,
Sascha

-- 
Sascha Steinbiss
Center for Bioinformatics
University of Hamburg
Bundesstr. 43
20146 Hamburg
Germany

Email:  steinbiss at zbh.uni-hamburg.de
URL:    http://www.zbh.uni-hamburg.de/steinbiss
Phone:  +49 (40) 42838 7322
FAX:    +49 (40) 42838 7312



More information about the gt-users mailing list