<commit_before>class CdHit < Formula
  desc "Cluster and compare protein or nucleotide sequences"
  homepage "http://cd-hit.org"
  # doi "10.1093/bioinformatics/btl158"
  # tag "bioinformatics"

  url "https://github.com/weizhongli/cdhit/releases/download/V4.6.1/cd-hit-v4.6.1-2012-08-27.tgz"
  mirror "https://cdhit.googlecode.com/files/cd-hit-v4.6.1-2012-08-27.tgz"
  version "4.6.1"
  sha256 "5e26431892609511992542c39705a1427e2fd6a526241977c527dfc74f795932"

  head "https://github.com/weizhongli/cdhit.git"

  bottle do
    cellar :any_skip_relocation
    revision 1
    sha256 "98e6cda7f489cb2cf0856129d6c97b7ef95f808fd97ed6c0d95ae0e27c338dbd" => :el_capitan
    sha256 "ddf15219089f9baf1499f7ad00b8bba57fb911f1a77f77bcc49d4ba378072896" => :yosemite
    sha256 "c056aab6d91cbd644d88bc2c1714149a3cd06c7c844c32dad06b1521156bc500" => :mavericks
  end

  def install
    args = (ENV.compiler == :clang) ? [] : ["openmp=yes"]

    system "make", *args<commit_msg>cd-hit 4.6.4<commit_after>class CdHit < Formula
  desc "Cluster and compare protein or nucleotide sequences"
  homepage "http://cd-hit.org"
  # doi "10.1093/bioinformatics/btl158"
  # tag "bioinformatics"

  url "https://github.com/weizhongli/cdhit/releases/download/V4.6.4/cd-hit-v4.6.4-2015-0603.tar.gz"
  version "4.6.4"
  sha256 "ca0050b6b27649dd548b6d74c2873dd76cff7bfdf70fb6f8e8578d0fa128d92c"

  head "https://github.com/weizhongli/cdhit.git"

  # error: 'omp.h' file not found
  needs :openmp

  bottle do
    cellar :any_skip_relocation
    revision 1
    sha256 "98e6cda7f489cb2cf0856129d6c97b7ef95f808fd97ed6c0d95ae0e27c338dbd" => :el_capitan
    sha256 "ddf15219089f9baf1499f7ad00b8bba57fb911f1a77f77bcc49d4ba378072896" => :yosemite
    sha256 "c056aab6d91cbd644d88bc2c1714149a3cd06c7c844c32dad06b1521156bc500" => :mavericks
  end

  def install
    args = (ENV.compiler == :clang) ? [] : ["openmp=yes"]

    system "make", *args
{'fraction_non_alphanumeric': 0.11338582677165354, 'fraction_numerical': 0.215748031496063, 'mean_word_length': 4.655786350148368, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, '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': '3970148', 'n_tokens_mistral': 1080, 'n_tokens_neox': 850, 'n_words': 109}