Class Bio::Feature
In: lib/feature.rb
Parent: Object

Methods

Classes and Modules

Class Bio::Feature::Qualifier

Attributes

feature  [RW]  Returns type of feature in String (e.g ‘CDS’, ‘gene’)
locations  [RW]  Returns position of the feature as a Bio::Locations object
parent  [RW]  Returns parent of Bio::Feature is it is a subfeature of another one
position  [RW]  Returns position of the feature in String (e.g. ‘complement(123..146)’)
qualifiers  [RW]  Returns an Array of Qualifier objects.
subfeatures  [RW]  Returns an Array of Bio::Feature objects

Public Class methods

Public Instance methods

Adds a Qualifier object to the Feature.

Arguments:

Returns:Bio::Feature object

Adds a Bio::Feature as a subfeature. Arguments:

Returns:Bio::Feature object
append_qualifier(a)

Alias for add_qualifier

each(arg = nil)

Alias for each_subfeature

Iterates on each qualifer object.

Arguments:

  • (optional) key: if specified, only iterates over qualifiers with this key

Iterates on each subfeature object.

Arguments:

  • (optional) key: if specified, only iterates over subfeatures of this type

[Validate]