From 3e34b571d0ffc87a40a9004a28eb943e6bd4438c Mon Sep 17 00:00:00 2001 From: yhoogstrate Date: Wed, 5 Jul 2017 17:23:11 +0200 Subject: [PATCH 1/3] Dr. Disco v0.8.0 => v0.8.2 --- recipes/dr-disco/meta.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/dr-disco/meta.yaml b/recipes/dr-disco/meta.yaml index 9de42f1872..88d7fbe6dd 100644 --- a/recipes/dr-disco/meta.yaml +++ b/recipes/dr-disco/meta.yaml @@ -1,11 +1,11 @@ package: name: dr-disco - version: "0.8.0" + version: "0.8.2" source: - fn: v0.8.0.tar.gz - url: https://github.com/yhoogstrate/dr-disco/archive/v0.8.0.tar.gz - sha256: 64f9c553389869d563de9423fffd6da4e4eb9df734580a313e7015dfc0559f82 + fn: v0.8.2.tar.gz + url: https://github.com/yhoogstrate/dr-disco/archive/v0.8.2.tar.gz + sha256: 8718b82511410d313db230f60f2cc7b3dc8a59d2b38d49a6c64d26f46e389960 build: preserve_egg_dir: true From 2679820c35bef765e7163bbf1eeead64a9d33145 Mon Sep 17 00:00:00 2001 From: Jillian Rowe Date: Wed, 5 Jul 2017 21:15:30 +0400 Subject: [PATCH 2/3] Update meta.yaml --- recipes/dr-disco/meta.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/recipes/dr-disco/meta.yaml b/recipes/dr-disco/meta.yaml index 88d7fbe6dd..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.2" + name: {{ name }} + version: {{ version }} source: - fn: v0.8.2.tar.gz - url: https://github.com/yhoogstrate/dr-disco/archive/v0.8.2.tar.gz - sha256: 8718b82511410d313db230f60f2cc7b3dc8a59d2b38d49a6c64d26f46e389960 + fn: v{{ version }}.tar.gz + url: https://github.com/yhoogstrate/{{ name }}/archive/v{{ version }}.tar.gz + sha256: {{ sha256 }} build: preserve_egg_dir: true From 5bd4abbbf6a484d6462195260f616d8479d51cdd Mon Sep 17 00:00:00 2001 From: yhoogstrate Date: Wed, 12 Jul 2017 13:38:07 +0200 Subject: [PATCH 3/3] keep older revisions --- recipes/dr-disco/0.8.0/build.sh | 5 ++++ recipes/dr-disco/0.8.0/meta.yaml | 51 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 recipes/dr-disco/0.8.0/build.sh create mode 100644 recipes/dr-disco/0.8.0/meta.yaml 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'