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 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 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
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
-
by SEQadmin2
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 10:52 AM
|
0 responses
9 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 10:52 AM
|
||
|
Started by SEQadmin2, 10-14-2026, 05:39 AM
|
0 responses
19 views
0 reactions
|
Last Post
by SEQadmin2
10-14-2026, 05:39 AM
|
||
|
Started by SEQadmin2, 10-13-2026, 09:56 AM
|
0 responses
17 views
0 reactions
|
Last Post
by SEQadmin2
10-13-2026, 09:56 AM
|
||
|
Started by SEQadmin2, 10-09-2026, 11:14 AM
|
0 responses
27 views
0 reactions
|
Last Post
by SEQadmin2
10-09-2026, 11:14 AM
|
Comment