Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > ade69b80cdaceefefbad10408e76f731 > files > 1038

perl-BioPerl-1.6.901-5.mga4.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);