Bio::HTS::Tabix::Iterator - XS module wrapping around a tabix hts_itr_t
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; }
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.
next
Returns a string with the line from the tabix iterator
Licensed under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE (AGPL)
Copyright 2015 Congenica Ltd.
Alex Hodgkins
To install Bio::HTS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::HTS
CPAN shell
perl -MCPAN -e shell install Bio::HTS
For more information on module installation, please visit the detailed CPAN module installation guide.