Skip to content

Commit 0eb1211

Browse files
agudysaziele
andauthored
Several updates
* Remove --bin* options in vclust.py * Submodules updated to latest revisions. Co-authored-by: aziele <[email protected]>
1 parent c5058fc commit 0eb1211

File tree

11 files changed

+36
-67
lines changed

11 files changed

+36
-67
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
steps:
5454
- name: make
55-
run: make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} PLATFORM=${{ matrix.platform }} LEIDEN=true
55+
run: gmake -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} PLATFORM=${{ matrix.platform }} LEIDEN=true STATIC_LINK=true
5656
- name: tar artifacts
5757
run: |
5858
mkdir ${DIR}

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,24 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
machine: [ubuntu-latest, macOS-12]
18+
machine: [ubuntu-latest]
19+
gmake_install_command: ['gmake --version']
1920
compiler: [12]
21+
include:
22+
- {machine: macOS-13, gmake_install_command: 'brew install make && gmake --version', compiler: 12}
2023
runs-on: ['${{ matrix.machine }}']
2124

2225
steps:
2326
- uses: actions/checkout@v4
2427
with:
2528
submodules: recursive
29+
30+
- name: install gmake
31+
run: ${{ matrix.gmake_install_command }}
2632

2733
- name: make
2834
run: |
29-
make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}}
35+
gmake -j CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} STATIC_LINK=true
3036
- name: tar artifacts
3137
run: tar -cvf vclust.tar ./vclust.py ./test.py ./example ./bin/kmer-db ./bin/lz-ani ./bin/clusty ./bin/multi-fasta-split
3238

@@ -42,7 +48,7 @@ jobs:
4248
strategy:
4349
fail-fast: false
4450
matrix:
45-
machine: [ubuntu-latest, macOS-12]
51+
machine: [ubuntu-latest, macOS-13]
4652

4753
runs-on: ['${{ matrix.machine }}']
4854

.github/workflows/self-hosted.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
steps:
5252
- name: make
53-
run: make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} PLATFORM=${{ matrix.platform }} LEIDEN=true
53+
run: gmake -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} PLATFORM=${{ matrix.platform }} LEIDEN=true STATIC_LINK=true
5454
- name: print info
5555
run: python3 vclust.py info
5656

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
[![Build and tests](../../workflows/Build%20and%20tests/badge.svg)](../../actions/workflows/main.yml)
66
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
77

8+
9+
[![PyPI - Total Downloads](https://static.pepy.tech/personalized-badge/vclust?period=total&units=abbreviation&left_color=grey&right_color=green&left_text=PyPI%20total%20downloads)](https://www.pepy.tech/projects/vclust)
810
[![PyPI - Downloads](https://img.shields.io/pypi/dm/vclust?label=PyPI%20downloads)](https://pypi.org/project/vclust/)
911
[![GitHub downloads](https://img.shields.io/github/downloads/refresh-bio/vclust/total.svg?style=flag&label=GitHub%20downloads)](https://github.com/refresh-bio/vclust/releases)
1012
[![Bioconda downloads](https://img.shields.io/conda/dn/bioconda/vclust.svg?style=flag&label=Bioconda%20downloads)](https://anaconda.org/bioconda/vclust)

makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ prep:
1414
cd 3rd_party/clusty && $(MAKE) -j
1515
cd 3rd_party/ref-utils && $(MAKE) -j
1616
mkdir -p bin
17-
cp 3rd_party/kmer-db/kmer-db ./bin/
18-
cp 3rd_party/lz-ani/lz-ani ./bin/
19-
cp 3rd_party/clusty/clusty ./bin/
20-
cp 3rd_party/ref-utils/multi-fasta-split/multi-fasta-split ./bin/
17+
cp 3rd_party/kmer-db/bin/kmer-db ./bin/
18+
cp 3rd_party/lz-ani/bin/lz-ani ./bin/
19+
cp 3rd_party/clusty/bin/clusty ./bin/
20+
cp 3rd_party/ref-utils/bin/multi-fasta-split ./bin/
2121

2222
clean:
2323
cd 3rd_party/kmer-db && $(MAKE) clean

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ py-modules = ["vclust"]
99
where = ["./"]
1010

1111
[project]
12-
name = "vclust-test"
12+
name = "vclust"
1313
description = """Fast and accurate tool for calculating \
1414
Average Nucleotide Identity (ANI) and clustering virus \
1515
genomes and metagenomic contigs"""

0 commit comments

Comments
 (0)