lib/rbbt/util/misc/bgzf.rb in rbbt-util-5.28.9 vs lib/rbbt/util/misc/bgzf.rb in rbbt-util-5.28.10

- old
+ new

@@ -5,10 +5,10 @@ module Bgzf attr_accessor :data_offset, :compressed_stream, :block_cache_size def self.bgzip_cmd @@bgzip_cmd ||= begin - path = `bash -c "type -p bgzips"`.strip + path = `bash -c "type -p bgzip"`.strip if path.empty? Rbbt.claim Rbbt.software.opt.htslib, :install, Rbbt.share.install.software.HTSLIB.find(:lib) Rbbt.software.opt.htslib.produce Rbbt.software.opt.htslib.bin.bgzip.find else