NAME

Bio::BLAST::Database::Seq - lazy-loading sequence from a BLAST database

DESCRIPTION

Implements all methods in Bio::PrimarySeqI. Lazily loads its sequence information from the BLAST database it comes from, meaning that the sequence information is not actually loaded until you ask for it. Uses Bio::Seq::LargePrimarySeq internally when sequences are large, so can handle arbitrarily large sequences relatively well.

METHODS

new

For use by Bio::BLAST::Database only.

Takes args -id and -bdb, which are the sequence's ID and the Bio::BLAST::Database object it's from, respectively.

whole_seq

Return a non-lazy Bio::PrimarySeqI-implementing object containing the entire sequence. Most developers should not need this.

id

Read-only. Return this sequence's identifier.

desc, description

Read only, return the description line, if any, for this sequence.

SEE ALSO

Bio::PrimarySeqI

AUTHOR

Robert Buels <rmb32@cornell.edu>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Robert Buels.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.