diff --git a/stag/taxonomy.py b/stag/taxonomy.py index 277a807..16a66eb 100644 --- a/stag/taxonomy.py +++ b/stag/taxonomy.py @@ -24,6 +24,8 @@ def load_from_file(self): # vals = line.rstrip().replace("/","-").split("\t") try: gene, lineage = row + # we solve #10 + lineage = lineage.replace("/","-") except: raise ValueError(f"line {line_i} is not properly formatted, expecting gene\tlineage.. :\n{row}") lineage = lineage.split(";")