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}[GCCcore/6.3.0] structure v2.3.4 #5202

Closed
Changes from 1 commit
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
27 changes: 27 additions & 0 deletions easybuild/easyconfigs/s/structure/structure-2.3.4.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file is an EasyBuild recipy by Christian Meesters (2017)
# HPC-group University of Mainz (https://hpc.uni-mainz.de)

easyblock = 'MakeCp'
name = 'structure'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please include an empty line above, to match the style of existing easyconfigs

version = '2.3.4'

homepage = 'https://web.stanford.edu/group/pritchardlab/structure.html'
description = """The program structure is a free software package for using multi-locus genotype data to investigate population structure. Its uses include infering the presence of distinct populations, assigning individuals to populations, studying hybrid zones, identifying migrants and admixed individuals, and estimating population allele frequencies in situations where many individuals are migrants or admixed. It can be applied to most of the commonly-used genetic markers, including SNPS, microsatellites, RFLPs and AFLPs."""

toolchain = {'name': 'dummy', 'version': 'dummy'}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to use dummy rather than a 'proper' toolchain?


source_urls = ['https://web.stanford.edu/group/pritchardlab/structure_software/release_versions/v%(version)s/']
sources = ['structure_kernel_source.tar.gz']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If no properly versioned source tarball is available, please let EasyBuild rename it on download, and also include a SHA256 checksum:

sources = [{'download_filename': 'structure_kernel_source.tar.gz', 'filename': SOURCE_TAR_GZ}]
checksums = ['...']

files_to_copy = ['structure']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty line above please


sanity_check_paths = {'files' : ['structure'],
'dirs' : []}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please reformat to:

sanity_check_paths = {
    'files' : ['structure'],
    'dirs'  : [],
}

#buildininstalldir = True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove commented out lines


#installopts = 'PREFIX=%(installdir)s'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove commented out lines

moduleclass = 'bio'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be the last line




allow_prepend_abs_path = True
modextrapaths = {'PATH': '%(installdir)s' }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't need allow_prepend_abs_path = True here, just use:

modextrapaths = {'PATH': ''}

(the installation prefix is prepended automatically for all entries)

Also, please move this up, above the moduleclass = ... line