[BioPython] (bio)python for vector cloning
Leighton Pritchard
lpritc at scri.ac.uk
Wed Aug 13 09:17:49 UTC 2008
Hi,
On 12/08/2008 13:10, "Peter" <biopython at maubp.freeserve.co.uk> wrote:
>>> What exactly do you mean by plot annotated vector maps? There are
>>> some basic graphics capabilities in Biopython which use ReportLab.
>>> Depending on what you want to do, GenomeDiagram might be helpful too.
>>> http://bioinf.scri.ac.uk/lp/programs.php#genomediagram
>>
>> I mean the typical vector graphic representation that gives you an
>> idea of the vector sequence structure (see for instance
>> http://www.addgene.org/pgvec1?f=d&vectorid=345&cmd=genvecmap&dim=800&format=h
>> tml&mtime=1187931178).
>> I would use it for personal documentation, but also when I send the
>> plasmids to other people.
>>
>> It seems GenomeDiagram could be used for that job, but not without
>> some heavy customization... It would be nice to have something already
>> usable for this purpose.
>
> I have used GenomeDiagram for plasmid figures, for example showing the
> location of microarray probe target sequences. However, right now it
> does lack support for "arrowed features" on the circles, and the fancy
> labeling in that example. So I would agree, recreating that figure
> using Biopython and GenomeDiagram would need plenty of additional
> work. However, a simplified version would be fairly easy I think.
Peter's correct: currently GenomeDiagram only has support for drawing arrow
features in linear diagrams, and the labelling in the diagram that you link
to is not achievable by the GenomeDiagram API. Features can be labelled
individually, just not in the style shown. GenomeDiagram was designed for
the presentation of hundreds of genomes, rather than single plasmids, so
this use is a little out of its original scope ;)
There is a package called Plasmidomics, written in Python, that I've never
used, but which is designed for this kind of task:
http://www.bioprocess.org/plasmid/
It might be what you need and, if the source code is available, you might be
able to work it into your own code.
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
mailing list