package:
  name: jalview
  version: 2.11.1.0

build:
  number: 0 
  noarch: generic

source:
  url: http://www.jalview.org/source/jalview_2_11_1_0.tar.gz
  sha256: "80423601e439a4620a8f27f42f96d496a297d4d9e1ea68e818fb8b06151f44b5"

requirements:
  build:
    # jalview 2.11 series requires Java 11 or greater to build.
    - gradle >5.0
    - openjdk 11
    - xorg-libxtst
  run:
    # Jalview 2.11.1.0 can run as 1.8 or java 9+ 
    # Version number reference: https://github.com/conda/conda/issues/6948#issuecomment-369360906
    - openjdk >=8.0.192
    - xorg-libxtst
    - psutil

test:
  commands:
    - jalview -help


about:
  home: http://www.jalview.org/
  license: GPL3
  summary: Jalview is a free program for multiple sequence alignment editing, visualisation, analysis and figure generation.
  description: |
    Jalview is a free program for multiple sequence alignment editing, visualisation, analysis and figure generation.
    Use it to view and edit sequence alignments, analyse them with phylogenetic trees and principal
    components analysis (PCA) plots and explore molecular structures and annotation. It is also able
    to import and annotate DNA and Protein products from VCF files and retrieve data and annotation from
    Uniprot, Ensembl, ENA, Rfam, Pfam and the PDBe.

extra:
  notes: |
    This wrapper and installation is primarily for commandline-only use.
    Set JALVIEW_JRE=j1.8 or JALVIEW_JRE=j11 to specify the java runtime if you need jalview to start up as quickly as possible
