Boulder
view release on metacpan or search on metacpan
Boulder/Genbank.pm view on Meta::CPAN
The list of accession numbers to fetch, as an array ref.
=item B<-db>
The database to search. This is a single-letter database code
selected from the following list:
m MEDLINE
p Protein
n Nucleotide
s Popset
=item B<-proxy>
An HTTP proxy to use. For example:
-proxy => http://www.firewall.com:9000
If you think you need this, get the correct URL from your system
administrator.
Boulder/Genbank.pm view on Meta::CPAN
}
return \@accessions;
}
sub db {
my $self = shift;
my $db = $self->{db} || 'n';
my $translated = { m => 'medline',
p => 'protein',
n => 'nucleotide',
s => 'popset' }->{$db};
$translated || $db;
}
# BUG: one billion = infinity
sub limit {
shift->{limit} || 1_000_000_000;
}
sub _build_connection {
my $self = shift;
( run in 0.723 second using v1.01-cache-2.11-cpan-71847e10f99 )