package:
  name: pasta
  version: "1.7.8"

source:
  url: https://github.com/smirarab/pasta/archive/43076b8.tar.gz
  sha256: 5eecec1710790df642696d1a52ecf723e5f02dd94e971427117344342a7c2a42

build:
  number: 3

requirements:
  build:
    - {{ compiler('c') }}

  host:
    - python
    - setuptools
    - dendropy >=4.1.0
    - wget
    - openjdk
    - pcre
    - pymongo >=3.3.0

  run:
    - python
    - dendropy >=4.1.0
    - openjdk
    - pcre
    - pymongo >=3.3.0

test:
  imports:
    - pasta

  commands:
    - clustalw2 -help | grep OPTIONS
    - hmmalign -h | grep HMMER
    - hmmbuild -h | grep HMMER
    - muscle -version | grep MUSCLE
    - prank -help | grep prank
    - raxml -h | grep raxmlHPC
    - raxmlp -h | grep raxmlHPC

about:
  home: https://github.com/smirarab/pasta
  license: GNU General Public License v3 or later (GPLv3+)
  summary: 'An implementation of the PASTA (Practical Alignment using Sate and TrAnsitivity) algorithm'
