[gt-users] styles
Sascha Steinbiss
steinbiss at zbh.uni-hamburg.de
Mon Nov 17 18:02:30 CET 2008
Brent Pedersen wrote:
> hi, the drawing stuff is working out great, and it's very easy to use.
> i have a couple questions about styling.
> if inside the gene style i set:
> fill = {red=1.0, green=0.0, blue=0.0},
> it shows up as a sort of fuchsia color is there a way to get just red?
This is because the feature boxes are not drawn with 100% alpha. I think
we could change the Color definition to include an alpha field to
override the default.
> what are the options for the style option which is always "box" in the
> default.style?
> i tried "rectangle" but it didnt seem to change anything. i'd like to
> have it only draw
> the directional arrows for the gene features, and not the CDS.
There are the following styles at the moment:
* box (with arrows, this is the default style)
* line (simple line with arrowheads)
* dashes (dashed line with arrowheads)
* caret (hat-like "^" symbol, often used for introns)
I added a new one:
* rectangle (like the default, but never with arrowheads)
The idea was to look at the features: if a strand is set in the
annotation, the direction is shown by the arrowhead. But if that's not
desired, it is trivial for us to add a type without any.
> thanks,
> -brent
No problem!
- Sascha
P.S.: I have been working on your request regarding the track assignment
by strand. This is -- in an experimental branch -- now possible through
the use of a callback function returning a track ID per string, which
could consist of type and strand. There has been a slight interface
change, though. We will inform everyone when this version is ready.
> _______________________________________________
> gt-users mailing list
> gt-users at genometools.org
> http://genometools.org/mailman/listinfo/gt-users
>
--
Sascha Steinbiss
Zentrum für Bioinformatik
Universität 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