当前位置: 首页>>代码示例>>Python>>正文


Python AlignmentList.sequence_conservation_gnp方法代码示例

本文整理汇总了Python中process.sequence.AlignmentList.sequence_conservation_gnp方法的典型用法代码示例。如果您正苦于以下问题:Python AlignmentList.sequence_conservation_gnp方法的具体用法?Python AlignmentList.sequence_conservation_gnp怎么用?Python AlignmentList.sequence_conservation_gnp使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在process.sequence.AlignmentList的用法示例。


在下文中一共展示了AlignmentList.sequence_conservation_gnp方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: SeconaryOpsTest

# 需要导入模块: from process.sequence import AlignmentList [as 别名]
# 或者: from process.sequence.AlignmentList import sequence_conservation_gnp [as 别名]

#.........这里部分代码省略.........
        self.assertTrue(self.aln_obj.missing_genes_average())

    def test_average_seqsize_per_species(self):

        self.assertTrue(self.aln_obj.average_seqsize_per_species())

    def test_average_seqsize(self):

        self.assertTrue(self.aln_obj.average_seqsize())

    def test_characters_proportion(self):

        self.assertTrue(self.aln_obj.characters_proportion())

    def test_characters_proportion_per_species(self):

        self.assertTrue(self.aln_obj.characters_proportion_per_species())

    def test_characters_proportion_gene(self):

        self.assertTrue(self.aln_obj.characters_proportion_gene(
            join(data_path, "BaseConc1.fas"), 10
        ))

    def test_sequence_similarity(self):

        self.assertTrue(self.aln_obj.sequence_similarity())

    def test_sequence_similarity_per_species(self):

        self.assertTrue(self.aln_obj.sequence_similarity_per_species())

    def test_sequence_similarity_gene(self):

        self.assertTrue(self.aln_obj.sequence_similarity_gene(
            join(data_path, "BaseConc1.fas"), 10))

    def test_sequence_conservation(self):

        self.assertTrue(self.aln_obj.sequence_conservation_gnp(
            join(data_path, "BaseConc1.fas"), 10
        ))

    def test_sequence_segregation(self):

        self.assertTrue(self.aln_obj.sequence_segregation())

    def test_sequence_segregation_per_species(self):

        self.assertTrue(self.aln_obj.sequence_segregation_per_species())

    def test_sequence_segregation_gene(self):

        self.assertTrue(self.aln_obj.sequence_segregation_gene(
            join(data_path, "BaseConc1.fas"), 10))

    def test_length_polymorphism_correlation(self):

        self.assertTrue(self.aln_obj.length_polymorphism_correlation())

    def test_allele_frequency_spectrum(self):

        self.assertTrue(self.aln_obj.allele_frequency_spectrum())

    def test_allele_frequency_spectrum_gene(self):

        self.assertTrue(self.aln_obj.allele_frequency_spectrum_gene(
            join(data_path, "BaseConc1.fas"), None))

    def test_taxa_distribution(self):

        self.assertTrue(self.aln_obj.taxa_distribution())

    def test_cumulative_missing_genes(self):

        self.assertTrue(self.aln_obj.cumulative_missing_genes())

    def test_outlier_missing_data(self):

        self.assertTrue(self.aln_obj.outlier_missing_data())

    def test_outlier_missing_data_sp(self):

        self.assertTrue(self.aln_obj.outlier_missing_data_sp())

    def test_outlier_segregating(self):

        self.assertTrue(self.aln_obj.outlier_segregating())

    def test_outlier_segregating_sp(self):

        self.assertTrue(self.aln_obj.outlier_segregating_sp())

    def test_outlier_sequence_size(self):

        self.assertTrue(self.aln_obj.outlier_sequence_size())

    def test_outlier_sequence_size_sp(self):

        self.assertTrue(self.aln_obj.outlier_sequence_size_sp())
开发者ID:ODiogoSilva,项目名称:TriFusion,代码行数:104,代码来源:test_stats.py


注:本文中的process.sequence.AlignmentList.sequence_conservation_gnp方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。