https://github.com/ctb/pygr-draw
Simple drawing code for pygr features
https://github.com/ctb/pygr-draw
Last synced: about 1 year ago
JSON representation
Simple drawing code for pygr features
- Host: GitHub
- URL: https://github.com/ctb/pygr-draw
- Owner: ctb
- Created: 2009-05-20T17:50:44.000Z (about 17 years ago)
- Default Branch: master
- Last Pushed: 2010-04-15T04:31:41.000Z (about 16 years ago)
- Last Synced: 2023-04-13T12:05:58.038Z (about 3 years ago)
- Language: Python
- Homepage: http://github.com/ctb/pygr-draw
- Size: 129 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
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 `__.
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