Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > 56fe32da41fe01950024c17d04f54d33 > files > 969

perl-BioPerl-1.6.924-8.mga5.noarch.rpm

#!/usr/bin/perl
use strict;

use Bio::DB::Registry;
use Bio::SeqIO;
use strict;

my $registry = new Bio::DB::Registry();

print "services are ", join(',', $registry->services), "\n";
my $db = $registry->get_database("embl");
my $seq = $db->get_Seq_by_id("J02231");
my $out = new Bio::SeqIO;
$out->write_seq($seq);