Closed micronuria closed 2 years ago
Ok, so it might be related with my TRAITS installation. I have tried in a different machine and it seems to work. I will update the issue or close it when I am done with the tests....
So the problem is that when you change the output of HMMER3 from --tblout
to --domtblout
, you have to change the Biopython module that parses them as well. So, I can change the option in the call to HMMER in the fuction runHMMsearch
in the module wrappers.py
; but then I have to change the line 62 of the module database.manipulation.py
that correspond to parseHMMsearchOutput fucntion
from this:
for queryresult in SearchIO.parse(handle, 'hmmer3-tab'):
to this:
for queryresult in SearchIO.parse(handle, 'hmmsearch3-domtab'):
and it works...
I am trying to make a database with a mix of hmms, one pfam, that does not require additional arguments, and two KOfams that require them. This is part of a test I am doing for something else, so I have changed the hmmersearch call in wrappers.py, but I have only changed the type of output file, from tblout to domtblout. I do not think this is causing the error.
Because, I got a ValueError; at some point the pipeline tries to convert the Pfam name to float. Probably, I am making a mistake in the module call..... This is the call and the error (forget about the last \ in the call):