Codebase list ariba / b5606c2
add patch to call SPAdes correctly Sascha Steinbiss 3 years ago
3 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
66 [ Sascha Steinbiss ]
77 * Add patch to fix test failures.
88 Closes: #963332
9 * Add patch to call SPAdes correctly.
910
1011 -- Sascha Steinbiss <satta@debian.org> Tue, 30 Jun 2020 12:32:39 +0200
1112
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:
22 add-testdata.patch
33 disable-tests-with-internet-access.patch
44 support-pymummer-0.11.patch
5 run-debian-spades-wrapper.patch