Class: Ensembl::Helpers::Genotype
- Inherits:
-
Object
- Object
- Ensembl::Helpers::Genotype
- Defined in:
- lib/ensembl/helpers/variation_position.rb
Overview
TODO: Implement phased
Instance Method Summary collapse
-
#initialize(attrib) ⇒ Genotype
constructor
A new instance of Genotype.
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 |