Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{bio}[foss/2023a] InterProScan v5.69-101.0 #21186

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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'
Loading