Hi there,
I want to use SearchIO in Biopython to parse hmmer results. I have seen perl scripts, but I am not familiar with perl to understand how SearchIO works. Right now, what I am doing is a sorta hacky way, but running the hmmersearch and then outputing the results in a temp file to then parse the results. If anyone can explain how searchIO works in python and possible show some code that would be much appreciated.
Thanks!
For more attributes of HMMER object to parse look at post: Biopython SearchIO HMMer 3 parsing, HMM model length?
Hi, I am trying to using this script to parse hmmer results, but every time, I run it, it show for "hits=record.hits": AttributeError: 'Hit' object has no attribute 'hits' could you help me?
Hi, this script works with hmmer3-text format (https://lifebit.gitbook.io/cloudos/pipelines-documentations-and-examples-1/docker-pipelines-and-tools/hmmer) Is this the format you are trying to parse? If not, SearchIO has the following options, you can change the code to other forms
Thank you for answering my questions