class Fastqc < Formula desc "Quality control tool for high throughput sequence data" homepage "https://www.bioinformatics.babraham.ac.uk/projects/fastqc/" url "https://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.8.zip" sha256 "ca87fe77807e4ac796b6cad949858921fd20652c4038f586f05ece94b5022129" bottle :unneeded depends_on :java def install libexec.install Dir["*"] chmod 0755, libexec/"fastqc" bin.install_symlink libexec/"fastqc" end test do (testpath/"test.fasta").write <<~EOS @SRR098281.1 HWUSI-EAS1599_1:2:1:0:318 length=35 CNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN +SRR098281.1 HWUSI-EAS1599_1:2:1:0:318 length=35 #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! EOS assert_match "Analysis complete for test.fasta", shell_output("#{bin}/fastqc test.fasta") end end