Skip to content
Snippets Groups Projects

Allow .bgz/.bgz.tbi files to be read in TabixParser

Merged Marek Szuba requested to merge github/fork/ima23/feature/tabix into master
4 files
+ 15
1
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -49,7 +49,7 @@ sub open {
my $self = $class->SUPER::new(@other_args);
confess "ERROR: Input file is not bgzipped, cannot use tabix\n" unless $filename =~ /\.gz$/;
confess "ERROR: Input file is not bgzipped, cannot use tabix\n" unless $filename =~ /\.b?gz$/;
my %params = (filename => $filename);
## Tabix will want to write the downloaded index file to