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

Issue when I run the analysis #34

Open
queirozhanna opened this issue Nov 9, 2023 · 2 comments
Open

Issue when I run the analysis #34

queirozhanna opened this issue Nov 9, 2023 · 2 comments

Comments

@queirozhanna
Copy link

Hello,

I've tried the command the tutorial suggests
$ ./exec_annotation -o output.tsv input.fasta but I when I run it on my terminal, I get the message "Error: KO list not given"

I've also tried this command:

$ ./exec_annotation -p /path/to/profiles/directory -k /path/to/ko_list/directory -o output.tsv input.fasta --cpu=8

but I get this message

/home/hanna/kofamscan/bin/kofam_scan-1.3.0/lib/kofam_scan/ko.rb:11:in gets': Is a directory @ io_fillbuf - fd:5 /home/hanna/kofamscan/db/ (Errno::EISDIR)
from /home/hanna/kofamscan/bin/kofam_scan-1.3.0/lib/kofam_scan/ko.rb:11:in parse' from /home/hanna/kofamscan/bin/kofam_scan-1.3.0/lib/kofam_scan/executor.rb:80:in block in parse_ko'
from /home/hanna/kofamscan/bin/kofam_scan-1.3.0/lib/kofam_scan/executor.rb:80:in open' from /home/hanna/kofamscan/bin/kofam_scan-1.3.0/lib/kofam_scan/executor.rb:80:in parse_ko'
from /home/hanna/kofamscan/bin/kofam_scan-1.3.0/lib/kofam_scan/executor.rb:22:in execute' from /home/hanna/kofamscan/bin/kofam_scan-1.3.0/lib/kofam_scan/executor.rb:8:in execute'
from /home/hanna/kofamscan/bin/kofam_scan-1.3.0/lib/kofam_scan/cli.rb:21:in run' from ./exec_annotation:7:in

'`

I've searched for a way to solve this issue but none of the solutions worked. 😣

@bheimbu
Copy link

bheimbu commented Dec 15, 2023

Hi @queirozhanna,

did you

Download KOfam database from ftp://ftp.genome.jp/pub/db/kofam/ and decompress it. You will get profile HMMs in profiles/ directory and ko_list.

If so specify the path with

exec_annotation -o output.tsv input.fasta -p /path/to/your/profiles/directory/ -k /path/to/your/ko_list

Cheers Bastian

@queirozhanna
Copy link
Author

thank you a lot! @bheimbu

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

2 participants