diff --git a/recipes/dr-disco/0.8.0/build.sh b/recipes/dr-disco/0.8.0/build.sh new file mode 100644 index 0000000000..579edd30a5 --- /dev/null +++ b/recipes/dr-disco/0.8.0/build.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +sed -i.bak -E 's/setup_requires.+//' setup.py +sed -i.bak -E 's/install_requires.+//' setup.py +$PYTHON setup.py install diff --git a/recipes/dr-disco/0.8.0/meta.yaml b/recipes/dr-disco/0.8.0/meta.yaml new file mode 100644 index 0000000000..9de42f1872 --- /dev/null +++ b/recipes/dr-disco/0.8.0/meta.yaml @@ -0,0 +1,51 @@ +package: + name: dr-disco + version: "0.8.0" + +source: + fn: v0.8.0.tar.gz + url: https://github.com/yhoogstrate/dr-disco/archive/v0.8.0.tar.gz + sha256: 64f9c553389869d563de9423fffd6da4e4eb9df734580a313e7015dfc0559f82 + +build: + preserve_egg_dir: true + number: 0 + skip: true # [not py27] + +requirements: + build: + - python + - click + - htseq ==0.6.1.post1 + - htslib ==1.3 + - pysam ==0.10.0 + - fuma ==3.0.5 + - numpy + - scipy + + run: + - python + - click + - htseq ==0.6.1.post1 + - htslib ==1.3 + - pysam ==0.10.0 + - fuma ==3.0.5 + - numpy + - scipy + +test: + imports: + - drdisco + + commands: + # click requires a unicode locale + - LANG=C.UTF-8 dr-disco --version + + # This also tests appropriate loading of libs ~ small functional test +# - conda create -n curl curl && source activate curl && curl -L -o test_01.bam http://github.com/yhoogstrate/dr-disco/raw/master/tests/detect-intronic/test_01.bam && dr-disco detect detect.test.bam test_01.bam +# - conda create -n curl curl && source activate curl && curl -L -o test_terg_01.filtered.bam http://github.com/yhoogstrate/dr-disco/raw/master/tests/fix-chimeric/test_terg_01.filtered.bam && dr-disco fix fix.test.bam test_terg_01.filtered.bam + +about: + home: https://github.com/yhoogstrate/dr-disco/ + license: GNU General Public License v3 or later (GPLv3+) + summary: 'Dr. Disco: fusion gene and genomic breakpoint detection in random hexamer RNA-seq data' diff --git a/recipes/dr-disco/meta.yaml b/recipes/dr-disco/meta.yaml index 9de42f1872..97ff07b689 100644 --- a/recipes/dr-disco/meta.yaml +++ b/recipes/dr-disco/meta.yaml @@ -1,11 +1,15 @@ +{% set name = "dr-disco" %} +{% set version = "0.8.2" %} +{% set sha256 = "8718b82511410d313db230f60f2cc7b3dc8a59d2b38d49a6c64d26f46e389960" %} + package: - name: dr-disco - version: "0.8.0" + name: {{ name }} + version: {{ version }} source: - fn: v0.8.0.tar.gz - url: https://github.com/yhoogstrate/dr-disco/archive/v0.8.0.tar.gz - sha256: 64f9c553389869d563de9423fffd6da4e4eb9df734580a313e7015dfc0559f82 + fn: v{{ version }}.tar.gz + url: https://github.com/yhoogstrate/{{ name }}/archive/v{{ version }}.tar.gz + sha256: {{ sha256 }} build: preserve_egg_dir: true