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

HMM db incorrect location #72

Open
Middle-Author-Bioinformatics opened this issue Feb 14, 2025 · 1 comment
Open

HMM db incorrect location #72

Middle-Author-Bioinformatics opened this issue Feb 14, 2025 · 1 comment

Comments

@Middle-Author-Bioinformatics
Copy link

Middle-Author-Bioinformatics commented Feb 14, 2025

Just installed via conda and getting this error, which was solved by moving the HMM db files around:

barrnap --kingdom euk --threads 24 --outseq PCIT.rrna.fa PCIT.fna

[barrnap] This is barrnap 0.9
[barrnap] Written by Torsten Seemann
[barrnap] Obtained from https://github.com/tseemann/barrnap
[barrnap] Detected operating system: linux
[barrnap] Adding /home/ark/miniconda3/envs/barrnap_env/lib/barrnap/bin/../binaries/linux to end of PATH
[barrnap] Checking for dependencies:
[barrnap] Found nhmmer - /home/ark/miniconda3/envs/barrnap_env/bin/nhmmer
[barrnap] Found bedtools - /home/ark/miniconda3/envs/barrnap_env/bin/bedtools
[barrnap] Will use 24 threads
[barrnap] Setting evalue cutoff to 1e-06
[barrnap] Will tag genes < 0.8 of expected length.
[barrnap] Will reject genes < 0.25 of expected length.
[barrnap] Using database: /home/ark/miniconda3/envs/barrnap_env/lib/barrnap/bin/../db/euk.hmm
[barrnap] Scanning PCIT.fna for euk rRNA genes... please wait
[barrnap] Command: nhmmer --dna --cpu 24 -E 1e-06 --w_length 3878 -o /dev/null --tblout /dev/stdout '/home/ark/miniconda3/envs/barrnap_env/lib/barrnap/bin/../db/euk.hmm' 'PCIT.fna'
[barrnap] ERROR: nhmmer failed to run - Error: Error reading hmm from file /home/ark/miniconda3/envs/barrnap_env/lib/barrnap/bin/../db/euk.hmm (10)

This was solved by mv ~/miniconda3/envs/barrnap_env/lib/barrnap/db/*hmm ~/miniconda3/envs/barrnap_env/lib/barrnap/bin/../db/

Thanks,
Arkadiy

@Middle-Author-Bioinformatics
Copy link
Author

Never mind, that didn't fix it. Not sure what is causing the issue.

Thanks,
Arkadiy

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

1 participant