Skip to content

Commit

Permalink
[ci skip] Merge PR 19262
Browse files Browse the repository at this point in the history
Merge PR #19262, commits were: 
 * add gitter token
 * Maintain pysam 0.15.2 for medaka
  • Loading branch information
dpryan79 authored and BiocondaBot committed Dec 13, 2019
1 parent e815c55 commit bd716f6
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CommentResponder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
QUAY_OAUTH_TOKEN: ${{ secrets.QUAY_OAUTH_TOKEN }}
QUAY_LOGIN: ${{ secrets.QUAY_LOGIN }}
GITTER_TOKEN: ${{ secrets.GITTER_TOKEN }}
CODE_SIGNING_KEY: ${{ secrets.CODE_SIGNING_KEY }}
JOB_CONTEXT: ${{ toJson(github) }}
uses: bioconda/bioconda-actions/bioconda_recipes_issue_responder/@issue_responder
12 changes: 12 additions & 0 deletions recipes/pysam/0.15.2/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# linking htslib, see:
# http://pysam.readthedocs.org/en/latest/installation.html#external
# https://github.com/pysam-developers/pysam/blob/v0.9.0/setup.py#L79
export CFLAGS="-I$PREFIX/include -DHAVE_LIBDEFLATE"
export CPPFLAGS="-I$PREFIX/include -DHAVE_LIBDEFLATE"
export LDFLAGS="-L$PREFIX/lib"

export HTSLIB_LIBRARY_DIR=$PREFIX/lib
export HTSLIB_INCLUDE_DIR=$PREFIX/include
$PYTHON -m pip install . --ignore-installed --no-deps -vv
51 changes: 51 additions & 0 deletions recipes/pysam/0.15.2/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{% set version = "0.15.2" %}
{% set htslib_version = "1.9" %}
{% set samtools_version = "1.9" %}
{% set bcftools_version = "1.9" %}

package:
name: pysam
version: '{{ version }}'

source:
url: https://github.com/pysam-developers/pysam/archive/v{{ version }}.tar.gz
sha256: 8cb3dd70f0d825086ac059ec2445ebd2ec5f14af73e7f1f4bd358966aaee5ed3

build:
number: 4
binary_relocation: False # [linux]

requirements:
build:
- {{ compiler('c') }}
host:
- htslib {{ htslib_version }}
- samtools {{ samtools_version }}
- bcftools {{ bcftools_version }}
- cython
- python
- setuptools
- zlib
- curl
- libdeflate
run:
- samtools {{ samtools_version }}
- bcftools {{ bcftools_version }}
- python
- curl
- libdeflate

test:
imports:
- pysam

about:
home: https://github.com/pysam-developers/pysam
license: MIT
license_file: COPYING
summary: "Pysam is a python module for reading and manipulating Samfiles. It is a lightweight wrapper of the samtools C-API. Pysam also includes an interface for tabix."

extra:
identifiers:
- biotools:pysam
- doi:10.1093/bioinformatics/btp352

0 comments on commit bd716f6

Please sign in to comment.