SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert VCF files to BCF files janaahan13 Bioinformatics 3 09-16-2015 06:47 AM
convert plink files to VCF fadista General 0 11-29-2012 04:30 PM
convert base call files (*.bcl) into files (*_qseq.txt) giampe Bioinformatics 12 10-20-2011 09:45 AM
PubMed: Complete characterization of the edited transcriptome of the mitochondrion of Newsbot! Literature Watch 0 10-18-2011 03:00 AM
Tools to convert WTAP mapping results to nucleotide space? kchu SOLiD 0 09-14-2009 09:28 AM

Reply
 
Thread Tools
Old 04-11-2013, 01:02 AM   #1
hugh_hang
Member
 
Location: Hangzhou, China

Join Date: Jan 2013
Posts: 28
Question Can any softwares or tools convert .KGML files(XML edited) to SVG ones?

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.
hugh_hang is offline   Reply With Quote
Old 04-11-2013, 01:54 AM   #2
maubp
Peter (Biopython etc)
 
Location: Dundee, Scotland, UK

Join Date: Jul 2009
Posts: 1,543
Default

Something like that is likely coming to Biopython, probably in the next release:
https://github.com/biopython/biopython/pull/173

Leighton's blog posts about this work:
http://armchairbiology.blogspot.co.u...ch-part-i.html
http://armchairbiology.blogspot.co.u...h-part-ii.html
http://armchairbiology.blogspot.co.u...-part-iii.html

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.
maubp is offline   Reply With Quote
Old 04-11-2013, 11:20 PM   #3
hugh_hang
Member
 
Location: Hangzhou, China

Join Date: Jan 2013
Posts: 28
Default

Quote:
Originally Posted by maubp View Post
Something like that is likely coming to Biopython, probably in the next release:
https://github.com/biopython/biopython/pull/173

Leighton's blog posts about this work:
http://armchairbiology.blogspot.co.u...ch-part-i.html
http://armchairbiology.blogspot.co.u...h-part-ii.html
http://armchairbiology.blogspot.co.u...-part-iii.html

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.
hugh_hang is offline   Reply With Quote
Reply

Tags
kegg, kgml, svg

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 05:51 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO