class Bio::Genscan::Report::Gene

Container class of predicted gene structures.

Attributes

aaseq[R]

Returns Bio::FastaFormat object.

exons[R]

Returns Array of Bio::Genscan::Report::Exon.

naseq[R]

Returns Bio::FastaFormat object.

number[R]

Returns “Gn”, gene number field.

polyA[R]

Returns Bio::Genscan::Report::Exon object.

promoter[R]

Returns Bio::Genscan::Report::Exon object.

Public Class Methods

new(gn) click to toggle source

Bio::Genescan::Report::Gene.new(gene_number)

# File lib/bio/appl/genscan/report.rb, line 197
def initialize(gn)
  @number = gn.to_i
  @aaseq = Bio::FastaFormat.new("")
  @naseq = Bio::FastaFormat.new("")
  @promoter = nil
  @exons    = []
  @polyA    = nil
end

Public Instance Methods

set_aaseq(seq) click to toggle source

Bio::Genescan::Report::Gene#seq_aaseq

# File lib/bio/appl/genscan/report.rb, line 226
def set_aaseq(seq)
  @aaseq = seq
end
set_naseq(seq) click to toggle source

Bio::Genescan::Report::Gene#seq_naseq

# File lib/bio/appl/genscan/report.rb, line 232
def set_naseq(seq)
  @naseq = seq
end
set_polyA(segment) click to toggle source

Bio::Genescan::Report::Gene#seq_polyA

# File lib/bio/appl/genscan/report.rb, line 244
def set_polyA(segment)
  @polyA = segment
end
set_promoter(segment) click to toggle source

Bio::Genescan::Report::Gene#seq_promoter

# File lib/bio/appl/genscan/report.rb, line 238
def set_promoter(segment)
  @promoter = segment
end