Closed jasminelmah closed 4 years ago
How did you install? That would suggest that the python
version that is in your $PATH is not the same as what is running funannotate
, ie funannotate
python package is not installed properly.
Thanks for the reply!
I used conda:
conda create -c conda-forge -c bioconda -n funannotate funannotate
I'll check the python version in $PATH.
Python 2.7.15 is in the funannotate bin of my conda environment and is activated when I use python interactively in the funannotate environment. In interactive, it uses biopython just fine and loads the funannotate library with no error. The job, however, still fails at the same line in augustus_parallel.py.
Strange.... even stranger is that the parent script calls that exact same library..... Can you call the script directly from that environment, ie /gpfs/ysm/project/dunn/jlm329/conda_envs/funannotate/lib/python2.7/site-packages/funannotate/aux_scripts/augustus_parallel.py -h
. I'm not sure what is going on unfortunately. I don't see how that script could be not working? The other thing to try would be to make sure its executable I guess, look at the ownership like:
ls -l /gpfs/ysm/project/dunn/jlm329/conda_envs/funannotate/lib/python2.7/site-packages/funannotate/aux_scripts/
I can directly call augustus_parallel.py -h
from my funannotate environment. ls -l
also shows that it is executable.
It looks like two other people have run into this problem with augustus_parallel.py
in issue 405.
The predict
run worked! What seems to have happened is that I may have submitted the script from a messy environment. I started a new ssh session, loaded only miniconda and not the funannotate environment and submitted the job.
if you are running on a slurm envirnoment you may want to use #!/usr/bin/bash -l
to ensure a clean load of modules each time.
I was getting this same error running from a conda environment on a computing cluster with slurm. I was loading python again in my script (module load python), which was not needed (and detrimental) since the correct python was already installed in the conda environment. A rookie mistake; hopefully this comment will help others avoid it.
Hi Jon, I've run into some troubles with
funannotate predict
. Thanks for any help!Are you using the latest release? v.1.7.4
Describe the bug funannotate predict
fails at
augustus_parallel.py`.What command did you issue?
Logfiles
OS/Install Information