def test_sumaclust_denovo_cluster(self):
        """ Test de novo clustering with SumaClust """

        result_path = join(self.output_dir, "sumaclust_otus.txt")

        clusters = sumaclust_denovo_cluster(seq_path=self.file_read_seqs,
                                            result_path=result_path)

        self.files_to_remove.append(result_path)

        self.check_clusters(clusters, result_path)
    def test_exact_clustering(self):
        """ SumaClust's actual clusters should match
            the exact clusters when using the exact option
        """
        result_path = join(self.output_dir, "sumaclust_otus_exact.txt")
        clusters = sumaclust_denovo_cluster(seq_path=self.file_read_seqs,
                                            result_path=result_path,
                                            shortest_len=True,
                                            similarity=0.97,
                                            threads=1,
                                            exact=True)

        self.files_to_remove.append(result_path)

        self.check_clusters(clusters, result_path)