def test_plurality2(): config = PluralityConfig(minConfidence=0, minCoverage=0) css, variants = pluralityConsensusAndVariants( StaggeredReads.referenceWindow, StaggeredReads.reference, StaggeredReads.hits, config) assert_equal(StaggeredReads.expectedPluralityConsensus, css.sequence) assert_equal(StaggeredReads.expectedPluralityVariants, variants)
def test_plurality1(): css, variants = pluralityConsensusAndVariants( ForwardAndReverseReads.referenceWindow, ForwardAndReverseReads.reference, ForwardAndReverseReads.hits, PluralityConfig()) assert_equal(ForwardAndReverseReads.expectedPluralityConsensus, css.sequence) assert_equal(ForwardAndReverseReads.expectedPluralityVariants, variants)
def test_plurality1(): css, variants = pluralityConsensusAndVariants(ForwardAndReverseReads.referenceWindow, ForwardAndReverseReads.reference, ForwardAndReverseReads.hits, PluralityConfig()) assert_equal(ForwardAndReverseReads.expectedPluralityConsensus, css.sequence) assert_equal(ForwardAndReverseReads.expectedPluralityVariants, variants)
def test_plurality2(): config = PluralityConfig(minConfidence=0, minCoverage=0) css, variants = pluralityConsensusAndVariants(StaggeredReads.referenceWindow, StaggeredReads.reference, StaggeredReads.hits, config) assert_equal(StaggeredReads.expectedPluralityConsensus, css.sequence) assert_equal(StaggeredReads.expectedPluralityVariants, variants)