Skip to content

Commit

Permalink
Update phylophlan_assign_sgbs.py to fix prefiltering_pasting verbose …
Browse files Browse the repository at this point in the history
…problem
  • Loading branch information
abmiguez authored Feb 28, 2024
1 parent 929d9cc commit a435161
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phylophlan/phylophlan_assign_sgbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,9 @@ def prefiltering_pasting(output_prefix, input_extension, chocophlan_list, databa
inpf = output_prefix + "_prefiltering/{}_genomes_inputs_list.txt"

for i in os.listdir(os.path.join(output_prefix + "_prefiltering/pref_dbs")):
if verbose:
t0 = time.time()
info('Pasting inputs\n')
table = pd.read_csv(os.path.join(output_prefix + "_prefiltering/pref_dbs"+'/'+i), sep='\t',names=['sgb','mag','dist','pvalue','hits'])
mags_full = list(table['mag'].unique())

Expand Down

0 comments on commit a435161

Please sign in to comment.