In the KEGG website, I've downloaded a KGML file which contains all informations of a pathway. But I want to get the vector graphic of the pathway such as SVG file.
Unconfigured Ad
Collapse
X
-
Something like that is likely coming to Biopython, probably in the next release:
This pull request is mainly as a discussion point for Leighton's (@widdowquinn) KEGG KGML parser and visualisation work, originally on the following pull request, but the branch was a little me...
Leighton's blog posts about this work:
In which I attempt to visualise metabolic maps for comparative genomics, and lead up to making a contribution to Biopython.
In which I don't quite get around to writing a KGML parser and visualisation module (all very Tristram Shandy , this!), with a view to submi...
In which I finally get around to sharing some code, and give some examples of downloading and modifying KEGG pathway maps.
This using Python to parse the KGML XML files, which can then be rendered using the manual layout positions KEGG provide. The examples produce PDF, but underneath this uses the ReportLab library for the graphics which supports vector output including PDF and SVG (and also bitmap output like PNG) so using this for SVG output should in principle be possible.
You can also overlay this information on top of the template PNG images KEGG provide to make annotated variations, for example to emphasise a particular pathway.
-
Thank you! I‘ll pay attention to it.Originally posted by maubp View PostSomething like that is likely coming to Biopython, probably in the next release:
This pull request is mainly as a discussion point for Leighton's (@widdowquinn) KEGG KGML parser and visualisation work, originally on the following pull request, but the branch was a little me...
Leighton's blog posts about this work:
In which I attempt to visualise metabolic maps for comparative genomics, and lead up to making a contribution to Biopython.
In which I don't quite get around to writing a KGML parser and visualisation module (all very Tristram Shandy , this!), with a view to submi...
In which I finally get around to sharing some code, and give some examples of downloading and modifying KEGG pathway maps.
This using Python to parse the KGML XML files, which can then be rendered using the manual layout positions KEGG provide. The examples produce PDF, but underneath this uses the ReportLab library for the graphics which supports vector output including PDF and SVG (and also bitmap output like PNG) so using this for SVG output should in principle be possible.
You can also overlay this information on top of the template PNG images KEGG provide to make annotated variations, for example to emphasise a particular pathway.
Comment
Latest Articles
Collapse
-
by SEQadmin2
CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).
Despite this, “CRISPR helped turn genome editing from a specialized technique into...-
Channel: Articles
07-31-2026, 11:01 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Today, 11:17 AM
|
0 responses
5 views
0 reactions
|
Last Post
by SEQadmin2
Today, 11:17 AM
|
||
|
Started by SEQadmin2, 08-18-2026, 10:05 AM
|
0 responses
15 views
0 reactions
|
Last Post
by SEQadmin2
08-18-2026, 10:05 AM
|
||
|
Started by SEQadmin2, 08-13-2026, 12:22 PM
|
0 responses
38 views
0 reactions
|
Last Post
by SEQadmin2
08-13-2026, 12:22 PM
|
||
|
Started by SEQadmin2, 08-11-2026, 10:35 AM
|
0 responses
31 views
0 reactions
|
Last Post
by SEQadmin2
08-11-2026, 10:35 AM
|
Comment