Commit bc35ef17 authored by Geoffrey Yu's avatar Geoffrey Yu
Browse files

fixed the confilcts in reading alignment files

parent 43bab151
......@@ -831,9 +831,8 @@ class DataPipeline:
with open(path, "r") as fp:
hits = parsers.parse_hhr(fp.read())
all_hits[f] = hits
fp.close()
elif (ext =='.sto') and (f.startswith("pdb")):
elif (ext =='.sto') and (f.startswith("hmm")):
with open(path,"r") as fp:
hits = parsers.parse_hmmsearch_sto(fp.read(),input_sequence)
all_hits[f] = hits
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment