Class: Ensembl::Helpers::Genotype

Inherits:
Object
  • Object
show all
Defined in:
lib/ensembl/helpers/variation_position.rb

Overview

TODO: Implement phased

Instance Method Summary collapse

Constructor Details

#initialize(attrib) ⇒ Genotype

Returns a new instance of Genotype.



5
6
7
8
# File 'lib/ensembl/helpers/variation_position.rb', line 5

def initialize(attrib)
  @left=attrib[1]
  @right=attrib[2]
end