class Telseq < Formula
desc "Program for estimating telomere length from sequence data"
homepage "https://github.com/zd1/telseq"
# doi "10.1093/nar/gku181"
# tag "bioinformatics"
url "https://github.com/zd1/telseq/archive/0.0.1.tar.gz"
sha256 "310867d35d59b0c2e969a7733f80545209883f89330c937a2b716b00fd12d92e"
head "https://github.com/zd1/telseq.git"
depends_on "gcc"
depends_on "bamtools"
depends_on "automake"
def install
args = %W[PREFIX=#{prefix} CPP=#{ENV.cxx}]
cd "src" do
system "./autogen.sh"
system "./configure --with-bamtools=#{Formula["bamtools"].opt_prefix}"
system "make", "install"
end
end
test do
system "#{bin}/telseq"
end
end