Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
758e7428
Commit
758e7428
authored
Feb 06, 2018
by
Floreal Cabanettes
Browse files
Fix out filename
parent
4eb3fc2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/lib/paf.py
View file @
758e7428
...
...
@@ -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"
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment