Skip to content

Commit

Permalink
Merge pull request #20207 from sara-nl/20240325155006_new_pr_GCTA1941
Browse files Browse the repository at this point in the history
{bio}[gfbf/2023a] GCTA v1.94.1
  • Loading branch information
akesandgren authored Mar 27, 2024
2 parents 22130ce + c7dafc3 commit e1df1f0
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions easybuild/easyconfigs/g/GCTA/GCTA-1.94.1-gfbf-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Author: Jasper Grimm (UoY)
# Updated to 1.94.1. J. Sassmannshausen (Imperial College London/UK)

easyblock = 'CMakeMakeCp'

name = 'GCTA'
version = '1.94.1'
_plink_commit = '3744540'

homepage = 'https://yanglab.westlake.edu.cn/software/gcta/'
description = """
GCTA (Genome-wide Complex Trait Analysis) is a software package, which was
initially developed to estimate the proportion of phenotypic variance explained
by all genome-wide SNPs for a complex trait but has been extensively extended
for many other analyses of data from genome-wide association studies (GWASs).
"""

toolchain = {'name': 'gfbf', 'version': '2023a'}

sources = [
{
'source_urls': ['https://github.com/jianyangqt/gcta/archive'],
'download_filename': 'v%(version)s.tar.gz',
'filename': SOURCE_TAR_GZ,
},
{
'source_urls': ['https://github.com/zhilizheng/plink-ng/archive'],
'download_filename': '%s.tar.gz' % _plink_commit,
'filename': 'plink-ng-%s.tar.gz' % _plink_commit,
'extract_cmd': "tar xzvf %%s --strip-components 1 -C gcta-%s/submods/plink-ng" % version,
},
]
patches = [
'GCTA-1.94.0beta_allow-BLAS-selection.patch',
'GCTA-1.94.0beta_lapack-compatibility.patch',
]
checksums = [
{'GCTA-1.94.1.tar.gz': 'd38841587bef016d7885cc1b3287d7ed0373bd370674130e814e2c5e6a90bfbf'},
{'plink-ng-3744540.tar.gz': 'a7c70c237d49d64fc1668ced373036c09b41d7c61d0b8b24b47e2fb76474455d'},
{'GCTA-1.94.0beta_allow-BLAS-selection.patch': '320a5d82d12cf453f1396b228723ac18dc98e32bc459394dd4d712fc16b24747'},
{'GCTA-1.94.0beta_lapack-compatibility.patch': '643282a2e2c02fc683431b673a4623a498129870431481d33d33e19a509026ce'},
]

builddependencies = [
('CMake', '3.26.3'),
# Eigen and SpectrA are header-only C++ libraries
('Eigen', '3.4.0'),
('SpectrA', '1.0.1'),
]

dependencies = [
('Boost', '1.82.0'),
('SQLite', '3.42.0'),
('zstd', '1.5.5'),
('GSL', '2.7'),
]

preconfigopts = 'EIGEN3_INCLUDE_DIR=$EBROOTEIGEN/include SPECTRA_LIB=$EBROOTSPECTRA/include'
preconfigopts += ' BOOST_LIB=$EBROOTBOOST/include '

files_to_copy = [(['gcta64'], 'bin')]

sanity_check_paths = {
'files': ['bin/gcta64'],
'dirs': [],
}

sanity_check_commands = ["gcta64 | grep -e 'Analysis started'"]

moduleclass = 'bio'

0 comments on commit e1df1f0

Please sign in to comment.