{% set name = "trinity" %}
{% set version = "2.8.2" %}
{% set hash = "1cdb8a1fe37e20486964e6df1e14063c58855dbdb57b747bdecd4e182558df23" %}


package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/trinityrnaseq/trinityrnaseq/archive/Trinity-v{{ version }}.tar.gz
  sha256: {{ hash }}
  patches:
    - trinseqtk.make.patch

build:
  number: 0
  skip: True  # [osx]

requirements:
  build:
    - {{ compiler('cxx') }}
    - {{ compiler('c') }}
    - cmake
    - autoconf
    - zlib

  run:
    - bowtie2 >=2.3.0
    - jellyfish >=2.2.6
    - openjdk >=8
    - perl >=5.8
    - python >=2.7
    - samtools >=1.3
    - zlib
    - salmon >=0.9.1

  host:
    - bowtie2 >=2.3.0
    - jellyfish >=2.2.6
    - openjdk >=8
    - perl >=5.8
    - python >=2.7
    - samtools >=1.3
    - zlib
    - salmon >=0.9.1
    - cmake


test:
  commands:
    - "Trinity --cite"

about:
  home: https://github.com/trinityrnaseq/trinityrnaseq/
  license: 'BSD-3-Clause'
  summary: 'Trinity RNA-Seq de novo transcriptome assembly'

extra:
  identifiers:
    - biotools:trinity
