Sha256: da74d050ae2210a830144b38bc30584d07da783d1a45ab5dad30b533ee94986a

Contents?: true

Size: 1.42 KB

Versions: 9

Compression:

Stored size: 1.42 KB

Contents

#
# = bio/db/biosql/biosql_to_biosequence.rb - Bio::SQL::Sequence to Bio::Sequence adapter module
#
# Copyright::   Copyright (C) 2008
#               Naohisa Goto <ng@bioruby.org>,
#               Raoul Jean Pierre Bonnal
# License::     The Ruby License
#
# $Id:$
#

require 'bio/sequence'
require 'bio/sequence/adapter'

# Internal use only. Normal users should not use this module.
#
# Bio::SQL::Sequence to Bio::Sequence adapter module.
# It is internally used in Bio::SQL::Sequence#to_biosequence.
#
module Bio::Sequence::Adapter::BioSQL

  extend Bio::Sequence::Adapter

  private

  def_biosequence_adapter :seq 
  
  def_biosequence_adapter :entry_id

  def_biosequence_adapter :primary_accession

  def_biosequence_adapter :secondary_accessions

  def_biosequence_adapter :molecule_type

  #--
  #TODO: identify where is stored data_class in biosql      
  #++

  def_biosequence_adapter :data_class

  def_biosequence_adapter :definition, :description

  def_biosequence_adapter :topology

  def_biosequence_adapter :date_created

  def_biosequence_adapter :date_modified

  def_biosequence_adapter :division

  def_biosequence_adapter :sequence_version

  def_biosequence_adapter :keywords

  def_biosequence_adapter :species

  def_biosequence_adapter :classification, :taxonomy

  def_biosequence_adapter :references

  def_biosequence_adapter :features
  
  def_biosequence_adapter :comments

end #module Bio::Sequence::Adapter::BioSQL

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
bioruby-bio-1.2.9.9001 lib/bio/db/biosql/biosql_to_biosequence.rb
bioruby-bio-1.2.9.9501 lib/bio/db/biosql/biosql_to_biosequence.rb
bioruby-bio-1.3.0 lib/bio/db/biosql/biosql_to_biosequence.rb
ngoto-bio-1.2.9.9001 lib/bio/db/biosql/biosql_to_biosequence.rb
ngoto-bio-1.2.9.9501 lib/bio/db/biosql/biosql_to_biosequence.rb
ngoto-bio-1.3.0.5000 lib/bio/db/biosql/biosql_to_biosequence.rb
ngoto-bio-1.3.0 lib/bio/db/biosql/biosql_to_biosequence.rb
wwood-bioruby-1.2.11 lib/bio/db/biosql/biosql_to_biosequence.rb
bio-1.3.0 lib/bio/db/biosql/biosql_to_biosequence.rb