Skip to content

add missing dependencies (TSEBRA, compleasm) + use more recent AUGUSTUS version for BRAKER v3.0.8#21837

Merged
laraPPr merged 6 commits intoeasybuilders:developfrom
boegel:20241112173815_new_pr_BRAKER308
May 23, 2025
Merged

add missing dependencies (TSEBRA, compleasm) + use more recent AUGUSTUS version for BRAKER v3.0.8#21837
laraPPr merged 6 commits intoeasybuilders:developfrom
boegel:20241112173815_new_pr_BRAKER308

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Nov 12, 2024

(created using eb --new-pr)

To fix errors like:

 ERROR: in file /apps/gent/RHEL8/zen2-ib/software/BRAKER/3.0.8-foss-2023a/scripts/braker.pl at line 1832
$SRATOOLS_PATH not set!
There are 3 alternative ways to set SRATOOLS_PATH for
braker.pl:
   a) provide command-line argument --SRATOOLS_PATH=/your/path
   b) use an existing environment variable $SRATOOLS_PATH
      for setting the environment variable, run
           export SRATOOLS_PATH=/your/path
      in your shell. You may append this to your .bashrc or
      .profile file in order to make the variable available to
      all your bash sessions.
   c) braker.pl can try guessing the location of
      SRATOOLS_PATH from the location of fastq-dump
      executable if it is available in your $PATH variable.
      If you try to rely on this option, you can check by
      typing
           which fastq-dump
      in your shell, whether the executable is in your $PATH

@boegel boegel added bug fix and removed change labels Nov 12, 2024
@boegel boegel added this to the release after 4.9.4 milestone Nov 12, 2024
@boegel boegel marked this pull request as draft November 12, 2024 16:52
@boegel boegel changed the title add missing SRA-Toolkit dependency for BRAKER v3.0.8 add missing dependencies for BRAKER v3.0.8 Nov 12, 2024
@jfgrimm
Copy link
Copy Markdown
Member

jfgrimm commented Nov 12, 2024

@boegelbot please test @ generoso

@boegelbot
Copy link
Copy Markdown
Collaborator

@jfgrimm: Request for testing this PR well received on login1

PR test command 'EB_PR=21837 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs /opt/software/slurm/bin/sbatch --job-name test_PR_21837 --ntasks=4 ~/boegelbot/eb_from_pr_upload_generoso.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 14694

Test results coming soon (I hope)...

Details

- notification for comment with ID 2471080828 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
cns1 - Linux Rocky Linux 8.9, x86_64, Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz (haswell), Python 3.6.8
See https://gist.github.com/boegelbot/f40dba9f53cee418787c0b8618caf91d for a full test report.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 12, 2024

Updated software AUGUSTUS-3.5.0-20240612-foss-2023a.eb

Diff against AUGUSTUS-3.5.0-foss-2024a.eb

easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-foss-2024a.eb

diff --git a/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-foss-2024a.eb b/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-20240612-foss-2023a.eb
index 0dc95015db..f451e8926a 100644
--- a/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-foss-2024a.eb
+++ b/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-20240612-foss-2023a.eb
@@ -5,43 +5,40 @@
 easyblock = 'ConfigureMake'
 
 name = 'AUGUSTUS'
-version = '3.5.0'
+version = '3.5.0-20240612'
+local_commit = '955ce17'
 
 homepage = 'https://bioinf.uni-greifswald.de/augustus/'
 description = "AUGUSTUS is a program that predicts genes in eukaryotic genomic sequences"
 
-toolchain = {'name': 'foss', 'version': '2024a'}
+toolchain = {'name': 'foss', 'version': '2023a'}
 
 github_account = 'Gaius-Augustus'
 source_urls = [GITHUB_SOURCE]
-sources = ['v%(version)s.tar.gz']
-checksums = ['5ed6ce6106303b800c5e91d37a250baff43b20824657b853ae04d11ad8bdd686']
+sources = [{'download_filename': '%s.tar.gz' % local_commit, 'filename': SOURCE_TAR_GZ}]
+checksums = ['f79a2b1b0dc7a773a499b39741810bf0af272b75d668af70004dd417cb161bec']
 
 builddependencies = [
-    ('Python', '3.12.3'),
+    ('Python', '3.11.3'),
 ]
 
 dependencies = [
-    ('zlib', '1.3.1'),
-    ('Boost', '1.85.0'),
-    ('GSL', '2.8'),
-    ('SAMtools', '1.21'),
-    ('HTSlib', '1.21'),  # also provides tabix
-    ('BCFtools', '1.21'),
+    ('zlib', '1.2.13'),
+    ('Boost', '1.82.0'),
+    ('GSL', '2.7'),
+    ('SAMtools', '1.18'),
+    ('HTSlib', '1.18'),  # also provides tabix
+    ('BCFtools', '1.18'),
     ('lpsolve', '5.5.2.11'),
-    ('SuiteSparse', '7.10.1'),
+    ('SuiteSparse', '7.1.0'),
     ('BamTools', '2.5.2'),
-    ('SQLite', '3.45.3'),
+    ('SQLite', '3.42.0'),
 ]
 
 skipsteps = ['configure']
+
 # run "make clean" to avoid using binaries included with the source tarball
 prebuildopts = "make clean && "
-# fix_missing include <cstdint>
-prebuildopts += "sed -i 's/#include <sqlite3.h>/#include <sqlite3.h>\\n#include <cstdint>/g' "
-prebuildopts += "%(builddir)s/Augustus-%(version)s/include/sqliteDB.hh && "
-prebuildopts += "sed -i 's/#include <sqlite3.h>/#include <sqlite3.h>\\n#include <cstdint>/g' "
-prebuildopts += "%(builddir)s/Augustus-%(version)s/auxprogs/homGeneMapping/include/sqliteDB.hh && "
 
 _tmpl = 'INCLUDE_PATH_{dep}=-I{root}{incl} LIBRARY_PATH_{dep}="-L{root}{lib} -Wl,-rpath,{root}{lib}"'
 
Diff against AUGUSTUS-3.5.0-foss-2023a.eb

easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-foss-2023a.eb

diff --git a/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-foss-2023a.eb b/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-20240612-foss-2023a.eb
index 2c31ade2eb..f451e8926a 100644
--- a/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-foss-2023a.eb
+++ b/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-20240612-foss-2023a.eb
@@ -5,7 +5,8 @@
 easyblock = 'ConfigureMake'
 
 name = 'AUGUSTUS'
-version = '3.5.0'
+version = '3.5.0-20240612'
+local_commit = '955ce17'
 
 homepage = 'https://bioinf.uni-greifswald.de/augustus/'
 description = "AUGUSTUS is a program that predicts genes in eukaryotic genomic sequences"
@@ -14,8 +15,8 @@ toolchain = {'name': 'foss', 'version': '2023a'}
 
 github_account = 'Gaius-Augustus'
 source_urls = [GITHUB_SOURCE]
-sources = ['v%(version)s.tar.gz']
-checksums = ['5ed6ce6106303b800c5e91d37a250baff43b20824657b853ae04d11ad8bdd686']
+sources = [{'download_filename': '%s.tar.gz' % local_commit, 'filename': SOURCE_TAR_GZ}]
+checksums = ['f79a2b1b0dc7a773a499b39741810bf0af272b75d668af70004dd417cb161bec']
 
 builddependencies = [
     ('Python', '3.11.3'),
Diff against AUGUSTUS-3.5.0-foss-2022b.eb

easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-foss-2022b.eb

diff --git a/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-foss-2022b.eb b/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-20240612-foss-2023a.eb
index b82557238d..f451e8926a 100644
--- a/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-foss-2022b.eb
+++ b/easybuild/easyconfigs/a/AUGUSTUS/AUGUSTUS-3.5.0-20240612-foss-2023a.eb
@@ -1,36 +1,38 @@
 # Updated by: Pavel Grochal (INUITS)
 # License: GPLv2
+# Update: Petr Král (INUITS)
 
 easyblock = 'ConfigureMake'
 
 name = 'AUGUSTUS'
-version = '3.5.0'
+version = '3.5.0-20240612'
+local_commit = '955ce17'
 
 homepage = 'https://bioinf.uni-greifswald.de/augustus/'
 description = "AUGUSTUS is a program that predicts genes in eukaryotic genomic sequences"
 
-toolchain = {'name': 'foss', 'version': '2022b'}
+toolchain = {'name': 'foss', 'version': '2023a'}
 
 github_account = 'Gaius-Augustus'
 source_urls = [GITHUB_SOURCE]
-sources = ['v%(version)s.tar.gz']
-checksums = ['5ed6ce6106303b800c5e91d37a250baff43b20824657b853ae04d11ad8bdd686']
+sources = [{'download_filename': '%s.tar.gz' % local_commit, 'filename': SOURCE_TAR_GZ}]
+checksums = ['f79a2b1b0dc7a773a499b39741810bf0af272b75d668af70004dd417cb161bec']
 
 builddependencies = [
-    ('Python', '3.10.8'),
+    ('Python', '3.11.3'),
 ]
 
 dependencies = [
-    ('zlib', '1.2.12'),
-    ('Boost', '1.81.0'),
+    ('zlib', '1.2.13'),
+    ('Boost', '1.82.0'),
     ('GSL', '2.7'),
-    ('SAMtools', '1.17'),
-    ('HTSlib', '1.17'),  # also provides tabix
-    ('BCFtools', '1.17'),
+    ('SAMtools', '1.18'),
+    ('HTSlib', '1.18'),  # also provides tabix
+    ('BCFtools', '1.18'),
     ('lpsolve', '5.5.2.11'),
-    ('SuiteSparse', '5.13.0', '-METIS-5.1.0'),
+    ('SuiteSparse', '7.1.0'),
     ('BamTools', '2.5.2'),
-    ('SQLite', '3.39.4'),
+    ('SQLite', '3.42.0'),
 ]
 
 skipsteps = ['configure']

@boegel boegel changed the title add missing dependencies for BRAKER v3.0.8 add missing dependencies (TSEBRA, compleasm) + use more recent AUGUSTUS version for BRAKER v3.0.8 Nov 13, 2024
@boegel boegel modified the milestones: release after 4.9.4, release after 5.0.0 Mar 18, 2025
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Apr 8, 2025

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

@boegel: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=21837 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_21837 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 6133

Test results coming soon (I hope)...

Details

- notification for comment with ID 2786111274 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 4 out of 4 (4 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.5, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/d541ac6ba15111a943f681297ad662f3 for a full test report.

@PetrKralCZ
Copy link
Copy Markdown
Collaborator

Add test exception for AUGUSTUS version required by BRAKER
@laraPPr laraPPr marked this pull request as ready for review May 13, 2025 11:06
@boegel
Copy link
Copy Markdown
Member Author

boegel commented May 20, 2025

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

@boegel: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=21837 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_21837 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 6394

Test results coming soon (I hope)...

Details

- notification for comment with ID 2893455821 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 4 out of 4 (4 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.5, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/1b397a762940f30b1a014fdd58d3e4e3 for a full test report.

@laraPPr
Copy link
Copy Markdown
Contributor

laraPPr commented May 23, 2025

Test report by @laraPPr
SUCCESS
Build succeeded for 4 out of 4 (4 easyconfigs in total)
node4002.donphan.os - Linux RHEL 9.4 (Plow), x86_64, Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz (cascadelake), 1 x NVIDIA NVIDIA A2, 570.133.20, Python 3.11.3
See https://gist.github.com/laraPPr/bc5f12e812843819933d7be556bfa2ee for a full test report.

Copy link
Copy Markdown
Contributor

@laraPPr laraPPr left a comment

Choose a reason for hiding this comment

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

lgtm

@laraPPr
Copy link
Copy Markdown
Contributor

laraPPr commented May 23, 2025

Going in, thanks @boegel!

@laraPPr laraPPr merged commit 238d543 into easybuilders:develop May 23, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants