[Biopython] two tracks on same level when using GenomeDiagram
Adam Witney
awitney at sgul.ac.uk
Mon Jun 25 09:09:38 UTC 2018
Hi Leighton,
No worries, thanks for your reply.
Essentially what I have are two different contigs for one draft genome that I want to align to a single contig for another draft genome.
Peter has also pasted this example:
https://www.biostars.org/p/94400/
are these likely being manually edited then?
thanks again for your help
Adam
From: Leighton Pritchard [mailto:Leighton.Pritchard at hutton.ac.uk]
Sent: 25 June 2018 09:58
To: Adam Witney <awitney at sgul.ac.uk>
Cc: biopython at mailman.open-bio.org
Subject: Re: [Biopython] two tracks on same level when using GenomeDiagram
Hi Adam,
I don’t think there’s a way to do it from the API - sorry about that.
As a hacky way to produce a similar diagram, I’d consider generating a single track from the two annotated sequences you want to align, with a spacer of appropriate size, and rendering the diagram. Then I’d mask off the spacer using Illustrator or similar package. It’s not exactly satisfactory, I know.
Apologies,
L.
> On 24 Jun 2018, at 23:39, Adam Witney <awitney at sgul.ac.uk<mailto:awitney at sgul.ac.uk>> wrote:
>
> Hi,
>
> When using GenomeDiagram, is it possible to have two tracks on the same level? One left justified and the other right justified? For example, I want to draw something similar to this Fig 3
>
> https://www.researchgate.net/figure/Comparisons-of-integrated-and-conjugative-elements-from-L-hokkaidonensis-and-several_fig3_275052056
>
> the third gene track from the bottom, it looks like two tracks on the same line?
>
> Thanks for any help
>
> adam
>
>
>
> _______________________________________________
> Biopython mailing list - Biopython at mailman.open-bio.org<mailto:Biopython at mailman.open-bio.org>
> http://mailman.open-bio.org/mailman/listinfo/biopython
The James Hutton Institute is a Scottish charitable company limited by guarantee.
Registered in Scotland No. SC374831
Registered Office: The James Hutton Institute, Invergowrie Dundee DD2 5DA.
Charity No. SC041796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20180625/5ae1f1ad/attachment-0001.html>
More information about the Biopython
mailing list