diff --git a/recipes/pathogist/build.sh b/recipes/pathogist/build.sh new file mode 100644 index 0000000000000..d807effcfb1e6 --- /dev/null +++ b/recipes/pathogist/build.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cp $RECIPE_DIR/setup.py ./ +$PYTHON setup.py install --single-version-externally-managed --record=record.txt diff --git a/recipes/pathogist/meta.yaml b/recipes/pathogist/meta.yaml new file mode 100644 index 0000000000000..9e5372f7a4b7a --- /dev/null +++ b/recipes/pathogist/meta.yaml @@ -0,0 +1,40 @@ +{% set version = "0.2.3" %} +package: + name: pathogist + version: {{ version }} + +source: + url: https://github.com/WGS-TB/PathOGiST/archive/v{{ version }}.tar.gz + sha256: 787bee8709e9831bbf60fccd832a5cb489d012d7c864fc82f8e577da5f870645 + +build: + number: 0 + noarch: python + +requirements: + host: + - python 3.5 + run: + - python 3.5 + - numpy >=1.15.1 + - scipy >=1.1.0 + - pandas >=0.23.4 + - scikit-learn >=0.19.1 + - pyyaml >=3.13 + - pulp >=1.6.8 + - networkx + - matplotlib + - coincbc >=2.9.9 + - mentalist + - prince + - snippy ==3.2 + +test: + commands: + - PATHOGIST -h + +about: + home: https://github.com/WGS-TB/PathOGiST + summary: Calibrated multi-criterion genomic analysis for public health microbiology + license: GPL-3.0 + license_file: LICENSE diff --git a/recipes/pathogist/setup.py b/recipes/pathogist/setup.py new file mode 100644 index 0000000000000..5c3548b96f89c --- /dev/null +++ b/recipes/pathogist/setup.py @@ -0,0 +1,9 @@ +from setuptools import setup + +setup( + name='pathogist', + version='0.2.2', + description='A pipeline for the multi-criterion genomic analysis of bacterial pathogens', + url='https://github.com/WGS-TB/PathOGiST', + packages=['pathogist'], + scripts=['PATHOGIST'])