Skip to content
Snippets Groups Projects
Commit 72aaff37 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

Change calculation of order of strains

parent 6ff5192c
No related branches found
No related tags found
No related merge requests found
......@@ -350,7 +350,7 @@ def sort_proteins(x):
- in each species, strain number
- in each species and strain number, by protein number
"""
return (x.split(".")[0], int(x.split(".")[2]), int(x.split("_")[-1]))
return (x.split(".")[0], int(x.split(".")[2].split("_")[0]), int(x.split("_")[-1]))
def read_genomes(list_file, name, date, dbpath, tmp_path):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment