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 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 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 -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Genome Sequencing Reveals Large, Repeat-Rich DNA in Trapdoor Spider Named for Stephen Colbert
by SEQadmin2
Started by SEQadmin2, 10-28-2026, 09:57 AM
|
0 responses
22 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:57 AM
|
||
|
Started by SEQadmin2, 10-28-2026, 09:51 AM
|
0 responses
14 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 11:13 AM
|
0 responses
67 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 11:13 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 10:48 AM
|
0 responses
47 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 10:48 AM
|
Comment