summaryrefslogtreecommitdiff
path: root/homebrew/bcftools
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/bcftools')
-rw-r--r--homebrew/bcftools/.beer33
-rw-r--r--homebrew/bcftools/.make.sh-auto4
-rw-r--r--homebrew/bcftools/_metadata/description1
-rw-r--r--homebrew/bcftools/_metadata/homepage1
-rw-r--r--homebrew/bcftools/_metadata/name1
-rw-r--r--homebrew/bcftools/_metadata/version1
-rwxr-xr-xhomebrew/bcftools/download.sh1
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/bcftools/.beer b/homebrew/bcftools/.beer
new file mode 100644
index 000000000..bcd7601a7
--- /dev/null
+++ b/homebrew/bcftools/.beer
@@ -0,0 +1,33 @@
+{
+ "name": "Bcftools",
+ "description": "Tools for BCF/VCF files and variant calling from samtools",
+ "url": "https://github.com/samtools/bcftools/releases/download/1.9/bcftools-1.9.tar.bz2",
+ "mirror": null,
+ "homepage": "https://www.htslib.org/",
+ "depends": [
+ {
+ "depend": "gsl",
+ "build-depend": false
+ },
+ {
+ "depend": "htslib",
+ "build-depend": false
+ },
+ {
+ "depend": "xz",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--with-htslib=#{Formula[\"htslib\"].opt_prefix}\",",
+ "\"--enable-libgsl\"",
+ "system \"make\", \"install\"",
+ "pkgshare.install \"test/query.vcf\""
+ ],
+ "version": "1.9",
+ "file": "bcftools.rb"
+} \ No newline at end of file
diff --git a/homebrew/bcftools/.make.sh-auto b/homebrew/bcftools/.make.sh-auto
new file mode 100644
index 000000000..56b589ef8
--- /dev/null
+++ b/homebrew/bcftools/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --with-htslib=#{Formula[htslib"].opt_prefix}" --enable-libgsl
+make DESTDIR=${PKG_DEST} install
+pkgshare.install "test/query.vcf"
diff --git a/homebrew/bcftools/_metadata/description b/homebrew/bcftools/_metadata/description
new file mode 100644
index 000000000..a30507013
--- /dev/null
+++ b/homebrew/bcftools/_metadata/description
@@ -0,0 +1 @@
+Tools for BCF/VCF files and variant calling from samtools
diff --git a/homebrew/bcftools/_metadata/homepage b/homebrew/bcftools/_metadata/homepage
new file mode 100644
index 000000000..eb03bde71
--- /dev/null
+++ b/homebrew/bcftools/_metadata/homepage
@@ -0,0 +1 @@
+https://www.htslib.org/
diff --git a/homebrew/bcftools/_metadata/name b/homebrew/bcftools/_metadata/name
new file mode 100644
index 000000000..fe6b0a4ea
--- /dev/null
+++ b/homebrew/bcftools/_metadata/name
@@ -0,0 +1 @@
+Bcftools
diff --git a/homebrew/bcftools/_metadata/version b/homebrew/bcftools/_metadata/version
new file mode 100644
index 000000000..2e0e38c63
--- /dev/null
+++ b/homebrew/bcftools/_metadata/version
@@ -0,0 +1 @@
+1.9
diff --git a/homebrew/bcftools/download.sh b/homebrew/bcftools/download.sh
new file mode 100755
index 000000000..572bc092f
--- /dev/null
+++ b/homebrew/bcftools/download.sh
@@ -0,0 +1 @@
+wget https://github.com/samtools/bcftools/releases/download/1.9/bcftools-1.9.tar.bz2 \ No newline at end of file