Skip to content

Commit d64fdab

Browse files
author
Samuel Moors
committed
add Dfam-database dependency for RepeatMasker
1 parent 5ae7e9f commit d64fdab

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

easybuild/easyconfigs/r/RepeatMasker/RepeatMasker-4.2.3-foss-2025a.eb

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ description = """RepeatMasker is a program that screens DNA sequences for inters
99

1010
toolchain = {'name': 'foss', 'version': '2025a'}
1111

12-
source_urls = ['https://www.repeatmasker.org/%(name)s']
1312
sources = [
14-
SOURCE_TAR_GZ,
13+
{
14+
'source_urls': ['https://www.repeatmasker.org/%(name)s'],
15+
'filename': SOURCE_TAR_GZ,
16+
},
1517
# optional but recommended: RepBase RepeatMasker Edition
1618
# requires subscription and academic license, download from here: https://www.girinst.org/server/RepBase/index.php
1719
# {
@@ -29,11 +31,14 @@ dependencies = [
2931
# At least one search engine of: RMBlast, HMMER, ABBlast/WUBlast, Cross_Match
3032
('HMMER', '3.4'),
3133
('RMBlast', '2.17.1'),
34+
('Dfam-database', '3.9', '', SYSTEM),
3235
]
3336

3437
local_default_search_engine = 'RMBlast'
3538

36-
local_config_command = 'cd %(installdir)s &&'
39+
local_config_command = 'cd %(installdir)s && '
40+
# create symlinks to Dfam database files
41+
local_config_command += 'for x in $EBROOTDFAMMINDATABASE/*.h5; do ln -s $x Libraries/famdb/; done && '
3742
local_config_command += './configure -perlbin "$EBROOTPERL/bin/perl" -trf_prgm "$EBROOTTRF/bin/trf" '
3843
local_config_command += '-hmmer_dir "$EBROOTHMMER/bin" -rmblast_dir "$EBROOTRMBLAST/bin" '
3944
local_config_command += '-default_search_engine %s' % local_default_search_engine.lower()

0 commit comments

Comments
 (0)