<commit_before>class Htslib < Formula
  desc "C library for high-throughput sequencing data formats"
  homepage "http://www.htslib.org/"
  url "https://github.com/samtools/htslib/releases/download/1.3.2/htslib-1.3.2.tar.bz2"
  sha256 "b9b19e6164769449adf8d050f8976f6265dc844f17a11ff2dca5e821385d0347"
  head "https://github.com/samtools/htslib.git"
  # tag "bioinformatics"

  bottle do
    cellar :any
    sha256 "81d1b5889fbd44e161bab1bf523b9ac3adc6c48eca72ec53a9177fa248278761" => :sierra
    sha256 "f99c193d96d7c08bd6e926becf8008fbace7c42af76bd95c78241d2e2aaf3903" => :el_capitan
    sha256 "2c7824ba8e31a974a1e180590ff44f9be9acca7d81b7a3a4e7a02c4a5dc9539d" => :yosemite
  end

  def install
    system "make", "install", "prefix=#{prefix}"
    pkgshare.install "test"
  end

  test do
    sam = pkgshare/"test/ce#1.sam"
    assert_match "SAM", shell_output("#{bin}/htsfile #{sam}")
    system "#{bin}/bgzip -c #{sam} > sam.gz"
    assert File.exist?("sam.gz")
    system "#{bin}/tabix", "-p", "sam", "sam.gz"
    assert File.exist?("sam.gz.tbi")
  end
end<commit_msg>htslib: update 1.3.2 bottle for Linuxbrew.<commit_after>class Htslib < Formula
  desc "C library for high-throughput sequencing data formats"
  homepage "http://www.htslib.org/"
  url "https://github.com/samtools/htslib/releases/download/1.3.2/htslib-1.3.2.tar.bz2"
  sha256 "b9b19e6164769449adf8d050f8976f6265dc844f17a11ff2dca5e821385d0347"
  head "https://github.com/samtools/htslib.git"
  # tag "bioinformatics"

  bottle do
    cellar :any
    sha256 "81d1b5889fbd44e161bab1bf523b9ac3adc6c48eca72ec53a9177fa248278761" => :sierra
    sha256 "f99c193d96d7c08bd6e926becf8008fbace7c42af76bd95c78241d2e2aaf3903" => :el_capitan
    sha256 "2c7824ba8e31a974a1e180590ff44f9be9acca7d81b7a3a4e7a02c4a5dc9539d" => :yosemite
    sha256 "9ef6f8ac6a01b11f7b6b5d614c1ed5754d4b33677699c5a05f0f4d2609d627a9" => :x86_64_linux
  end

  def install
    system "make", "install", "prefix=#{prefix}"
    pkgshare.install "test"
  end

  test do
    sam = pkgshare/"test/ce#1.sam"
    assert_match "SAM", shell_output("#{bin}/htsfile #{sam}")
    system "#{bin}/bgzip -c #{sam} > sam.gz"
    assert File.exist?("sam.gz")
    system "#{bin}/tabix", "-p", "sam", "sam.gz"
    assert File.exist?("sam.gz.tbi")
  end
end
{'fraction_non_alphanumeric': 0.13083700440528634, 'fraction_numerical': 0.17665198237885463, 'mean_word_length': 4.635235732009925, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2907616', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1015, 'n_words': 143}