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

add pantax #50983

Merged
merged 21 commits into from
Oct 10, 2024
14 changes: 14 additions & 0 deletions recipes/pantax/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

if [ "$(uname)" == "Darwin" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

The meta.yaml says to skip OSX

cp -rf $SRC_DIR $PREFIX
else
martin-g marked this conversation as resolved.
Show resolved Hide resolved
zwh82 marked this conversation as resolved.
Show resolved Hide resolved
cd ${SRC_DIR}/scripts
chmod +x pantax
chmod +x data_preprocessing
cp ${SRC_DIR}/scripts/pantax ${SRC_DIR}/scripts/data_preprocessing ${PREFIX}/bin
cp ${SRC_DIR}/scripts/*py ${PREFIX}/bin
zwh82 marked this conversation as resolved.
Show resolved Hide resolved

cd ${SRC_DIR}/tools/fastix
RUST_BACKTRACE=1 cargo install --verbose --locked --no-track --root ${PREFIX} --path .
zwh82 marked this conversation as resolved.
Show resolved Hide resolved
fi
zwh82 marked this conversation as resolved.
Show resolved Hide resolved
52 changes: 52 additions & 0 deletions recipes/pantax/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{% set name = "pantax" %}
{% set version = "1.0.2" %}

package:
name: {{ name }}
version: {{ version }}

source:
- url: https://github.com/LuoGroup2023/PanTax/releases/download/v{{ version }}/{{ name }}.tar.gz
sha256: 9433f3d6c5ca6870de4aa0d92cfc591973fda5f8620f5a8e9befa01f954b8dfb

build:
skip: True # [osx]
number: 0
run_exports:
- {{ pin_subpackage(name, max_pin="x") }}

requirements:
build:
- {{ compiler('rust') }}
host:
- python ==3.10
- pip
run:
- python =3.10
martin-g marked this conversation as resolved.
Show resolved Hide resolved
- samtools =1.19.2
- bcftools =1.19
- htslib =1.19.1
- pggb =0.6.0
- vg
zwh82 marked this conversation as resolved.
Show resolved Hide resolved
- graphaligner =1.0.17
- h5py =3.10.0
- pandas =2.2.0
- tqdm
- numpy =1.26.3
- networkx =3.2.1
- pyarrow =14.0.2

zwh82 marked this conversation as resolved.
Show resolved Hide resolved
test:
commands:
- pantax -h
zwh82 marked this conversation as resolved.
Show resolved Hide resolved

about:
home: https://github.com/LuoGroup2023/PanTax
license: GPL-3.0-or-later
zwh82 marked this conversation as resolved.
Show resolved Hide resolved
license_file: LICENSE
license_family: GPL3
summary: Strain-level taxonomic classification of metagenomic data using pangenome graphs

extra:
skip-lints:
- should_be_noarch_python
zwh82 marked this conversation as resolved.
Show resolved Hide resolved