Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve annotator installation scripts #571

Merged
Merged
Show file tree
Hide file tree
Changes from 131 commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
7dd9246
fuck this
akotlar Apr 5, 2024
f0473a6
merged master
akotlar Apr 25, 2024
eb14c1f
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Apr 25, 2024
c63153a
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Apr 29, 2024
0a848ce
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar May 1, 2024
21dd594
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar May 3, 2024
98635c3
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar May 12, 2024
37233aa
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar May 17, 2024
4c93b9b
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar May 20, 2024
5457eb8
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Jun 3, 2024
ee9422a
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Jun 7, 2024
c92dd1e
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Jun 10, 2024
0f70f86
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Jun 14, 2024
70fa314
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Jun 24, 2024
459ef7e
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Jun 27, 2024
45973e0
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Jul 6, 2024
39eb8d5
Merge branch 'master' of https://github.com/bystrogenomics/bystro
akotlar Jul 8, 2024
0cab165
issue #555 installation scripts
akotlar Sep 13, 2024
95e7df3
remove mysql in favor of mariadb
akotlar Sep 14, 2024
315ad7b
wip
akotlar Sep 14, 2024
3cdab27
fix
akotlar Sep 14, 2024
9b431b6
fixes
akotlar Sep 14, 2024
13f4c7f
ensure make and the like are present
akotlar Sep 14, 2024
7bfe082
better instructions at end
akotlar Sep 14, 2024
ee65235
ensure grep is installed on rpm devices
akotlar Sep 14, 2024
bbe2c2c
remove sudo
akotlar Sep 14, 2024
df5c7cf
make sure mariadb-devel is installed
akotlar Sep 14, 2024
bd043a0
fix
akotlar Sep 14, 2024
29da5d8
fix
akotlar Sep 14, 2024
e370473
fix
akotlar Sep 14, 2024
0fadb89
run perltidy on connection.pm
akotlar Sep 14, 2024
599d0a7
fix when running using sudo
akotlar Sep 15, 2024
94cce89
WIP
akotlar Sep 16, 2024
e3ef5f3
WIP
akotlar Sep 16, 2024
685b827
wip
akotlar Sep 16, 2024
773c7d0
cleanup
akotlar Sep 16, 2024
a88223b
cleanup
akotlar Sep 16, 2024
26606d0
fix up install
akotlar Sep 16, 2024
411d6e1
fix
akotlar Sep 16, 2024
f4b379f
simplify detect-shell-profile.sh
akotlar Sep 16, 2024
3f0d000
cleanup
akotlar Sep 16, 2024
c9e01df
perltidy
akotlar Sep 16, 2024
5d41715
fix ;mysql_socket -> mariadb_socket
akotlar Sep 16, 2024
41b13ec
perltidy
akotlar Sep 16, 2024
24fd598
add github action to test rpm install
akotlar Sep 16, 2024
24ee64f
fix new test
akotlar Sep 16, 2024
1106428
restrict to perl file and sh file
akotlar Sep 16, 2024
14badb4
use checkoutv4
akotlar Sep 16, 2024
6d08c71
use amazonlinux:2023
akotlar Sep 16, 2024
d7a3476
use amazonlinux:2023
akotlar Sep 16, 2024
408d925
use amazonlinux:2023
akotlar Sep 16, 2024
3467760
attempt to fix action
akotlar Sep 16, 2024
1eabbbf
switch to cpm for performance
akotlar Sep 16, 2024
9e3d078
fix new github action
akotlar Sep 16, 2024
2a061d0
fix github action
akotlar Sep 16, 2024
152cd6b
test bystro after install
akotlar Sep 16, 2024
90bb805
also run when go files change
akotlar Sep 16, 2024
3dcef47
just run the install-rpm.sh script on PR
akotlar Sep 16, 2024
8fde8af
add bgzip
akotlar Sep 17, 2024
bc1d193
add libdeflate
akotlar Sep 17, 2024
b5a2f6c
added perl-test-install-apt github action
akotlar Sep 17, 2024
e89b271
add missing file
akotlar Sep 17, 2024
0c6d078
remove libdeflate check, which doesn't work on amazonlinux container
akotlar Sep 17, 2024
ef02193
ensure libraries are in LD_LIBRARY_PATH
akotlar Sep 17, 2024
4c3e77c
fix libdeflate build
akotlar Sep 17, 2024
8559bf9
fix
akotlar Sep 17, 2024
60db8d5
fix
akotlar Sep 17, 2024
f55505d
fix
akotlar Sep 17, 2024
66d4ab6
fix
akotlar Sep 17, 2024
bb72d98
fix
akotlar Sep 17, 2024
5a26ce5
fix
akotlar Sep 17, 2024
deb4759
move libdeflate install into htslib install script
akotlar Sep 17, 2024
9cc5e37
cleanup
akotlar Sep 17, 2024
73e1c1e
install libmariadb-dev
akotlar Sep 17, 2024
8ff9908
fix
akotlar Sep 17, 2024
45e6b50
simplify, just use default libmariadb-dev
akotlar Sep 17, 2024
8588b88
simplify, just use default libmariadb-dev
akotlar Sep 17, 2024
8b276c2
simplify, just use default libmariadb-dev
akotlar Sep 17, 2024
618227d
fix awscli not available
akotlar Sep 17, 2024
b64800e
fix
akotlar Sep 17, 2024
8806ba1
fix
akotlar Sep 17, 2024
f45db17
fix
akotlar Sep 17, 2024
c1a5f2b
fix
akotlar Sep 17, 2024
8738311
remove curl
akotlar Sep 17, 2024
3d0d1cb
attempt to update
akotlar Sep 17, 2024
9bf0107
fix
akotlar Sep 17, 2024
fc4a4f6
fix
akotlar Sep 17, 2024
f34be9e
install curl only if not already installed
akotlar Sep 17, 2024
7e1da6e
unminimize apt
akotlar Sep 17, 2024
a5ea70b
remove unminimze, put that in documentation
akotlar Sep 17, 2024
764270d
fix
akotlar Sep 17, 2024
134beb8
wip
akotlar Sep 18, 2024
176f83f
Merge branch 'master' of github.com:akotlar/bystro into feature/issue…
akotlar Sep 18, 2024
021339c
update hg38.yml default file
akotlar Sep 18, 2024
906e76e
move Dockerfile to Dockerfile.perl
akotlar Sep 18, 2024
ee445c8
fix Dockerfile.perl
akotlar Sep 18, 2024
0e706e7
wip readme; fix dockerfile.perl
akotlar Sep 18, 2024
556ef06
improve perl readme
akotlar Sep 18, 2024
3b5f859
symlink stuff
akotlar Sep 18, 2024
ffa38cd
fix
akotlar Sep 18, 2024
2cbab89
mention the go programs
akotlar Sep 18, 2024
a0934a9
improve readme
akotlar Sep 18, 2024
425fee9
cleanup
akotlar Sep 18, 2024
3648109
cleanup
akotlar Sep 18, 2024
b50fe35
move readme.md to install.md
akotlar Sep 18, 2024
d07be6d
move readme.md to install.md
akotlar Sep 18, 2024
a32056a
cleanup
akotlar Sep 18, 2024
a21da6d
cleanup and mention bgzip
akotlar Sep 18, 2024
c2d8bea
cleanup
akotlar Sep 18, 2024
0a97514
expand dockerignore
akotlar Sep 18, 2024
d7ae73d
expand dockerignore
akotlar Sep 18, 2024
30ad2bf
exlude more data
akotlar Sep 18, 2024
607bd7e
expand dockerfile
akotlar Sep 18, 2024
284834c
fix test_hypothesis_hd.py to not rely on absolute paths
akotlar Sep 18, 2024
79225e8
fix python docker image; try to reduce image size of perl docker image
akotlar Sep 18, 2024
1c4e352
fix poe test
akotlar Sep 18, 2024
38a9d26
fix python image
akotlar Sep 18, 2024
f51b36c
add perl dockerfile to tests
akotlar Sep 18, 2024
a18014d
add python dockerfile build script
akotlar Sep 18, 2024
e8885aa
fix new dockerfiles
akotlar Sep 18, 2024
c895a0b
add continue on error, as perl help output exits with 255
akotlar Sep 18, 2024
a39bb02
Merge branch 'master' of github.com:bystrogenomics/bystro into featur…
akotlar Sep 18, 2024
99d37db
simplify INSTALL.md
akotlar Sep 18, 2024
c4fadcb
cleanup perl/INSTALL.md
akotlar Sep 18, 2024
bcd7153
clean up instructions
akotlar Sep 18, 2024
96de231
attempt to rely on cpanfile to simplify dependencies
akotlar Sep 18, 2024
1998b71
revert install-perl-libs.sh changes and add missing Clone dependency
akotlar Sep 18, 2024
11e718b
switch to cpanfile
akotlar Sep 18, 2024
db7f311
fix paths in test_hypothesis_hd.py
akotlar Sep 18, 2024
69f7fa1
apply coderabbit suggestions
akotlar Sep 18, 2024
7bb6e12
fix typo
akotlar Sep 18, 2024
15a84b1
cleanup perl/INSTALL.md; remove temp_dir by default; remove .zip hand…
akotlar Sep 18, 2024
fccdb42
cleanup
akotlar Sep 18, 2024
69dd5fc
cleanup
akotlar Sep 18, 2024
a9bec0a
fix dist.ini spelling
akotlar Sep 18, 2024
e1ebb2a
cleanup readme
akotlar Sep 18, 2024
4a0f473
run perltidy
akotlar Sep 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
python/python/bystro/*.so
python/target
python/build
python/python/bystro/examples
python/python/bystro/ancestry/data
**/*.ipynb
**/.mypy_cache
**/.coverage
**/.ipynb_checkpoints
**/*.log
**/__pycache__
perl/.build
perl/.build_backup/
perl/*tar.gz
perl/.vscode
perl/.tidyall.d
perl/Bystro-*
40 changes: 40 additions & 0 deletions .github/workflows/perl-build-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: (Annotator) Build and Run Annotator Perl Dockerfile

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build Docker Image from Local Context
run: |
docker build -t bystro-annotator -f Dockerfile.perl .

- name: Run Docker Image and Capture Help Output
continue-on-error: true # This is necessary because the help output returns a 255
id: help-output
run: |
docker run --rm bystro-annotator &> help_output.txt

- name: Assert Help Output Starts with Expected String
run: |
first_line=$(head -n 1 help_output.txt)
if [[ "$first_line" == "usage: bystro-annotate.pl"* ]]; then
echo "Help output assertion passed!"
else
echo "Help output assertion failed. Got: $first_line"
exit 1
fi

- name: Upload Help Output as Artifact
uses: actions/upload-artifact@v3
with:
name: help-output
path: help_output.txt
12 changes: 6 additions & 6 deletions .github/workflows/perl-code-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Perl Tidy & Critic Check
on:
push:
paths:
- '**.pl'
- '**.pm'
- '**.t'
- "**.pl"
- "**.pm"
- "**.t"
pull_request:
paths:
- '**.pl'
- '**.pm'
- '**.t'
- "**.pl"
- "**.pm"
- "**.t"

jobs:
tidy-critic-check:
Expand Down
143 changes: 71 additions & 72 deletions .github/workflows/perl-package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,85 +22,84 @@ jobs:
- name: Install Go
shell: bash
run: |
set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
url=; \
case "$arch" in \
'amd64') \
url='https://dl.google.com/go/go1.21.3.linux-amd64.tar.gz'; \
sha256='1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
url='https://dl.google.com/go/go1.21.3.linux-armv6l.tar.gz'; \
sha256='a1ddcaaf0821a12a800884c14cb4268ce1c1f5a0301e9060646f1e15e611c6c7'; \
;; \
'arm64') \
url='https://dl.google.com/go/go1.21.3.linux-arm64.tar.gz'; \
sha256='fc90fa48ae97ba6368eecb914343590bbb61b388089510d0c56c2dde52987ef3'; \
;; \
'i386') \
url='https://dl.google.com/go/go1.21.3.linux-386.tar.gz'; \
sha256='fb209fd070db500a84291c5a95251cceeb1723e8f6142de9baca5af70a927c0e'; \
;; \
'mips64el') \
url='https://dl.google.com/go/go1.21.3.linux-mips64le.tar.gz'; \
sha256='a569ffbc88b4e14cf2682f65cec950460665e4392b0d78b8868b4718c979bda8'; \
;; \
'ppc64el') \
url='https://dl.google.com/go/go1.21.3.linux-ppc64le.tar.gz'; \
sha256='3b0e10a3704f164a6e85e0377728ec5fd21524fabe4c925610e34076586d5826'; \
;; \
'riscv64') \
url='https://dl.google.com/go/go1.21.3.linux-riscv64.tar.gz'; \
sha256='67d14d3e513e505d1ec3ea34b55641c6c29556603c7899af94045c170c1c0f94'; \
;; \
's390x') \
url='https://dl.google.com/go/go1.21.3.linux-s390x.tar.gz'; \
sha256='4c78e2e6f4c684a3d5a9bdc97202729053f44eb7be188206f0627ef3e18716b6'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
build=; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
url='https://dl.google.com/go/go1.21.3.src.tar.gz'; \
sha256='186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488'; \
echo >&2; \
echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
echo >&2; \
fi; \
\
wget -O go.tgz.asc "$url.asc"; \
wget -O go.tgz "$url" --progress=dot:giga; \
echo "$sha256 *go.tgz" | sha256sum -c -; \
\
# https://github.com/golang/go/issues/14739#issuecomment-324767697
GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \
# https://www.google.com/linuxrepositories/
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; \
# let's also fetch the specific subkey of that key explicitly that we expect "go.tgz.asc" to be signed by, just to make sure we definitely have it
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; \
gpg --batch --verify go.tgz.asc go.tgz; \
gpgconf --kill all; \
rm -rf "$GNUPGHOME" go.tgz.asc; \
\
tar -C /usr/local -xzf go.tgz; \
rm go.tgz;
/usr/local/go/bin/go version
echo "/usr/local/go/bin" >> $GITHUB_PATH
echo "${HOME}/go/bin" >> $GITHUB_PATH
set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
url=; \
case "$arch" in \
'amd64') \
url='https://dl.google.com/go/go1.21.3.linux-amd64.tar.gz'; \
sha256='1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
url='https://dl.google.com/go/go1.21.3.linux-armv6l.tar.gz'; \
sha256='a1ddcaaf0821a12a800884c14cb4268ce1c1f5a0301e9060646f1e15e611c6c7'; \
;; \
'arm64') \
url='https://dl.google.com/go/go1.21.3.linux-arm64.tar.gz'; \
sha256='fc90fa48ae97ba6368eecb914343590bbb61b388089510d0c56c2dde52987ef3'; \
;; \
'i386') \
url='https://dl.google.com/go/go1.21.3.linux-386.tar.gz'; \
sha256='fb209fd070db500a84291c5a95251cceeb1723e8f6142de9baca5af70a927c0e'; \
;; \
'mips64el') \
url='https://dl.google.com/go/go1.21.3.linux-mips64le.tar.gz'; \
sha256='a569ffbc88b4e14cf2682f65cec950460665e4392b0d78b8868b4718c979bda8'; \
;; \
'ppc64el') \
url='https://dl.google.com/go/go1.21.3.linux-ppc64le.tar.gz'; \
sha256='3b0e10a3704f164a6e85e0377728ec5fd21524fabe4c925610e34076586d5826'; \
;; \
'riscv64') \
url='https://dl.google.com/go/go1.21.3.linux-riscv64.tar.gz'; \
sha256='67d14d3e513e505d1ec3ea34b55641c6c29556603c7899af94045c170c1c0f94'; \
;; \
's390x') \
url='https://dl.google.com/go/go1.21.3.linux-s390x.tar.gz'; \
sha256='4c78e2e6f4c684a3d5a9bdc97202729053f44eb7be188206f0627ef3e18716b6'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
build=; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
url='https://dl.google.com/go/go1.21.3.src.tar.gz'; \
sha256='186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488'; \
echo >&2; \
echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
echo >&2; \
fi; \
\
wget -O go.tgz.asc "$url.asc"; \
wget -O go.tgz "$url" --progress=dot:giga; \
echo "$sha256 *go.tgz" | sha256sum -c -; \
\
# https://github.com/golang/go/issues/14739#issuecomment-324767697
GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \
# https://www.google.com/linuxrepositories/
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; \
# let's also fetch the specific subkey of that key explicitly that we expect "go.tgz.asc" to be signed by, just to make sure we definitely have it
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; \
gpg --batch --verify go.tgz.asc go.tgz; \
gpgconf --kill all; \
rm -rf "$GNUPGHOME" go.tgz.asc; \
\
tar -C /usr/local -xzf go.tgz; \
rm go.tgz;
/usr/local/go/bin/go version
echo "/usr/local/go/bin" >> $GITHUB_PATH
echo "${HOME}/go/bin" >> $GITHUB_PATH

- name: Install one-off Bystro dependencies
shell: bash
run: |
go install github.com/bystrogenomics/[email protected]
cpm install -g https://github.com/bystrogenomics/msgpack-perl.git
cpm install -g --no-test MouseX::Getopt
cpm install -g DBD::[email protected]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no longer needed; mariadb has a smoother install process (and is compatible with mysql; tested the only mysql use we have in Perl, namely bystro-utils.pl fetching utility)

git clone --depth 1 --recurse-submodules https://github.com/salortiz/LMDB_File.git \
&& cd LMDB_File \
&& cpanm --quiet .
Expand Down
118 changes: 118 additions & 0 deletions .github/workflows/perl-test-install-apt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
name: Install and Test Bystro (APT)

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v4

# Run the install script using APT
- name: Install Bystro using APT script
run: |
touch ~/.profile
./install-apt.sh --profile-file ~/.profile

# Test that bystro-annotate.pl works
# When it runs with --help it exits with 255
- name: Verify installation by running bystro-annotate.pl --help
continue-on-error: true
run: |
source ~/.profile
output=$(bystro-annotate.pl --help 2>&1)
exit_code=$?
first_line=$(echo "$output" | head -n 1)

if [ "$exit_code" -eq 255 ]; then
echo "Exit code 255 confirmed."
else
echo "Unexpected exit code: $exit_code" >&2
exit 1
fi

if [[ "$first_line" == "usage: bystro-annotate.pl"* ]]; then
echo "First line matches the expected 'usage: bystro-annotate.pl'."
else
echo "First line does not match the expected 'usage: bystro-annotate.pl'." >&2
echo "Actual first line: $first_line" >&2
exit 1
fi

# Test that bystro-build.pl works
# When it runs with --help it exits with 1
- name: Verify installation by running bystro-build.pl --help
continue-on-error: true
run: |
source ~/.profile
output=$(bystro-build.pl --help 2>&1)
first_line=$(echo "$output" | head -n 1)

if [[ "$first_line" == "Usage:"* ]]; then
echo "First line matches the expected 'Usage:'"
else
echo "First line does not match the expected 'Usage:'" >&2
echo "Actual first line: $first_line" >&2
exit 1
fi

- name: Run tests
run: |
cd perl
source ~/.profile
prove -r -j$(nproc) t

- name: Check that expected programs are in the PATH
run: |
source ~/.profile
if command -v bystro-annotate.pl > /dev/null; then
echo "bystro-annotate.pl is in the PATH"
else
echo "bystro-annotate.pl is not in the PATH" >&2
exit 1
fi

if command -v bystro-build.pl > /dev/null; then
echo "bystro-build.pl is in the PATH"
else
echo "bystro-build.pl is not in the PATH" >&2
exit 1
fi

if command -v bystro-vcf > /dev/null; then
echo "bystro-vcf is in the PATH"
else
echo "bystro-vcf is not in the PATH" >&2
exit 1
fi

if command -v bystro-snp > /dev/null; then
echo "bystro-snp is in the PATH"
else
echo "bystro-snp is not in the PATH" >&2
exit 1
fi

if command -v bystro-stats > /dev/null; then
echo "bystro-stats is in the PATH"
else
echo "bystro-stats is not in the PATH" >&2
exit 1
fi

if command -v bgzip > /dev/null; then
echo "bgzip is in the PATH"
else
echo "bgzip is not in the PATH" >&2
exit 1
fi

if command -v yq > /dev/null; then
echo "yq is in the PATH"
else
echo "yq is not in the PATH" >&2
exit 1
fi
Loading
Loading