add patch to call SPAdes correctly
Sascha Steinbiss
3 years ago
6 | 6 |
[ Sascha Steinbiss ]
|
7 | 7 |
* Add patch to fix test failures.
|
8 | 8 |
Closes: #963332
|
|
9 |
* Add patch to call SPAdes correctly.
|
9 | 10 |
|
10 | 11 |
-- Sascha Steinbiss <satta@debian.org> Tue, 30 Jun 2020 12:32:39 +0200
|
11 | 12 |
|
|
0 |
Description: run Debian SPAdes wrapper
|
|
1 |
Debian's /usr/bin/spades.py is not a Python script, but a wrapper
|
|
2 |
around a common executable only provided for compatibility reasons.
|
|
3 |
Ariba is trying to execute it explicitly as a Python script.
|
|
4 |
This patch just calls the executable without forcing it through the
|
|
5 |
Python interpreter.
|
|
6 |
Author: Sascha Steinbiss <satta@debian.org>
|
|
7 |
Last-Update: 2020-06-30
|
|
8 |
--- a/ariba/assembly.py
|
|
9 |
+++ b/ariba/assembly.py
|
|
10 |
@@ -140,7 +140,7 @@
|
|
11 |
spades_out_seq_base = "contigs.fasta"
|
|
12 |
else:
|
|
13 |
raise ValueError("Unknown spades_mode value: {}".format(self.spades_mode))
|
|
14 |
- asm_cmd = ['python3', spades_exe, "-t", str(self.threads), "--pe1-1", self.reads1, "--pe1-2", self.reads2, "-o", self.assembler_dir] + \
|
|
15 |
+ asm_cmd = [spades_exe, "-t", str(self.threads), "--pe1-1", self.reads1, "--pe1-2", self.reads2, "-o", self.assembler_dir] + \
|
|
16 |
spades_options
|
|
17 |
asm_ok,err = common.syscall(asm_cmd, verbose=True, verbose_filehandle=self.log_fh, shell=False, allow_fail=True)
|
|
18 |
if not asm_ok:
|
2 | 2 |
add-testdata.patch
|
3 | 3 |
disable-tests-with-internet-access.patch
|
4 | 4 |
support-pymummer-0.11.patch
|
|
5 |
run-debian-spades-wrapper.patch
|