-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #19262, commits were: * add gitter token * Maintain pysam 0.15.2 for medaka
- Loading branch information
1 parent
e815c55
commit bd716f6
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |