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
123 def initialize(key, value)
124   @qualifier, @value = key, value
125 end