easyblock = 'PackedBinary' name = 'Kraken' version = '1.1' versionsuffix = '-Perl-%(perlver)s' homepage = 'http://ccb.jhu.edu/software/%(namelower)s/' description = """Kraken is a system for assigning taxonomic labels to short DNA sequences, usually obtained through metagenomic studies. Previous attempts by other bioinformatics software to accomplish this task have often used sequence alignment or machine learning techniques that were quite slow, leading to the development of less sensitive but much faster abundance estimation programs. Kraken aims to achieve high sensitivity and high speed by utilizing exact alignments of k-mers and a novel classification algorithm.""" # Part is compiled with CXX, the rest is in Perl toolchain = {'name': 'foss', 'version': '2018b'} toolchainopts = {'openmp': True} github_account = 'DerrickWood' source_urls = [GITHUB_LOWER_SOURCE] sources = ['v%(version)s.tar.gz'] patches = ['%(name)s-%(version)s_CXX-CXXFLAGS.patch'] checksums = [ 'a4ac74c54c10920f431741c80d8a172670be12c3b352912000030fb5ea4c87a7', # v1.1.tar.gz '84c017d6a80ccaac1e23561c83cac90bcc3d62baa8d31657a7dafbc2c3f29726', # Kraken-1.1_CXX-CXXFLAGS.patch ] dependencies = [ ('Perl', '5.28.0'), # Jellyfish 1.x is required, see https://github.com/DerrickWood/kraken/issues/69 ('Jellyfish', '1.1.12'), ('wget', '1.20.1'), ] install_cmd = 'cd %(builddir)s/%(namelower)s-%(version)s && ' install_cmd += './install_%(namelower)s.sh %(installdir)s' sanity_check_paths = { 'files': ['add_to_library.sh', 'build_kraken_db.sh', 'check_for_jellyfish.sh', 'classify', 'clean_db.sh', 'cp_into_tempfile.pl', 'db_shrink', 'db_sort', 'download_genomic_library.sh', 'download_taxonomy.sh', 'kraken', 'kraken-build', 'kraken-filter', 'krakenlib.pm', 'kraken-mpa-report', 'kraken-report', 'kraken-translate', 'make_seqid_to_taxid_map', 'read_merger.pl', 'report_gi_numbers.pl', 'set_lcas', 'shrink_db.sh', 'standard_installation.sh', 'upgrade_db.sh', 'verify_gi_numbers.pl'], 'dirs': [], } moduleclass = 'bio'