<commit_before><commit_msg>sspace-longread 1-1<commit_after>require "formula"

class SspaceLongread < Formula
  homepage "http://www.baseclear.com/lab-products/bioinformatics-tools/sspace-longread/"
  #doi "10.1186/1471-2105-15-211"
  #tag "bioinformatics"

  version "1-1"
  url "http://www.baseclear.com/download.php?file_id=1786"
  sha1 "7fa220ecea3120777ac4f6623e69c8e3404a1a36"

  depends_on "blasr"

  def install
    bin.mkdir
    # Add shebang line to the script
    system "echo '#!/usr/bin/perl' |cat - SSPACE-LongRead.pl >#{bin/"SSPACE-LongRead.pl"}"
    bin.install_symlink "SSPACE-LongRead.pl" => "SSPACE-LongRead"
  end

  test do
    system "#{bin}/SSPACE-LongRead -h 2>&1 |grep SSPACE-LongRead"
  end
end
{'fraction_non_alphanumeric': 0.1388888888888889, 'fraction_numerical': 0.07777777777777778, 'mean_word_length': 4.041958041958042, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1633899', 'n_tokens_mistral': 328, 'n_tokens_neox': 290, 'n_words': 49}