From d878aa616e08640176c06198c3d0ab4e50e55256 Mon Sep 17 00:00:00 2001 From: Georgios Koutsovoulos Date: Mon, 3 Oct 2022 15:12:37 +0200 Subject: [PATCH] update naming --- aux_scripts/calculate_ai.py | 2 +- depot/prepare.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aux_scripts/calculate_ai.py b/aux_scripts/calculate_ai.py index e8384dc..a8ad5e7 100755 --- a/aux_scripts/calculate_ai.py +++ b/aux_scripts/calculate_ai.py @@ -54,7 +54,7 @@ def main(): set_taxid_donor = {} #GK_outg_pct - outout_file.write("query name\tdonor\trecipient\tAI\tHGTindex\tquery hits number\tAHS\toutg_pct\n") + outout_file.write("query name\tdonor\tingroup\tAI\tHGTindex\tquery hits number\tAHS\toutg_pct\n") with open_file(input_file) as fhr_bl: for line in fhr_bl: diff --git a/depot/prepare.py b/depot/prepare.py index dd4a19e..60591d1 100755 --- a/depot/prepare.py +++ b/depot/prepare.py @@ -146,7 +146,7 @@ def main(): # Get index col i_query = row.index('query name') i_donor = row.index('donor') - i_ingroup = row.index('recipient') + i_ingroup = row.index('ingroup') i_ai = row.index('AI') i_hgt = row.index('HGTindex') i_nbhits = row.index('query hits number')