Add a line to phate_annotation.py
Closed this issue · 1 comments
rfcohen commented
I couldn't quite figure out how to do this as a pull request -
I added a clause to suppress a warning when using a custom blast DB.
in phate_annotation.py
pass
elif dbName.lower() == 'refseqprotein':
pass
elif dbName.lower() == 'customprotein':
pass
elif dbName.lower() == 'pvogs': # self.name = hit header, which contains VOGid and NCBIid + function description
# If >1 VOGid, no matter, as it's a single protein sequence, with membership in >1 group.
description = ''
if self.name:
words = self.name.split(' ')
description = words[1:]
VOGlist = description
Thanks again.
carolzhou commented
Thanks, that helps!