diff --git a/centroid.py b/centroid.py index a14e771..db10d62 100644 --- a/centroid.py +++ b/centroid.py @@ -75,4 +75,5 @@ def Mash_Centroid(input_assembly_list): Assembly_List = glob.glob(Folder + '/*.fasta') Centroid = Mash_Centroid(Assembly_List) print(Centroid) -print(Centroid, file=open("centroid_out.txt", "w")) +ref_genome = Centroid.decode().rsplit('/',1)[1] +print(ref_genome, file=open("centroid_out.txt", "w"))