Closed LucileSol closed 2 years ago
This sounds like the same error with Augustus on Rackham:
Error: Cannot write to Augustus directory, please make sure you have write permissions to <directory>
then you need to create a local copy of the config directory from the augustus
module with 'source $AUGUSTUS_CONFIG_COPY'. See 'module help augustus/3.4.0'
The help says:
If you see this error:
Error: Cannot write to Augustus directory, please make sure you have write permissions to <directory>
then you likely need to create a local copy of the config directory from
the augustus module. With this augustus module loaded, you can do this with:
source $AUGUSTUS_CONFIG_COPY
This will create a directory named augustus_config/ in the current directory
and the AUGUSTUS_CONFIG_PATH environment variable will be updated to reflect
this new location. If you continue to see the error from BUSCO, the script
was not run correctly. This local directory will contain additional training
sets created by BUSCO during its run.
If you already have your own directory for augustus config files, then you may
wish to adjust AUGUSTUS_CONFIG_PATH to name this directory.
Does that make any sense?
Nah, the problem here is this bit:
Command error:
.command.sh: line 2: AUGUSTUS_CONFIG_PATH: unbound variable
AUGUSTUS_CONFIG_PATH
is undefined and the bash script uses set -u
. It needs to be provided with a default value.
I need to check which case's it's set again and which cases it isn't.
I wanted to update the busco version for 5.2.2 in AnnotationPreprocessing.nf, I tried with conda it worked
I tried with singularity doing : nextflow run -c params_v5_2_2singularity.config -profile nbis,singularity ~/git/NBIS/pipelines-nextflow/AnnotationPreprocessing/AnnotationPreprocessing.nf
and it says :
I guess it does not find the path of augustus inside the singularity container