Class Ensembl::Core::ProteinAlignFeature
In: lib/ensembl/core/activerecord.rb
Parent: DBConnection

DESCRIPTION

The ProteinAlignFeature class provides an interface to the protein_align_feature table. This table contains sequence similarity mappings against a SeqRegion.

This class uses ActiveRecord to access data in the Ensembl database. See the general documentation of the Ensembl module for more information on what this means and what methods are available.

This class includes the mixin Sliceable, which means that it is mapped to a SeqRegion object and a Slice can be created for objects of this class. See Sliceable and Slice for more information.

USAGE

 uniprot_scan = Analysis.find_by_logic_name('Uniprot')
 uniprot_scan.protein_align_features.each do |hit|
   puts hit.seq_region.name + "\t" + hit.hit_name + "\t" + hit.cigar_line
 end

Included Modules

Sliceable

[Validate]