512758e6eb
Realign trailing EOS.
26 lines
842 B
Ruby
26 lines
842 B
Ruby
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.5.zip"
|
|
sha256 "dd7a5ad80ceed2588cf6d6ffe35e0f161c0d9977ed08355f5e4d9473282cbd66"
|
|
|
|
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
|