Skip to content

Commit

Permalink
Add ntStat (#51897)
Browse files Browse the repository at this point in the history
* Create meta.yaml

* Create build.sh

* Update meta.yaml

* Rename ntstat/build.sh to recipes/ntstat/build.sh

* Rename ntstat/meta.yaml to recipes/ntstat/meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update build.sh

* Update build.sh

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update build.sh
  • Loading branch information
parham-k authored Nov 4, 2024
1 parent eca545f commit 6f9b47f
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipes/ntstat/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"

meson setup --buildtype release --prefix=$PREFIX build
meson install -C build
50 changes: 50 additions & 0 deletions recipes/ntstat/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{% set version = "1.0.0" %}

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

source:
url: https://github.com/bcgsc/ntStat/releases/download/v{{ version }}/ntStat-{{ version }}.tar.gz
sha256: cbdf691033727466aaa774c5b9a7fc549448280b53f59579d1a43d9e943f9abd

build:
number: 0
run_exports:
- {{ pin_subpackage('ntstat', max_pin="x") }}

requirements:
build:
- {{ compiler('cxx') }}
- meson
- meson-python
- cmake
- python
host:
- python
- llvm-openmp # [osx]
- libgomp # [linux]
- btllib >=1.7.2
- cpp-argparse
- cpp-tabulate
- indicators
- pybind11
run:
- python
- ntcard
- btllib >=1.7.2
- matplotlib-base
- numpy
- scipy
- tabulate

test:
commands:
- ntstat --version
- ntstat count --help

about:
home: https://github.com/bcgsc/ntStat
license: GPL-3.0-or-later
license_file: LICENSE
summary: 'a toolkit for statistical analysis of k-mer frequency and depth'

0 comments on commit 6f9b47f

Please sign in to comment.