diff --git a/easybuild/easyconfigs/i/InterProScan/InterProScan-5.69-101.0-foss-2023a.eb b/easybuild/easyconfigs/i/InterProScan/InterProScan-5.69-101.0-foss-2023a.eb new file mode 100644 index 000000000000..e7e8447abae9 --- /dev/null +++ b/easybuild/easyconfigs/i/InterProScan/InterProScan-5.69-101.0-foss-2023a.eb @@ -0,0 +1,55 @@ +easyblock = 'Binary' + +name = 'InterProScan' +version = '5.69-101.0' + +homepage = 'https://www.ebi.ac.uk/interpro/' +# also https://github.com/ebi-pf-team/interproscan +description = """InterProScan is a sequence analysis application (nucleotide and protein sequences) that combines + different protein signature recognition methods into one resource [code only: libraries and external binaries + but no data].""" +# software_license = 'LicenseApachev2' + +toolchain = {'name': 'foss', 'version': '2023a'} + +source_urls = ['https://ftp.ebi.ac.uk/pub/software/unix/iprscan/%(version_major)s/%(version)s/alt/'] +sources = ['interproscan-core-%(version)s.tar.gz'] +checksums = ['2dae4ec748ece57b9412518a763aed0f7d0a1fc2ac1a3937b574a06e2566b349'] + +dependencies = [ + ('Java', '11', '', SYSTEM), + ('Perl', '5.36.1'), + ('libgd', '2.3.3'), + ('Python', '3.11.3'), + ('PCRE', '8.45'), +] +# NOTE some analyses done by InterProScan require extra tools not included in the interproscan +# distribution because of license issues. +# Those tools are SignalP, TMHMM and Phobius. +# To allow InterProScan to use them you have to copy or symlink their executable in the +# corresponding %(installdir)s/bin/TOOL/VERSION/ folder. + +extract_sources = False + +# NOTE The data can be added manually afterwards with for example a symlink called *data* +# in %(installdir)s/ +# But simpler to use the InterProScan_data-*.eb file. The regular InterProScan data package +# does not contain the lookup_service data way too large! +install_cmd = 'tar xfz %(namelower)s-core-%(version)s.tar.gz && ' +install_cmd += 'cd %(namelower)s-%(version)s/ && ' +install_cmd += 'find . -type d -name bin32 | xargs rm -Rf && ' +# We want the test files to validate the installation +#install_cmd += 'rm -f test* && rm -Rf src/ && ' +install_cmd += 'rm -Rf src/ && ' +install_cmd += 'chmod -x *.jar && ' +install_cmd += 'cp -r * %(installdir)s/ && cd .. && ' +install_cmd += 'rm -Rf %(namelower)s-%(version)s/' + +sanity_check_paths = { + 'files': ['interproscan-%(version_major)s.jar', 'interproscan.sh', 'interproscan.properties'], + 'dirs': ['bin', 'lib'], +} + +sanity_check_commands = ["interproscan.sh 2>&1 | grep 'Welcome to InterProScan-%(version)s'"] + +moduleclass = 'bio'