Bio::Grid::Run::SGE::Index::Dummy - dummy index for testing purposes
use Bio::Grid::Run::SGE::Index::Dummy; my $idx = Bio::Grid::Run::SGE::Index::Dummy->new( idx_file => undef )->create; my @letters = ( 'a' .. 'z' ); for ( my $i = 0; $i < $idx->num_elem; $i++ ) { is( $idx->get_elem($i), $letters[$i] ); }
This index contains the letters of the alphabet (a-z), hardcoded. The first element corresponds to 'a'. If you create an iterator class, it might be usfull for testing purposes.
Creates the index. You need to call it, before you want to use the index. Returns the index object.
Does nothing. Returns the index object.
Returns the number of elements. This number is not fixed, because the number of elements depends on the chunk size.
Does nothing.
returns the element at index position $element_index.
$element_index
jw bargsten, <jwb at cpan dot org>
<jwb at cpan dot org>
To install Bio::Grid::Run::SGE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Grid::Run::SGE
CPAN shell
perl -MCPAN -e shell install Bio::Grid::Run::SGE
For more information on module installation, please visit the detailed CPAN module installation guide.