{% set name = "trinity" %}
{% set version = "2.8.1" %}
{% set hash = "546302184fa5d8090cd069ae5a39da9de5c8042b4e412f9e770850fef989a18b" %}


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

source:
  url: https://github.com/trinityrnaseq/trinityrnaseq/archive/Trinity-v{{ version }}.tar.gz
  sha256: {{ hash }}
  patches:
    - chrysalis.bioconda.patch
    - trinity-plugins.makefile.patch

build:
  number: 0

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

requirements:
  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

requirements:
  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

test:
  commands:
      - "Trinity --cite &> /dev/null"

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

extra:
  identifiers:
    - biotools:trinity
