-
Notifications
You must be signed in to change notification settings - Fork 3.2k
/
meta.yaml
57 lines (50 loc) · 1.3 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{% set version = "1.20" %}
package:
name: htslib
version: {{ version }}
build:
number: 2
run_exports:
- {{ pin_subpackage('htslib', max_pin='x.x') }}
source:
url: https://github.com/samtools/htslib/releases/download/{{ version }}/htslib-{{ version }}.tar.bz2
sha256: e52d95b14da68e0cfd7d27faf56fef2f88c2eaf32a2be51c72e146e3aa928544
patches:
- arm_hwcap.patch
requirements:
build:
- make
- {{ compiler('c') }}
host:
- libcurl
- bzip2
- xz
- zlib
- libdeflate
- openssl # [not osx]
test:
files:
- test1.bed
commands: # We want to make sure that libdeflate is actually linked via HTSLib
- "otool -L $PREFIX/bin/bgzip | grep deflate" # [osx]
- "ldd $PREFIX/bin/bgzip | grep deflate" # [not osx]
# Work around mulled-build's failure to copy the test file
- "test -e test1.bed || printf 'chr1\\t100\\t200\\n' > test1.bed"
- bgzip test1.bed
- tabix test1.bed.gz
- htsfile test1.bed.gz
about:
home: https://github.com/samtools/htslib
license: MIT
license_family: MIT
license_file: LICENSE
summary: C library for high-throughput sequencing data formats.
doc_url: http://www.htslib.org/
extra:
additional-platforms:
- linux-aarch64
- osx-arm64
identifiers:
- biotools:HTSlib
skip-lints:
- in_other_channels