Esempio n. 1
0
def test_add_most_severe(variant):
    plugin = VcfPlugin()

    variant.consequences = ['downstream_gene_variant', 'stop_gained']
    plugin._add_most_severe_consequence(variant)

    assert variant.most_severe_consequence == 'stop_gained'
Esempio n. 2
0
def test_add_most_severe(variant):
    plugin = VcfPlugin()
    
    variant.consequences = ['downstream_gene_variant', 'stop_gained']
    plugin._add_most_severe_consequence(variant)
    
    assert variant.most_severe_consequence == 'stop_gained'
Esempio n. 3
0
def test_add_most_severe_no_info(variant):
    plugin = VcfPlugin()
    plugin._add_most_severe_consequence(variant)

    assert variant.most_severe_consequence == None
Esempio n. 4
0
def test_add_most_severe_no_info(variant):
    plugin = VcfPlugin()
    plugin._add_most_severe_consequence(variant)
    
    assert variant.most_severe_consequence == None