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

Empty file on module build #1

Open
mb1069 opened this issue Aug 29, 2018 · 4 comments
Open

Empty file on module build #1

mb1069 opened this issue Aug 29, 2018 · 4 comments

Comments

@mb1069
Copy link

mb1069 commented Aug 29, 2018

Hi,
I'm running into some issues when attempting to build the following modules;
M00009, M00023, M00026, M00087, M00089, M000173, M000308, M000362, M000611 -> M00614, M000616->M000618, M000633.

make kegg_modules/M00611/models.hmm.h3p
mkdir kegg_modules/M00611
cat  > kegg_modules/M00611/models.hmm
rm kegg_modules/M00611/models.hmm.*
rm: cannot remove ‘kegg_modules/M00611/models.hmm.*’: No such file or directory
make: [kegg_modules/M00611/models.hmm.h3p] Error 1 (ignored)
hmmpress kegg_modules/M00611/models.hmm

Error: File format problem in trying to open HMM file kegg_modules/M00611/models.hmm.
File exists, but appears to be empty?

make: *** [kegg_modules/M00611/models.hmm.h3p] Error 1
rm kegg_modules/M00611/models.hmm

I believe this may be due to data being unavailable from the KEGG API, but was wondering if you had a workaround for this?

Kindest,
Miguel Boland

@ctSkennerton
Copy link
Owner

yeah, I use the KEGG API to pull out the KO values for the module, but that module doesn't have any KO associated with it. It looks like M00611 is a "supermodule" that contains other modules (https://www.genome.jp/kegg-bin/show_module?M00611). You can make hmm files for the constituent modules instead.

@mb1069
Copy link
Author

mb1069 commented Aug 30, 2018

Ah fantastic!
Do you know where I could find a list of supermodules?

@ctSkennerton
Copy link
Owner

I'm afraid not. I've never systematically gone through all of the kegg modules - I didn't even realize that KEGG had modules containing other modules until your bug report.

@mb1069
Copy link
Author

mb1069 commented Sep 6, 2018

Hi again,
I've encountered another issue while building some modules; it seems that hmmpress finds colliding keys in the final steps of the process?
The error is :
hmmpress kegg_modules/M00009/models.hmm
Working... SSI index construction failed:
primary keys not unique: 'sdhD,' occurs more than once
make: *** [kegg_modules/M00009/models.hmm.h3p] Error 1

The full log can be found here (big file warning):
https://gist.github.com/mb1069/e768f3e13ade34fd3afeec48127747d7

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