b3187df675a6e5f590376292aff521e562a942c0,anvio/drivers/sourmash.py,Sourmash,process,#Sourmash#Any#Any#,56

Before Change


        self.progress.new("Sourmash")
        self.progress.update("Computing fasta signatures...")

        kmers = list(range(5,25,5))
        kmers_str = ",".join([str(kmer) for kmer in kmers])

        scale = "--scaled=%i" % self.scale
        compute_command = [self.program_name, "compute",
                           "-k", kmers_str,

After Change




    def process(self, input_path, fasta_files):
        self.run.info("[sourmash] Kmer size", self.kmer_size, nl_before=1)
        self.run.info("[sourmash] Compression ratio", self.scale)

        report_name = "kmer_%d_mash_similarity" % self.kmer_size
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


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


Project Name: tensorflow/datasets
Commit Name: c4f3799d5713d467ca577a6d0593f242076c9540
Time: 2018-11-14
Author: epot@google.com
File Name: tensorflow_datasets/core/test_utils.py
Class Name: FeatureExpectationsTestCase
Method Name: test_encode_decode


Project Name: dmlc/gluon-nlp
Commit Name: 698c10beffafa519dd5dbb7d579919c5df8f30be
Time: 2019-04-22
Author: tao.a.lv@intel.com
File Name: scripts/bert/finetune_classifier.py
Class Name:
Method Name: train