Commit d90940b0 authored by Irina Armean's avatar Irina Armean Committed by Tiago Grego
Browse files

update TabixParser to allow bgz

parent 364d5143
......@@ -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 =~ /\.gz$/ || $filename =~ /\.bgz$/ ;
my %params = (filename => $filename);
## Tabix will want to write the downloaded index file to
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment