Skip to content
Snippets Groups Projects
Commit 082ea9a6 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

change str format

parent 7e6447e8
No related branches found
No related tags found
No related merge requests found
...@@ -90,7 +90,7 @@ def get_all_seqs(all_genomes, dname, dbpath, listdir, aldir, all_fams, quiet): ...@@ -90,7 +90,7 @@ def get_all_seqs(all_genomes, dname, dbpath, listdir, aldir, all_fams, quiet):
for genome in all_genomes: for genome in all_genomes:
ge_gen = os.path.join(listdir, dname + "-getEntry_gen_" + genome + ".txt") ge_gen = os.path.join(listdir, dname + "-getEntry_gen_" + genome + ".txt")
ge_prt = os.path.join(listdir, dname + "-getEntry_prt_" + genome + ".txt") ge_prt = os.path.join(listdir, dname + "-getEntry_prt_" + genome + ".txt")
logger.details("Extracting proteins and genes from {}".format(genome)) logger.details(f"Extracting proteins and genes from {genome}")
prtdb = os.path.join(dbpath, "Proteins", genome + ".prt") prtdb = os.path.join(dbpath, "Proteins", genome + ".prt")
gendb = os.path.join(dbpath, "Genes", genome + ".gen") gendb = os.path.join(dbpath, "Genes", genome + ".gen")
get_genome_seqs(prtdb, ge_prt, files_todo) get_genome_seqs(prtdb, ge_prt, files_todo)
...@@ -254,7 +254,6 @@ def extract_sequences(to_extract, fasf, files_todo=None, outf=None): ...@@ -254,7 +254,6 @@ def extract_sequences(to_extract, fasf, files_todo=None, outf=None):
files_todo = frozenset(files_todo) files_todo = frozenset(files_todo)
if type(to_extract) == list: if type(to_extract) == list:
to_extract = frozenset(to_extract) to_extract = frozenset(to_extract)
# State machine variables # State machine variables
previous_fp = None previous_fp = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment