[Biopython-dev] Bio.Graphics and GenomeDiagram

Leighton Pritchard lpritc at scri.ac.uk
Wed Oct 15 10:39:11 UTC 2008


On 15/10/2008 11:24, "Peter" <biopython at maubp.freeserve.co.uk> wrote:

> On Wed, Oct 15, 2008 at 11:00 AM, Leighton Pritchard <lpritc at scri.ac.uk>
> wrote:
>> Hi,
>> 
>> A while ago I wrote the GenomeDiagram library for drawing images of genomes
>> and other large biological sequences, and collections of sequences
>> (http://bioinf.scri.ac.uk/lp/programs.php#genomediagram).  ...
>> Now that I have managed to free up a little bit of time I'd like to revisit
>> GenomeDiagram, tidy up the internals some more ..., and contribute it
>> to Bio.Graphics ..
>> I suggested something doing similar a while ago and got no feedback - does
>> anyone object to this contribution, in principle or in practice?  Or are
>> there any other comments?  I'm all (well, mostly) ears...

> One small thing I would change is switching colour to color for the
> argument/properties (the American spelling of color is the norm in all
> programming usage).

<grin> Fair point - I'll do that.  Though, like those pesky Canadians (see
Maple), I'm inclined to permit either spelling out of sheer
bloody-mindedness ;).  Historically (rather than etymologically), it's a
holdover from working with interim EMBL-ish .tab files from Sanger, which
use the British English spelling:

"""
FT                   /class="3.1.03"
FT                   /colour=7
FT                   /gene="asnA"
"""

Would people see permitting either form of colour/color as potentially
confusing?  If so, I'm happy to go with the majority spelling.

> Anyone using the existing stand alone
> GenomeDiagram library would have to make some small changes anyway
> (new import statements), so if there are going to be any other API
> changes it would be best to do them at the same time.

I agree.  I see this as a break from the standalone library, and would be
branching this version of GenomeDiagram from what had gone before.  While
I'd like to make API changes as low-impact as possible, I'm in favour of
such changes where they support functional improvement.

Cheers,

L.

-- 
Dr Leighton Pritchard MRSC
D131, Plant Pathology Programme, SCRI
Errol Road, Invergowrie, Perth and Kinross, Scotland, DD2 5DA
e:lpritc at scri.ac.uk       w:http://www.scri.ac.uk/staff/leightonpritchard
gpg/pgp: 0xFEFC205C       tel:+44(0)1382 562731 x2405


______________________________________________________________________
SCRI, Invergowrie, Dundee, DD2 5DA.  
The Scottish Crop Research Institute is a charitable company limited by
guarantee. 
Registered in Scotland No: SC 29367.
Recognised by the Inland Revenue as a Scottish Charity No: SC 006662.


DISCLAIMER:

This email is from the Scottish Crop Research Institute, but the views 
expressed by the sender are not necessarily the views of SCRI and its 
subsidiaries.  This email and any files transmitted with it are
confidential

to the intended recipient at the e-mail address to which it has been 
addressed.  It may not be disclosed or used by any other than that
addressee.
If you are not the intended recipient you are requested to preserve this

confidentiality and you must not use, disclose, copy, print or rely on
this 
e-mail in any way. Please notify postmaster at scri.ac.uk quoting the 
name of the sender and delete the email from your system.

Although SCRI has taken reasonable precautions to ensure no viruses are 
present in this email, neither the Institute nor the sender accepts any 
responsibility for any viruses, and it is your responsibility to scan
the email and the attachments (if any).
______________________________________________________________________



More information about the Biopython-dev mailing list