Created
July 23, 2013 03:48
-
-
Save s4553711/6059718 to your computer and use it in GitHub Desktop.
A sample code for parsing KEGG Pathway from KGML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use local::lib; | |
use utf8; | |
use Bio::Database::KEGG::Path; | |
use Data::Dumper; | |
# input file (KGML file) | |
my $file = shift; | |
# parse the pathway info | |
$kegg = Bio::Database::KEGG::Path->new(); | |
my $data = $kegg->fetch($file); | |
print Dumper($data); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment