Skip to content

Commit

Permalink
adding easyconfigs: BWA-0.7.18-GCCcore-12.3.0.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
kErica committed May 31, 2024
1 parent 95f8b26 commit 2f1f05e
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions easybuild/easyconfigs/b/BWA/BWA-0.7.18-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2014 Cyprus Institute / CaSToRC, Uni.Lu/LCSB, NTUA
# Authors:: George Tsouloupas <g.tsouloupas@cyi.ac.cy>, Fotis Georgatos <fotis@cern.ch>
# License:: MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-94.html
#
# Version >= 0.7.15
# Author: Adam Huffman
# The Francis Crick Institute
#
# Note that upstream development is mainly at: https://github.com/lh3/bwa
#
# 0.7.18
# Erica Bianco (HPCNow!)
##

name = 'BWA'
version = '0.7.18'

homepage = 'http://bio-bwa.sourceforge.net/'
description = """
Burrows-Wheeler Aligner (BWA) is an efficient program that aligns relatively
short nucleotide sequences against a long reference sequence such as the human
genome.
"""

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/lh3/%(name)s/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['194788087f7b9a77c0114aa481b2ef21439f6abab72488c83917302e8d0e7870']

builddependencies = [('binutils', '2.40')]

dependencies = [
('Perl', '5.36.1'),
('zlib', '1.2.13'),
]

# Allow use of x86 intrinsics on PPC
prebuildopts = 'export CFLAGS="$CFLAGS -fcommon -DNO_WARN_X86_INTRINSICS" && '
prebuildopts += "sed -i 's|^CC=|#CC=|g' Makefile && "
prebuildopts += "sed -i 's|^CFLAGS=|#CFLAGS=|g' Makefile && "
prebuildopts += "sed -i 's|^LIBS=|LIBS= $(LDFLAGS) |g' Makefile && "

moduleclass = 'bio'

0 comments on commit 2f1f05e

Please sign in to comment.