From b1cfadfaaf31f872f6e45c58e5e7a9d064fdb044 Mon Sep 17 00:00:00 2001 From: Zhou ZJ <43747306+ZhijianZhou01@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:12:30 +0800 Subject: [PATCH] Update wic_engine.py --- virusrecom/wic_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virusrecom/wic_engine.py b/virusrecom/wic_engine.py index d2f09e2..c6eb351 100644 --- a/virusrecom/wic_engine.py +++ b/virusrecom/wic_engine.py @@ -35,7 +35,7 @@ def gap_processing(seq_df,gaps_use): old_site_label = list(seq_df.columns) - seq_pd_clean = seq_df[~seq_df.isin(["-"])].dropna(axis=1) # 去除含有gap的列(位点) + seq_pd_clean = seq_df[~seq_df.isin(["-"])].dropna(axis=1,how='any') # 去除含有gap的列(位点) new_site_label = list(seq_pd_clean.columns)