<commit_before>class LinuxRequirement < Requirement
  fatal true
  satisfy OS.linux?
  def message
    "This software only builds on Linux."
  end
end

class AllpathsLg < Formula
  desc "Short read genome assembler"
  homepage "http://www.broadinstitute.org/software/allpaths-lg/blog/"
  # doi "10.1073/pnas.1017351108"
  # tag "bioinformatics"

  url "ftp://ftp.broadinstitute.org/pub/crd/ALLPATHS/Release-LG/latest_source_code/allpathslg-50378.tar.gz"
  sha256 "12d5f78a67a79b2bba06e2dff25302590fede62639cfb4db08d76e103871f4b2"

  bottle do
    cellar :any_skip_relocation
    sha256 "05c9e295667a740c5a4949acfa58f236fc4e38c918d246c3b8657a8041aeab66" => :x86_64_linux
  end

  # Prove us wrong!
  # https://github.com/Homebrew/homebrew-science/issues/1329#issuecomment-68387020
  depends_on LinuxRequirement

  fails_with :clang do
    cause "The only supported compiler is GCC(>=4.7)."
  end

  fails_with :gcc do
    build 5666
    cause "You must compile this with g++ 4.7 or higher."
  end

  def install
    system "./configure",
      "--disable-dependency-tracking",
      "--prefix=#{prefix}"<commit_msg>allpaths-lg 52488<commit_after>class LinuxRequirement < Requirement
  fatal true
  satisfy OS.linux?
  def message
    "This software only builds on Linux."
  end
end

class AllpathsLg < Formula
  desc "Short read genome assembler"
  homepage "http://www.broadinstitute.org/software/allpaths-lg/blog/"
  # doi "10.1073/pnas.1017351108"
  # tag "bioinformatics"

  url "ftp://ftp.broadinstitute.org/pub/crd/ALLPATHS/Release-LG/latest_source_code/allpathslg-52488.tar.gz"
  sha256 "035b49cb21b871a6b111976757d7aee9c2513dd51af04678f33375e620998542"

  bottle do
    cellar :any_skip_relocation
    sha256 "05c9e295667a740c5a4949acfa58f236fc4e38c918d246c3b8657a8041aeab66" => :x86_64_linux
  end

  # Prove us wrong!
  # https://github.com/Homebrew/homebrew-science/issues/1329#issuecomment-68387020
  depends_on LinuxRequirement

  fails_with :clang do
    cause "The only supported compiler is GCC(>=4.7)."
  end

  fails_with :gcc do
    build 5666
    cause "You must compile this with g++ 4.7 or higher."
  end

  def install
    system "./configure",
      "--disable-dependency-tracking",
      "--prefix=#{prefix}"
{'fraction_non_alphanumeric': 0.09722222222222222, 'fraction_numerical': 0.12410394265232975, 'mean_word_length': 3.951219512195122, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '7340305', 'n_tokens_mistral': 1002, 'n_tokens_neox': 831, 'n_words': 164}