[Biopython-dev] Modifications to CircularDrawer

Peter Cock p.j.a.cock at googlemail.com
Sat Mar 16 14:38:22 UTC 2013


On Wed, Dec 5, 2012 at 6:41 PM, Peter Cock <p.j.a.cock at googlemail.com> wrote:
> Hi David,
>
> I've been experimenting with your pull request, thank you:
> https://github.com/biopython/biopython/pull/116
>

Hi again David,

I've not used your code as is, but have started by pulling out
and generalising what I felt was the least contentious part:

https://github.com/biopython/biopython/commit/087712510421ec7f655a7981926a757aa93e9177

This means that label_position = start, middle, end (and some
historic aliases defined in the linear drawer code) now work
on circular GenomeDiagrams. I have made the default None,
which gives the current behaviour (as 'start' on linear, the
more complicated to explain vertical bottom on circular).

Support for allowing the default label orientation to be radially
consistent all round the circle (rather than the current flipping
for the left/right halves which assumes the output is kept
vertical) would be nice, but the thing I am most keen on is the
inside/outside of the track label placement. Hopefully I'll have
time to finish that this weekend...

Peter



More information about the Biopython-dev mailing list