Skip to content

ctb/pygr-draw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygr-draw is a library for drawing features on sequences.

It requires pygr v0.8+, ReportLab for drawing PDFs, and/or the Python
Imaging Library (PIL) for drawing PNGs.

Development happens on github:

   http://github.com/ctb/pygr-draw/

And you can get the source code like so:

   git clone git://github.com/ctb/pygr-draw.git

---

Getting started
---------------

Check out the files in doc/, starting with `the index <doc/index.html>`__.

To run .py files in doc/, you have to set up the environment properly.
First, set the PYTHONPATH: start in the top level pygr-draw directory and do,
::

   export PYTHONPATH=`pwd`
   cd doc/

Now type 'make' to build all of the HTML (you'll need docutils...) or
you can run the various examples yourself, e.g. ::

   python simple-example.py
   python group-example.py

To run all the doctests, do ::

   python run-doctests.py *.txt

or to run a single one, do ::

   python run-doctests.py simple-example.txt

About

Simple drawing code for pygr features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages