def top_priority_effect_per_gene_id(self):
        """Highest priority effect for each unique gene ID"""
        return OrderedDict(
            (gene_id, top_priority_effect(variant_effects))
            for (gene_id, variant_effects)
            in self.groupby_gene_id().items())
def top_priority_effect_per_gene_id ( self ) : return OrderedDict ( ( gene_id , top_priority_effect ( variant_effects ) ) for ( gene_id , variant_effects ) in self . groupby_gene_id ( ) . items ( ) )
Highest priority effect for each unique gene ID