[gt-users] where is the example styles file?
Sascha Steinbiss
steinbiss at zbh.uni-hamburg.de
Tue Apr 21 16:26:12 CEST 2009
James Casbon wrote:
> Hi,
Hi James,
> I'm trying to use gt through the python bindings to produce a sketch.
> However, I cannot seem to get it to use a style file. It needs to be
> a table apparently (see below). Any clues on what I am supposed to
> be doing here?
The style table must be named 'style' instead of 'config', as can be
seen in gtdata/sketch/default.style (the default style file, can also
well be used as a starting point for style customizations).
There seem to be obsolete references to 'config' on the web pages. This
has been fixed and the pages will be updated soon. Thanks for bringing
this to our attention.
> thanks,
> James
You're welcome!
By the way:
> Flapjack:tranche2 james$ python
> ext/genometools-1.3.0/testdata/gtpython/style.py styles.lua
The style.py script in the 'testdata' directory is intended for use with
the internal GenomeTools unit test suite and may not work with any style
file given as a parameter.
As a starting point for Python development with AnnotationSketch, I
would rather recommend using the sketch.py script, adding style support
by using style.load_file().
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