class Bio::Feature::Qualifier

Container for qualifier-value pairs for sequence features.

Attributes

qualifier[R]

Qualifier name in String

value[R]

Qualifier value in String

Public Class Methods

new(key, value) click to toggle source

Creates a new Bio::Feature::Qualifier object

Arguments:

  • (required) key: key of the qualifier (e.g. “gene”)

  • (required) value: value of the qualifier (e.g. “CYP2D6”)

Returns

Bio::Feature::Qualifier object

# File lib/bio/feature.rb, line 123
def initialize(key, value)
  @qualifier, @value = key, value
end