Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Could not determine if DFam is installed #26529

Closed
yvanpapa opened this issue Feb 2, 2021 · 6 comments
Closed

ERROR: Could not determine if DFam is installed #26529

yvanpapa opened this issue Feb 2, 2021 · 6 comments

Comments

@yvanpapa
Copy link

yvanpapa commented Feb 2, 2021

Hi @abretaud, @nathanweeks, @johanneskoester, @kastman, @pvanheus, @jerowe, @bgruening and @ArneKr,

When running Maker 2.31.11-0 I get the following error:

Possible precedence issue with control flow operator at /nfs/scratch/papayv/bin/miniconda3/envs/genome_annotation/lib/site_perl/5.26.2/Bio/DB/IndexedBase.pm line 805.
STATUS: Parsing control files...
ERROR: Could not determine if DFam is installed
--> rank=NA, hostname=c03n01

I know this is a very similar issue to this: #16501
I tried to set the RepeatMasker environment variables in my shell script as

export REPEATMASKER_LIB_DIR=/nfs/scratch/papayv/bin/miniconda3/envs/genome_annotation/share/RepeatMasker/Libraries
export REPEATMASKER_MATRICES_DIR=/nfs/scratch/papayv/bin/miniconda3/envs/genome_annotation/share/RepeatMasker/Matrices
mpiexec -n 12 maker -base TARdn_V2P_rnd1 $dir/round1_maker_opts.ctl $dir/maker_bopts.ctl $dir/maker_exe.ctl

but the error is still exactly the same. I even tried to set REPEATMASKER_LIB_DIR to my own custom RepeatMasker library folder (which worked fine with RepeatMasker only), still no luck. Do you please have any insight on that issue?

Many thanks

@nathanweeks
Copy link
Contributor

Hi @yvanpapa , the RepeatMasker 4.1.0 bioconda package removed support for the (bioconda-RepeatMasker-rspecific) REPEATMASKER_LIB_DIR environment variable, as the upstream RepeatMasker added support for an equivalent LIBDIR environment variable. maker 2.31.11-0 now checks for the LIBDIR environment variable as well.

@yvanpapa
Copy link
Author

yvanpapa commented Feb 3, 2021

Thanks for the quick reply, that worked indeed by using export LIBDIR instead!

@druvus druvus closed this as completed May 2, 2021
@gla1997
Copy link

gla1997 commented Jun 3, 2021

Thanks for the quick reply, that worked indeed by using export LIBDIR instead!

HI @yvanpapa ...I'm new to this and could you indicate how you solved the problem?
STATUS: Parsing control files...
ERROR: Could not determine if DFam is installed

@yvanpapa
Copy link
Author

yvanpapa commented Jun 3, 2021

Hi @gla1997,
The following worked for me:
source activate maker [maker=the name of your conda environment with maker]
export LIBDIR=path to your conda environment/miniconda3/envs/genome_annotation/share/RepeatMasker/Libraries
maker -base name opts.ctl exe.ctl etc...

Works for me with the conda package recipe for maker 2.31.11-0.
This also works fine if you specify the path for LIBDIR to a custom repeat library that you set up yourself, e.g. as detailed here "Install RepeatMasker Libraries": http://www.repeatmasker.org/RepeatMasker/

Hope that helps

@gla1997
Copy link

gla1997 commented Jun 4, 2021

Thank you. Now when I run maker it generates this error.
STATUS: Parsing control files ...
STATUS: Processing and indexing input FASTA files ...
mv: target 'genome / dpp_contig.maker.output / mpi_blastdb / dpp_est% 2Efasta.mpi.1.0 /' is not a directory
mv: target 'genome / dpp_contig.maker.output / mpi_blastdb / dpp_est% 2Efasta.mpi.1 /' is not a directory
ERROR: SplitDB not created correctly

at /home/gilmar/anaconda3/envs/Anotaciones/bin/../lib/GI.pm line 1178.
GI :: split_db ("/ home / gilmar / Annotate genome / dpp_est.fasta", "nucleotide", 10, "/ home / gilmar / Annotate genome / dpp_contig.maker.output / mpi_blastdb", "C") called at / home / gilmar / anaconda3 / envs / Annotations / bin / maker line 534
-> rank = NA,
Do you have any idea what it could be?

@zhouyangithub
Copy link

@yvanpapa Thank you! Yesterday I met the same problem, and now it's work. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants