Skip to content

Commit c48f084

Browse files
committed
update htslib to latest 1.22.1
1 parent 3ef2bef commit c48f084

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
env:
1414
NIM_VERSION: stable
15-
HTSLIB_VERSION: 1.10
15+
HTSLIB_VERSION: 1.22.1
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4
@@ -38,9 +38,9 @@ jobs:
3838
3939
- name: Build htslib
4040
run: |
41-
git clone --recursive https://github.com/samtools/htslib.git
42-
cd htslib
43-
git checkout $HTSLIB_VERSION
41+
wget https://github.com/samtools/htslib/releases/download/${HTSLIB_VERSION}/htslib-${HTSLIB_VERSION}.tar.bz2
42+
tar xjf htslib-${HTSLIB_VERSION}.tar.bz2
43+
cd htslib-${HTSLIB_VERSION}
4444
autoheader && autoconf && ./configure --enable-libcurl
4545
make -j 2
4646
echo "LD_LIBRARY_PATH=$PWD" >> $GITHUB_ENV
@@ -75,9 +75,9 @@ jobs:
7575
sudo apt-get install -y build-essential autoconf automake libcurl4-openssl-dev libssl-dev zlib1g-dev libbz2-dev liblzma-dev wget unzip
7676
- name: Build htslib
7777
run: |
78-
git clone --recursive https://github.com/samtools/htslib.git
79-
cd htslib
80-
git checkout $HTSLIB_VERSION
78+
wget https://github.com/samtools/htslib/releases/download/${HTSLIB_VERSION}/htslib-${HTSLIB_VERSION}.tar.bz2
79+
tar xjf htslib-${HTSLIB_VERSION}.tar.bz2
80+
cd htslib-${HTSLIB_VERSION}
8181
autoheader && autoconf && ./configure --enable-libcurl
8282
make -j 2
8383
echo "LD_LIBRARY_PATH=$PWD" >> $GITHUB_ENV

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ dependencies:
88
- numpy
99
- scipy
1010
- statsmodels
11+
- htslib

0 commit comments

Comments
 (0)