<commit_before>class Diamond < Formula
  desc "Accelerated BLAST compatible local sequence aligner"
  homepage "http://ab.inf.uni-tuebingen.de/software/diamond/"
  # doi "10.1038/nmeth.3176"
  # tag "bioinformatics"

  url "https://github.com/bbuchfink/diamond/archive/v0.9.6.tar.gz"
  sha256 "1e71a2a50aca46c46f1ac1647bbf8ec7b5c59b3c488b398f7dfb966416080af9"

  bottle do
    cellar :any_skip_relocation
    sha256 "54dbb7a37ba9615e1271a794016f13b9f3aad3ad243aee6e07e94ed535449ce3" => :sierra
    sha256 "2c00c4b314b22f6895516d05df479bd9f4be77eb935f61429d3017454f230f0d" => :el_capitan
    sha256 "6d72a45f46861d7519da091cdb23f9ecba99c6c37dce2763c345031959f47ed2" => :yosemite
  end

  depends_on "cmake" => :build
  depends_on "zlib" unless OS.mac?

  patch do
    url "https://github.com/bbuchfink/diamond/commit/0b15aa3.patch"
    sha256 "0c78f66bd115783d5f8f86e21e958d3b84c05c225dcaed05d942e0e74ac2c22e"
  end

  def install
    system "cmake", ".", *std_cmake_args
    system "make", "install"
  end

  test do
    assert_match "gapextend", shell_output("#{bin}/diamond help 2>&1")
  end
end<commit_msg>diamond: update 0.9.6 bottle for Linuxbrew.<commit_after>class Diamond < Formula
  desc "Accelerated BLAST compatible local sequence aligner"
  homepage "http://ab.inf.uni-tuebingen.de/software/diamond/"
  # doi "10.1038/nmeth.3176"
  # tag "bioinformatics"

  url "https://github.com/bbuchfink/diamond/archive/v0.9.6.tar.gz"
  sha256 "1e71a2a50aca46c46f1ac1647bbf8ec7b5c59b3c488b398f7dfb966416080af9"

  bottle do
    cellar :any_skip_relocation
    sha256 "54dbb7a37ba9615e1271a794016f13b9f3aad3ad243aee6e07e94ed535449ce3" => :sierra
    sha256 "2c00c4b314b22f6895516d05df479bd9f4be77eb935f61429d3017454f230f0d" => :el_capitan
    sha256 "6d72a45f46861d7519da091cdb23f9ecba99c6c37dce2763c345031959f47ed2" => :yosemite
    sha256 "1dca3cff23095d9b70a6cabd4b6eed9efa931c25c3364fd617ead3f5fa34aaf7" => :x86_64_linux
  end

  depends_on "cmake" => :build
  depends_on "zlib" unless OS.mac?

  patch do
    url "https://github.com/bbuchfink/diamond/commit/0b15aa3.patch"
    sha256 "0c78f66bd115783d5f8f86e21e958d3b84c05c225dcaed05d942e0e74ac2c22e"
  end

  def install
    system "cmake", ".", *std_cmake_args
    system "make", "install"
  end

  test do
    assert_match "gapextend", shell_output("#{bin}/diamond help 2>&1")
  end
end
{'fraction_non_alphanumeric': 0.09517712334613743, 'fraction_numerical': 0.21809645753307724, 'mean_word_length': 5.1846965699208445, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3126221', 'n_tokens_mistral': 1326, 'n_tokens_neox': 1053, 'n_words': 139}