<commit_before>require "formula"

class Repeatscout < Formula
  homepage "http://bix.ucsd.edu/repeatscout/"
  #doi "10.1093/bioinformatics/bti1018"
  #tag "bioinformatics"

  url "http://repeatscout.bioprojects.org/RepeatScout-1.0.5.tar.gz"
  sha1 "507fe8813de341244c5380836ddcf4257bb46c81"

  def install
    system "make"
    prefix.rmdir
    system *%W[make install INSTDIR=#{prefix}]
    bin.install_symlink "../RepeatScout"
  end

  test do
    system "#{bin}/RepeatScout 2>&1 |grep RepeatScout"
  end
end
<commit_msg>repeatscout 1.0.5: Add optional dependency on trf<commit_after>require "formula"

class Repeatscout < Formula
  homepage "http://bix.ucsd.edu/repeatscout/"
  #doi "10.1093/bioinformatics/bti1018"
  #tag "bioinformatics"

  url "http://repeatscout.bioprojects.org/RepeatScout-1.0.5.tar.gz"
  sha1 "507fe8813de341244c5380836ddcf4257bb46c81"

  depends_on "trf" => :optional

  def install
    system "make"
    prefix.rmdir
    system *%W[make install INSTDIR=#{prefix}]
    bin.install_symlink "../RepeatScout"
  end

  test do
    system "#{bin}/RepeatScout 2>&1 |grep RepeatScout"
  end
end

{'fraction_non_alphanumeric': 0.12376681614349776, 'fraction_numerical': 0.08161434977578476, 'mean_word_length': 3.982142857142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, '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': '1249750', 'n_tokens_mistral': 501, 'n_tokens_neox': 433, 'n_words': 81}