Class: Mapper::TrackNode

Inherits:
Struct
  • Object
show all
Defined in:
../lib/mapper_base.rb

Overview

The support for the mapper_support array. See mapper_support attribute. :symbol is the rule name used during a single genotype->phenotype mapping step, :from is the index of the first codon ‘covered’ by the rule, :to is the index of the last codon ‘covered’ by the rule. :back is the reference to the parent TrackNode :alt_idx is the index of the expansion in a given rule so that grammar[symbol][alt_idx] is the selected expansion :loc_idx is the locus index in the parent expansion

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) alt_idx

Returns the value of attribute alt_idx

Returns:

  • (Object)

    the current value of alt_idx



15
16
17
# File '../lib/mapper_base.rb', line 15

def alt_idx
  @alt_idx
end

- (Object) back

Returns the value of attribute back

Returns:

  • (Object)

    the current value of back



15
16
17
# File '../lib/mapper_base.rb', line 15

def back
  @back
end

- (Object) from

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



15
16
17
# File '../lib/mapper_base.rb', line 15

def from
  @from
end

- (Object) loc_idx

Returns the value of attribute loc_idx

Returns:

  • (Object)

    the current value of loc_idx



15
16
17
# File '../lib/mapper_base.rb', line 15

def loc_idx
  @loc_idx
end

- (Object) symbol

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



15
16
17
# File '../lib/mapper_base.rb', line 15

def symbol
  @symbol
end

- (Object) to

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



15
16
17
# File '../lib/mapper_base.rb', line 15

def to
  @to
end