easyblock = "PackedBinary"

name = "I-TASSER"
version = '4.2'

homepage = 'http://zhanglab.ccmb.med.umich.edu/I-TASSER/'
description = """I-TASSER is a set of pre-compiled binaries and scripts for protein structure and function
modelling and comparison."""

toolchain = {'name': 'system', 'version': ''}

# Can't download from the web site automatically as registration is required.
# The source code may be downloaded manually from
# http://zhanglab.ccmb.med.umich.edu.
sources = ['%(name)s%(version)s.tar.bz2']

dependencies = [
    ('BLAST', '2.2.26', "-Linux_x86_64"),
    ('Java', '1.7.0_80'),
]

sanity_check_paths = {
    'files': ['I-TASSERmod/runI-TASSER.pl'],
    'dirs': ['bin', 'blast', 'COACH', 'COFACTOR', 'I-TASSERmod', 'PSSpred'],
}

# You may find it desirable to put this variable in the module file.
# The command to do so has been put here (commented out) as a convenience.
#modextravars = { 'IMINTASSERDB' : '/path/to/databases/I-TASSER/%(version)s' }

moduleclass = 'bio'
