Skip to content

Commit

Permalink
DEV: Fix SMG lines scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Vini2 committed May 8, 2023
1 parent 18e604e commit 0b2888d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phables/workflow/scripts/phables_utils/gene_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_smg_unitigs(hmmout, mg_frac):

with open(hmmout, "r") as myfile:
for line in myfile.readlines():
if not line.startswith("#") and line.startswith("edge_"):
if not line.startswith("#"):
strings = line.strip().split()

unitig = strings[0]
Expand Down

0 comments on commit 0b2888d

Please sign in to comment.