# HG changeset patch # User genouest # Date 1751378474 0 # Node ID bec8f57c9d8e9b42368ea0a3a27d112021b7cc2a # Parent a9b0b926e1338993cbb22817f92bd52ab0bc2a72 planemo upload for repository https://github.com/genouest/galaxy-tools/tree/master/tools/braker commit 1df3cddb1fd83dc0059b5a9cd57dafa9ae4b4f24 diff -r a9b0b926e133 -r bec8f57c9d8e README.rst --- a/README.rst Thu Jan 16 10:40:43 2025 +0000 +++ b/README.rst Tue Jul 01 14:01:14 2025 +0000 @@ -1,41 +1,40 @@ Braker3 ======= -This tool is not in IUC because of the license issues with GeneMark and -ProtHint that makes it impossible to test it using CI. +This wrapper runs BRAKER3 using the official Docker image: ``teambraker/braker3``. -GeneMark and ProtHint ---------------------- +It does not require any longer a custom installation of GeneMark on the host system, as these are bundled inside the container. + +Docker container +---------------- -Braker requires GeneMark to predict gene, but due to licensing issues, we -are not allowed to distribute GeneMark automatically. +BRAKER3 depends on GeneMark for gene prediction from RNA-Seq and protein evidence. +Due to licensing issues, these tools could not be redistributed directly, but the official BRAKER3 Docker image includes the required versions. + +The wrapper uses this image via the Galaxy `` mechanism: -Braker also requires ProtHint to use protein sequences as hints to predict -genes, but, again, due to licensing issues, we are not allowed to distribute -ProtHint automatically. +.. code-block:: xml -To use Braker3, the Galaxy administrator needs to install -GeneMark, and set the ``GENEMARK_PATH`` variable on the job destination. + teambraker/braker3:v3.0.7.6 + +2025.07.01: The licensing issue seems to be gone (https://github.com/Gaius-Augustus/BRAKER/issues/629), but using Conda packages is broken at the moment, +and not supported by the authors of Braker (https://github.com/Gaius-Augustus/BRAKER/commit/ece9e0f28ea2634b5abbfd0b7cf0a6be5f1bf8db). -The only working version of GeneMark to install needs to be downloaded from -http://topaz.gatech.edu/GeneMark/etp.for_braker.tar.gz -This archive also contains ProtHint and various other tools in specific versions needed by Braker3. +Running +------- -Unzip it, and set the ``GENEMARK_PATH`` variable to point to the extracted ``bin`` -directory. +To run this tool during development, use Planemo with Docker support enabled: -Also set the ``PROTHINT_PATH`` variable on the job destination, pointing to the extracted -``bin/gmes/ProtHint/bin/`` directory +.. code-block:: bash -Running tests -------------- + planemo serve --docker + planemo test --docker -Tests require working GeneMark and ProtHint installations, which means -both GENEMARK_PATH and PROTHINT_PATH are set in job_conf_braker3.xml. +There is no longer any need to manually set ``GENEMARK_PATH`` or ``PROTHINT_PATH`` via the job configuration. -You should then use the ``--job_config_file job_conf_braker3.xml`` -option for planemo commands. +Testing +------- -You should also copy a valid GeneMark license (from -http://topaz.gatech.edu/GeneMark/license_download.cgi) in -test-data/gm_key_64. \ No newline at end of file +Tests no longer rely on custom environment variables. Docker ensures a reproducible and portable environment for development and execution. + +``job_conf_braker3.xml`` is now obsolete for this wrapper version. diff -r a9b0b926e133 -r bec8f57c9d8e braker3.xml --- a/braker3.xml Thu Jan 16 10:40:43 2025 +0000 +++ b/braker3.xml Tue Jul 01 14:01:14 2025 +0000 @@ -7,22 +7,9 @@ braker3 - + - - &2 ; exit 1 ; fi && -if [ ! -f "\$GENEMARK_PATH/gmes/gmes_petap.pl" ] ; then echo "GeneMark is not installed properly on this Galaxy server." >&2 ; exit 1 ; fi && - -## This specific GeneMark version has some tools bundled with it, forced to use it. -## I feel dirty. Pardon me. - -export PATH="\$GENEMARK_PATH/../tools/:\$PATH" && - -## Copy Augustus config dir to work dir, to make sure it's writable when running with containers -cp -r "\$AUGUSTUS_CONFIG_PATH/" augustus_dir/ && -export AUGUSTUS_CONFIG_PATH=`pwd`/augustus_dir/ && - + + @@ -200,4 +188,4 @@ .. _Braker3: https://github.com/Gaius-Augustus/BRAKER ]]> - + \ No newline at end of file diff -r a9b0b926e133 -r bec8f57c9d8e job_conf_braker3.xml --- a/job_conf_braker3.xml Thu Jan 16 10:40:43 2025 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ - - - - - - - - - - /home/abretaud/softs/etp.for_braker/bin/ - /home/abretaud/softs/etp.for_braker/bin/gmes/ProtHint/bin/ - - - false - - - - - - diff -r a9b0b926e133 -r bec8f57c9d8e macros.xml --- a/macros.xml Thu Jan 16 10:40:43 2025 +0000 +++ b/macros.xml Tue Jul 01 14:01:14 2025 +0000 @@ -1,10 +1,10 @@ 3.0.8 - 0 + 1 - braker3 + teambraker/braker3:v3.0.7.6