/usr/share/doc/bioperl/examples/db/use_registry.pl is in bioperl 1.6.901-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/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);
|