-
Notifications
You must be signed in to change notification settings - Fork 49
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
VOGDB issue--extra enclosing folder #340
Comments
thanks @schmigle |
Could you show me the path to this file? I installed DRAM throught conda. |
your path should be like this : then you can use text editor like nano or gedit to edit the line number 376 |
worked perfectly for me ! |
After repeatedly running into the following error when trying to extract the VOG databases:
I finally tracked it down to the concatenation function at line 377 in the
process_vogdb
function indatabase_processing.py
:merge_files(glob(path.join(hmm_dir, 'VOG*.hmm')), vog_hmms)
Since decompressing the tarball
vog.hmm.tar.gz
produces a folderhmm
inside whatever folder it gets assigned to, there's nothing to merge, and hmmpress comes up empty. To work properly, I slightly rewrote this function to add in the extra folder:merge_files(glob(path.join(hmm_dir, 'hmm/VOG*.hmm')), vog_hmms)
I don't know what's causing this discrepancy, but I hope this problem and solution are helpful if anyone runs into a similar problem.
The text was updated successfully, but these errors were encountered: