From 40b2c80b47bda34074d604660b8ff2d920a535ed Mon Sep 17 00:00:00 2001 From: "Robert A. Petit III" Date: Mon, 22 Oct 2018 14:06:55 -0400 Subject: [PATCH 1/3] Add vcf-annotator recipe --- recipes/vcf-annotator/build.sh | 6 ++++++ recipes/vcf-annotator/meta.yaml | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 recipes/vcf-annotator/build.sh create mode 100644 recipes/vcf-annotator/meta.yaml diff --git a/recipes/vcf-annotator/build.sh b/recipes/vcf-annotator/build.sh new file mode 100644 index 0000000000000..86551f81f1966 --- /dev/null +++ b/recipes/vcf-annotator/build.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +mkdir -p $PREFIX/bin +pip install PyVCF==0.6.8 +chmod 755 vcf-annotator.py +cp -f vcf-annotator.py $PREFIX/bin/vcf-annotator diff --git a/recipes/vcf-annotator/meta.yaml b/recipes/vcf-annotator/meta.yaml new file mode 100644 index 0000000000000..da003adffbe9a --- /dev/null +++ b/recipes/vcf-annotator/meta.yaml @@ -0,0 +1,36 @@ +{% set name="vcf-annotator" %} +{% set version = "0.5" %} +{% set sha256 = "48e9a0103b4c390bb59e357da9b0316843e5c543d9a9e1488e054982d462c6ca" %} + +package: + name: {{ name }} + version: {{ version }} + +source: + url: https://github.com/rpetit3/vcf-annotator/archive/v{{ version }}.tar.gz + sha256: {{ sha256 }} + +build: + number: 1 + skip: True # [py27] + +requirements: + build: + - python + - pip + - biopython >=1.70 + run: + - python + - biopython >=1.70 + +test: + commands: + - vcf-annotator + - vcf-annotator --version + - vcf-annotator -h + +about: + home: https://github.com/rpetit3/vcf-annotator + license: MIT + license_file: LICENSE + summary: Use the reference GenBank file to add biological annotations to the variant calls in a VCF. From e9d1b559143b8b1f65854a1631678eca9c6c0495 Mon Sep 17 00:00:00 2001 From: "Robert A. Petit III" Date: Tue, 23 Oct 2018 11:31:44 -0400 Subject: [PATCH 2/3] added pyvcf dependency --- recipes/vcf-annotator/build.sh | 1 - recipes/vcf-annotator/meta.yaml | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes/vcf-annotator/build.sh b/recipes/vcf-annotator/build.sh index 86551f81f1966..4633cacf51b67 100644 --- a/recipes/vcf-annotator/build.sh +++ b/recipes/vcf-annotator/build.sh @@ -1,6 +1,5 @@ #!/bin/bash mkdir -p $PREFIX/bin -pip install PyVCF==0.6.8 chmod 755 vcf-annotator.py cp -f vcf-annotator.py $PREFIX/bin/vcf-annotator diff --git a/recipes/vcf-annotator/meta.yaml b/recipes/vcf-annotator/meta.yaml index da003adffbe9a..5ccf16ccf721a 100644 --- a/recipes/vcf-annotator/meta.yaml +++ b/recipes/vcf-annotator/meta.yaml @@ -18,10 +18,12 @@ requirements: build: - python - pip - - biopython >=1.70 + - biopython + - pyvcf run: - python - - biopython >=1.70 + - biopython + - pyvcf test: commands: From 32165f3522f5c3e24479b8ce7ff8643967cce6d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Sj=C3=B6din?= Date: Fri, 26 Oct 2018 10:35:24 +0200 Subject: [PATCH 3/3] Update meta.yaml --- recipes/vcf-annotator/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/vcf-annotator/meta.yaml b/recipes/vcf-annotator/meta.yaml index 5ccf16ccf721a..961b1c4fbd38a 100644 --- a/recipes/vcf-annotator/meta.yaml +++ b/recipes/vcf-annotator/meta.yaml @@ -11,11 +11,11 @@ source: sha256: {{ sha256 }} build: - number: 1 + number: 0 skip: True # [py27] requirements: - build: + host: - python - pip - biopython