Skip to content

Commit

Permalink
b1351 patch for slineages
Browse files Browse the repository at this point in the history
  • Loading branch information
aineniamh committed Mar 23, 2021
1 parent f814f4b commit c55e988
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pangolin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
_program = "pangolin"
__version__ = "2.3.4"
__version__ = "2.3.5"
4 changes: 2 additions & 2 deletions pangolin/scripts/pangolearn.smk
Original file line number Diff line number Diff line change
Expand Up @@ -295,15 +295,15 @@ rule overwrite:
new_row["lineage"] = "B.1.1.7"

writer.writerow(new_row)
elif row["lineage"] =="B.1.351" and row["taxon"] not in b1351:
elif row["lineage"].startswith("B.1.351") and row["taxon"] not in b1351:
new_row = row

new_row["probability"] = "1.0"
new_row["lineage"] = "B.1"

writer.writerow(new_row)

elif row["taxon"] in b1351 and not row["lineage"].startswith("B.1.351."):
elif row["taxon"] in b1351:
new_row = row

snps = b1351[row["taxon"]]
Expand Down

0 comments on commit c55e988

Please sign in to comment.