Commit 758e7428 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix out filename

parent 4eb3fc2a
......@@ -683,6 +683,8 @@ class Paf:
if not os.path.isfile(query_fasta):
raise Exception("Query fasta does not exists")
o_fasta = os.path.join(os.path.dirname(query_fasta), "as_reference_" + os.path.basename(query_fasta))
if o_fasta.endswith(".gz"):
o_fasta = o_fasta[:-3]
if not os.path.exists(o_fasta):
uncompressed = False
if query_fasta.endswith(".gz"):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment