<commit_before>require "formula"

class Rampart < Formula
  homepage "https://github.com/TGAC/RAMPART"

  head do
    url "https://github.com/TGAC/RAMPART.git"
    depends_on "maven" => :build
  end

  url "https://github.com/TGAC/RAMPART/releases/download/Release-0.9.0/rampart-0.9.0.tar.gz"
  sha1 "b9a4e4ff59f92087f826230750ab94e3f7ffbbc9"

  depends_on :java => "1.7"

  # Dataset improvement
  depends_on "musket" => :recommended
  depends_on "quake" => :recommended
  depends_on "sickle" => :recommended

  # Assemblers
  depends_on "abyss" => :recommended
  depends_on "allpaths-lg" => :recommended
  depends_on "platanus" => :recommended
  depends_on "soapdenovo" => :recommended
  depends_on "velvet" => :recommended

  # Assembly improvement
  depends_on "sspace" => :recommended
  # SOAP scaffolder and gap closer
  # Platanus scaffolder and gap closer

  # Assembly analysis
  depends_on "cegma" => :recommended
  depends_on "kat" => :recommended
  depends_on "quast" => :recommended

  def install
    if build.head?
      system "mvn", "clean", "install"
    else
      man1.install "man/rampart.1"
      prefix.install Dir["*"]<commit_msg>rampart: sspace has no formula<commit_after>require "formula"

class Rampart < Formula
  homepage "https://github.com/TGAC/RAMPART"

  head do
    url "https://github.com/TGAC/RAMPART.git"
    depends_on "maven" => :build
  end

  url "https://github.com/TGAC/RAMPART/releases/download/Release-0.9.0/rampart-0.9.0.tar.gz"
  sha1 "b9a4e4ff59f92087f826230750ab94e3f7ffbbc9"

  depends_on :java => "1.7"

  # Dataset improvement
  depends_on "musket" => :recommended
  depends_on "quake" => :recommended
  depends_on "sickle" => :recommended

  # Assemblers
  depends_on "abyss" => :recommended
  depends_on "allpaths-lg" => :recommended
  depends_on "platanus" => :recommended
  depends_on "soapdenovo" => :recommended
  depends_on "velvet" => :recommended

  # Assembly improvement
  # No formula: depends_on "sspace" => :recommended
  # SOAP scaffolder and gap closer
  # Platanus scaffolder and gap closer

  # Assembly analysis
  depends_on "cegma" => :recommended
  depends_on "kat" => :recommended
  depends_on "quast" => :recommended

  def install
    if build.head?
      system "mvn", "clean", "install"
    else
      man1.install "man/rampart.1"
      prefix.install Dir["*"]
{'fraction_non_alphanumeric': 0.12441214194100043, 'fraction_numerical': 0.029927319367250963, 'mean_word_length': 3.875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, 'https://': 6, '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': '1614259', 'n_tokens_mistral': 927, 'n_tokens_neox': 875, 'n_words': 181}