fastqc: import from homebrew/science (#21735)
This commit is contained in:
parent
94fd2571f1
commit
92715a21b0
1 changed files with 26 additions and 0 deletions
26
Formula/fastqc.rb
Normal file
26
Formula/fastqc.rb
Normal file
|
@ -0,0 +1,26 @@
|
|||
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
|
Loading…
Reference in a new issue