diff --git a/easybuild/easyconfigs/p/picard/picard-3.3.0-Java-17.eb b/easybuild/easyconfigs/p/picard/picard-3.3.0-Java-17.eb new file mode 100644 index 00000000000..8aafd645195 --- /dev/null +++ b/easybuild/easyconfigs/p/picard/picard-3.3.0-Java-17.eb @@ -0,0 +1,62 @@ +## +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# +# This is a contribution from Phoenix HPC Service, The University of Adelaide, Australia +# Homepage: https://www.adelaide.edu.au/phoenix/ +# +# Copyright:: adelaide.edu.au/phoenix +# Authors:: Robert Qiao , Exe Escobedo +# License:: MIT +# +# 2.10.1: +# Adam Huffman +# The Francis Crick Institute +# 2.18.11: +# Jonas Demeulemeester +# The Francis Crick Institute +# 2.21.1 +# Pavel Grochal (INUITS) +# 2.25.1 +# J. Sassmannshausen (GSTT) +# 2.25.5 +# Erica Bianco (HPCNow!) +# 2.26.10 +# Christoph Siegert (Leipzig University) +# 3.0.0 +# Graham Derryberry (UTK) +# 3.3.0 +# Emik Lin (HKUMed CPOS) +## + +easyblock = 'JAR' + +name = 'picard' +version = '3.3.0' +versionsuffix = '-Java-%(javaver)s' + +homepage = 'https://broadinstitute.github.io/picard/' +description = """A set of tools (in Java) for working with next generation sequencing data in the BAM format.""" + +toolchain = SYSTEM + +source_urls = ['https://github.com/broadinstitute/picard/releases/download/%(version)s'] +sources = [{ + 'filename': '%(name)s-%(version)s.jar', + 'download_filename': '%(name)s.jar', +}] +checksums = ['58819a7660646b74b34e282f5d4d21c8dbaea22ddeff96e3258755dafa0f86dc'] + +postinstallcmds = ["mv %(installdir)s/%(name)s-%(version)s.jar %(installdir)s/%(name)s.jar"] + +dependencies = [('Java', '17')] + +sanity_check_commands = ['java -jar $EBROOTPICARD/picard.jar 2>&1 | grep USAGE'] + +sanity_check_paths = { + 'files': ['picard.jar'], + 'dirs': [], +} + +modloadmsg = "To execute picard run: java -jar $EBROOTPICARD/%(name)s.jar" + +moduleclass = 'bio'