NAME
Bio::HTS::Tabix::Iterator - XS module wrapping around a tabix hts_itr_t
SYNOPSIS
You shouldn't be instantiating one of these manually it needs a load of pointers. Usage would be through Bio::HTS::Tabix:
use feature qw( say );
use Bio::HTS::Tabix;
my $tabix = Bio::HTS::Tabix->new( filename => "gerp_plus_plus_31July2014.gz" );
say $tabix->header;
my $iter = $tabix->query("1:4000005-4000009");
while ( my $n = $iter->next ) {
say $n;
}
DESCRIPTION
This is returned from Bio::HTS::Tabix, the only method you need to care about is 'next'.
Don't go importing this and calling new on it if you value your sanity, it won't work.
Methods
next
-
Returns a string with the line from the tabix iterator
LICENSE
Licensed under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE (AGPL)
COPYRIGHT
Copyright 2015 Congenica Ltd.
AUTHOR
Alex Hodgkins