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 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 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
When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...-
Channel: Articles
Today, 07:04 AM -
-
by SEQadmin2
NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...-
Channel: Articles
10-30-2026, 06:46 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 11:11 AM
|
0 responses
14 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:11 AM
|
||
|
Started by SEQadmin2, 11-17-2026, 06:27 AM
|
0 responses
39 views
0 reactions
|
Last Post
by SEQadmin2
11-17-2026, 06:27 AM
|
||
|
Started by SEQadmin2, 11-12-2026, 07:59 AM
|
0 responses
55 views
0 reactions
|
Last Post
by SEQadmin2
11-12-2026, 07:59 AM
|
||
|
Started by SEQadmin2, 11-05-2026, 09:25 AM
|
0 responses
61 views
0 reactions
|
Last Post
by SEQadmin2
11-05-2026, 09:25 AM
|
Comment