Bio::SFF::Reader::Random - Random-access SFF reader
version 0.006
my $reader = Bio::SFF::Reader::Random->new(file => $filename); if (my $entry = $reader->lookup('ABCDEF')) { say '>', $entry->name; say $entry->bases; } else { say 'No such entry "ABCDEF"'; }
This class implements Bio::SFF::Reader. It provides random access to an SFF file.
This will look up a named sequence, and return it. Note that this will affect the iterator.
Leon Timmermans <leont@cpan.org>
This software is copyright (c) 2011 by Leon Timmermans, Utrecht University.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Bio::SFF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::SFF
CPAN shell
perl -MCPAN -e shell install Bio::SFF
For more information on module installation, please visit the detailed CPAN module installation guide.