maint: remove Travis stuff which has been replaced with Github actions (#325)
[bioperl-live.git] / examples / db / use_registry.pl
blob8294fe7b450bd6bf1def633b44a642233f49bf6b
1 #!/usr/bin/perl
2 use strict;
4 use Bio::DB::Registry;
5 use Bio::SeqIO;
6 use strict;
8 my $registry = new Bio::DB::Registry();
10 print "services are ", join(',', $registry->services), "\n";
11 my $db = $registry->get_database("embl");
12 my $seq = $db->get_Seq_by_id("J02231");
13 my $out = new Bio::SeqIO;
14 $out->write_seq($seq);