[gt-users] [Python]Proteic plot
Sascha Steinbiss
steinbiss at zbh.uni-hamburg.de
Wed Dec 2 17:14:32 CET 2009
On 12/02/2009 05:03 PM, Sascha Steinbiss wrote:
> GtDiagram* gt_diagram_new(GtFeatureIndex *feature_index,
> const char *seqid,
> const GtRange *range,
> GtStyle *style, GtError*);
Oops, I missed the "[Python]" in the subject line and thought about C
code ;)
Of course, this also works in the Python bindings. Just use:
...
range = Range(100, 100000)
...
diagram = Diagram.from_index(feature_index, seqid, range, style)
...
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