PythonPackage example

PythonPackage example#

easyblock = 'PythonPackage'

name = 'mOTUs'
version = '3.1.0'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/motu-tool/mOTUs'
description = """The mOTUs profiler is a computational tool that estimates relative abundance of known and currently unknown microbial community members using metagenomic shotgun sequencing data."""
source_urls = ['https://github.com/motu-tool/%(name)s/archive/']
sources = ['%(version)s.tar.gz']

toolchain = {'name': 'GCC', 'version': '10.2.0'}

dependencies = [
    ('Python', '3.8.6'),
    ('BWA', '0.7.17'),
    ('SAMtools', '1.12'),
]

options = {'modulename': False}

use_pip = True

sanity_check_paths = {
    'files': ['bin/motus'],
    'dirs': [],
}

moduleclass = 'bio'