Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 561d6af651e4b42e704f3cdabd8080c7 > files > 66

perl-BioPerl-1.7.5-2.mga7.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);