code: def run_canu(self):
          '''Runs canu instead of spades'''
          cmd = self._make_canu_command(self.outdir,'canu')
          ok, errs = common.syscall(cmd, verbose=self.verbose, allow_fail=False)
          if not ok:
              raise Error('Error running Canu.')
  
          original_contigs = os.path.join(self.outdir, 'canu.contigs.fasta')
          renamed_contigs = os.path.join(self.outdir, 'contigs.fasta')
          Assembler._rename_canu_contigs(original_contigs, renamed_contigs)
          original_gfa = os.path.join(self.outdir, 'canu.contigs.gfa')
          renamed_gfa = os.path.join(self.outdir, 'contigs.gfa')
          os.rename(original_gfa, renamed_gfaf run_canu(self):
          '''Runs canu instead of spades'''
          cmd = self._make_canu_command(self.outdir,'canu')
          ok, errs = common.syscall(cmd, verbose=self.verbose, allow_fail=False)
          if not ok:
              raise Error('Error running Canu.')
  
          original_contigs = os.path.join(self.outdir, 'canu.contigs.fasta')
          renamed_contigs = os.path.join(self.outdir, 'contigs.fasta')
          Assembler._rename_canu_contigs(original_contigs, renamed_contigs)
          original_gfa = os.path.join(self.outdir, 'canu.contigs.gfa')
          renamed_gfa = os.path.join(self.outdir, 'contigs.gfa')
          os.rename(original_gfa, renamed_gfa)
docs: Runs canu instead of spades