Skip to content

Commit

Permalink
progress on #449 mosdepth
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKralCZ committed Nov 4, 2024
1 parent 9e431ec commit 205035c
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
17 changes: 17 additions & 0 deletions 449_mosdepth/Nim-2.2.0-GCCcore-11.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name = 'Nim'
version = '2.2.0'

homepage = 'https://nim-lang.org/'
description = "Nim is a systems and applications programming language."

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

source_urls = ['https://nim-lang.org/download/']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['ce9842849c9760e487ecdd1cdadf7c0f2844cafae605401c7c72ae257644893c']

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

dependencies = [('libreadline', '8.2')]

moduleclass = 'lang'
48 changes: 48 additions & 0 deletions 449_mosdepth/mosdepth-0.3.9-GCC-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
easyblock = 'Binary'

name = 'mosdepth'
version = '0.3.9'
local_hts_nim_ver = '0.3.25'

homepage = 'https://github.com/brentp/mosdepth'
description = "Fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing"

toolchain = {'name': 'GCC', 'version': '12.3.0'}

sources = [
{
'source_urls': ['https://github.com/brentp/hts-nim/archive/'],
'download_filename': 'v%s.tar.gz' % local_hts_nim_ver,
'filename': 'hts-nim-%s.tar.gz' % local_hts_nim_ver,
},
{
'source_urls': ['https://github.com/brentp/mosdepth/archive/'],
'download_filename': 'v%(version)s.tar.gz',
'filename': SOURCE_TAR_GZ,
},
]
checksums = [
{'hts-nim-0.3.25.tar.gz': 'b13b9bb5aa567a69bf17547aadbbd39e37beb4f71a28f267b83dfea9ea4d05e8'},
{'mosdepth-0.3.9.tar.gz': '9171ea9a6ddaccd0091db5b85fa9e6cb79516bbe005c47ffc8dcfe49c978eb69'},
]

dependencies = [
('Nim', '2.2.0'),
('HTSlib', '1.18'),
('PCRE', '8.45'),
]

extract_sources = True

install_cmd = "cd %(builddir)s/hts-nim-*/ && nimble install --nimbleDir:%(installdir)s --verbose -y && "
install_cmd += "cd ../mosdepth-*/ && "
install_cmd += "nimble install --nimbleDir:%(installdir)s --verbose -y"

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

sanity_check_commands = ["mosdepth --help"]

moduleclass = 'bio'

0 comments on commit 205035c

Please sign in to comment.