Skip to content

Commit

Permalink
Update color_orderings for YFV [#2]
Browse files Browse the repository at this point in the history
Also small script tweak
  • Loading branch information
genehack committed Nov 26, 2024
1 parent 84fea9b commit a1ec892
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 36 deletions.
43 changes: 8 additions & 35 deletions phylogenetic/defaults/color_orderings.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -225,38 +225,11 @@ region North America

################


recency Older
recency One month ago
recency One week ago
recency 3-7 days ago
recency 1-2 days ago
recency New

################

serotype_genbank denv1
serotype_genbank denv2
serotype_genbank denv3
serotype_genbank denv4

genotype_nextclade DENV1/I
genotype_nextclade DENV1/II
genotype_nextclade DENV1/III
genotype_nextclade DENV1/IV
genotype_nextclade DENV1/V
genotype_nextclade DENV2/AA
genotype_nextclade DENV2/AI
genotype_nextclade DENV2/AII
genotype_nextclade DENV2/AM
genotype_nextclade DENV2/C
genotype_nextclade DENV2/S
genotype_nextclade DENV3/I
genotype_nextclade DENV3/II
genotype_nextclade DENV3/III
genotype_nextclade DENV3/IV
genotype_nextclade DENV4/I
genotype_nextclade DENV4/II
genotype_nextclade DENV4/S

################
# genotype assigned by Nextclade
clade Clade I
clade Clade II
clade Clade III
clade Clade IV
clade Clade V
clade Clade VI
clade Clade VII
2 changes: 1 addition & 1 deletion phylogenetic/scripts/assign-colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
assignment = {}
with open(args.ordering) as f:
for line in f.readlines():
array = line.lstrip().rstrip().split("\t")
array = line.strip().split("\t")
if len(array) == 2:
name = array[0]
trait = array[1]
Expand Down

0 comments on commit a1ec892

Please sign in to comment.