本文整理匯總了Python中process.sequence.AlignmentList.taxa_distribution方法的典型用法代碼示例。如果您正苦於以下問題:Python AlignmentList.taxa_distribution方法的具體用法?Python AlignmentList.taxa_distribution怎麽用?Python AlignmentList.taxa_distribution使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類process.sequence.AlignmentList
的用法示例。
在下文中一共展示了AlignmentList.taxa_distribution方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: SeconaryOpsTest
# 需要導入模塊: from process.sequence import AlignmentList [as 別名]
# 或者: from process.sequence.AlignmentList import taxa_distribution [as 別名]
#.........這裏部分代碼省略.........
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.average_seqsize_per_species(),
{"exception": "single_alignment"})
def test_single_aln_average_seqsize(self):
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.average_seqsize(),
{"exception": "single_alignment"})
def test_single_aln_sequence_similarity(self):
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.sequence_similarity(),
{"exception": "single_alignment"})
def test_single_aln_sequence_segregation(self):
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.sequence_segregation(),
{"exception": "single_alignment"})
def test_single_aln_length_polymorphism_correlation(self):
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.length_polymorphism_correlation(),
{"exception": "single_alignment"})
def test_single_aln_taxa_distribution(self):
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.taxa_distribution(),
{"exception": "single_alignment"})
def test_single_aln_cumulative_missing_genes(self):
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.cumulative_missing_genes(),
{"exception": "single_alignment"})
def test_single_aln_gene_occupancy(self):
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.gene_occupancy(),
{"exception": "single_alignment"})
def test_single_aln_missing_data_distribution(self):
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.missing_data_distribution(),
{"exception": "single_alignment"})
def test_single_aln_missing_genes_average(self):
self.aln_obj.update_active_alignments([dna_data_fas[0]])
self.assertEqual(self.aln_obj.missing_genes_average(),