Skip to content

Commit

Permalink
Fixing liting
Browse files Browse the repository at this point in the history
  • Loading branch information
luissian authored and saramonzon committed Jan 30, 2024
1 parent d2b4c2a commit 6a8a78a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions taranis/reference_alleles.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
import numpy as np
# import numpy as np
import os
import re
import rich.console
Expand All @@ -10,7 +10,7 @@
# from Bio import SeqIO
from Bio.Seq import Seq
from Bio import SeqIO
from Bio.Blast.Applications import NcbiblastnCommandline
# from Bio.Blast.Applications import NcbiblastnCommandline
from collections import OrderedDict
from pathlib import Path
import taranis.utils
Expand Down Expand Up @@ -172,7 +172,7 @@ def create_matrix_distance(self):
locus_num = len(self.selected_locus)
# pdb.set_trace()
matrix_df = pd.read_csv("matrix_distance.tsv", sep="\t").fillna(value=0)
# remove the first line of the matrix that contain only the number of alleles
matrix_df = matrix_df.drop(0)
locus_list = matrix_df.iloc[0:locus_num, 0]
Expand Down

0 comments on commit 6a8a78a

Please sign in to comment.