5c64683f0eb771826fab33cfee0943a76bfd4972,anvio/drivers/sourmash.py,Sourmash,process,#Sourmash#Any#Any#,59

Before Change


                           "-f", scale]
        compute_command.extend(fasta_files)

        print(" ".join([str(x) for x in compute_command]))

        exit_code = utils.run_command(compute_command, self.log_file_path)
        if int(exit_code):

After Change


        // backup the old working directory before changing the directory
        old_wd = os.getcwd()
        os.chdir(input_path)
        if not os.path.exists("output"):
            os.mkdir("output")
        else:
            pass

        self.progress.new("Sourmash")
        self.progress.update("Computing fasta signatures for kmer=%d, scale=%d" % (self.kmer_size, self.scale))

        scale = "--scaled=%i" % self.scale
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: merenlab/anvio
Commit Name: 5c64683f0eb771826fab33cfee0943a76bfd4972
Time: 2019-10-09
Author: kiefl.evan@gmail.com
File Name: anvio/drivers/sourmash.py
Class Name: Sourmash
Method Name: process


Project Name: instacart/lore
Commit Name: 7533d3b3abeaedd42a2ee4869a77e48ba2e2016a
Time: 2018-02-23
Author: montanalow@users.noreply.github.com
File Name: lore/env.py
Class Name:
Method Name: set_python_version


Project Name: erikbern/ann-benchmarks
Commit Name: 4f8c0be0d5bcf6a400a0debe2215ee312dbf3d60
Time: 2018-03-07
Author: alef@itu.dk
File Name: ann_benchmarks/main.py
Class Name:
Method Name: main