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

add missing PEAR dependency in easyconfig for GBprocesS v2.3 + enhance sanity check #11767

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -22,6 +22,7 @@ dependencies = [
('Python', '3.8.2'),
('cutadapt', '2.10', '-Python-%(pyver)s'),
('Biopython', '1.78', versionsuffix),
('PEAR', '0.9.11'),
]

use_pip = True
Expand All @@ -38,6 +39,20 @@ pretestopts = (

runtest = 'python -m unittest discover -v -s ./test -p test_*.py'

sanity_check_commands = [
"touch %(builddir)s/17146FL-13-01-01_S97_L002_R1_001.fastq",
"touch %(builddir)s/17146FL-13-01-01_S97_L002_R2_001.fastq",
# Trivial configuration file to use when running gbprocess sanity check
# See https://gitlab.com/dschaumont/GBprocesS/-/blob/master/docs/user_guide.rst
"echo '[General]' > %(builddir)s/config.ini",
"echo 'cores = 1' >> %(builddir)s/config.ini",
"echo 'input_directory = %(builddir)s/' >> %(builddir)s/config.ini",
"echo 'sequencing_type = pe' >> %(builddir)s/config.ini",
"echo 'input_file_name_template = {run:25}_R{orientation:1}_001{extension}' >> %(builddir)s/config.ini",
"echo 'temp_dir = %(builddir)s/' >> %(builddir)s/config.ini",
"gbprocess --debug -c %(builddir)s/config.ini",
]

options = {'modulename': 'gbprocess'}

moduleclass = 'bio'
34 changes: 34 additions & 0 deletions easybuild/easyconfigs/p/PEAR/PEAR-0.9.11-GCCcore-9.3.0.eb
@@ -0,0 +1,34 @@
easyblock = 'ConfigureMake'

name = 'PEAR'
version = '0.9.11'

homepage = 'https://cme.h-its.org/exelixis/web/software/%(namelower)s/'
description = """PEAR is an ultrafast, memory-efficient and highly accurate pair-end read merger.
It is fully parallelized and can run with as low as just a few kilobytes of memory."""

toolchain = {'name': 'GCCcore', 'version': '9.3.0'}

# Needs manual download via web-form,
# https://www.h-its.org/en/research/sco/software/#NextGenerationSequencingSequenceAnalysis
sources = ['%(namelower)s-src-%(version)s.tar.gz']
checksums = ['94f4a1835cd75ec6fab83405c2545ddba6b6bb1644579222e9cc2ad57a59d654']

builddependencies = [
('Autotools', '20180311'),
('binutils', '2.34'),
]

dependencies = [
('zlib', '1.2.11'),
('bzip2', '1.0.8'),
]

preconfigopts = 'autoreconf && '

sanity_check_paths = {
'files': ['bin/%(namelower)s'],
'dirs': [],
}

moduleclass = 'bio'