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 197 def initialize(gn) 198 @number = gn.to_i 199 @aaseq = Bio::FastaFormat.new("") 200 @naseq = Bio::FastaFormat.new("") 201 @promoter = nil 202 @exons = [] 203 @polyA = nil 204 end
Public Instance Methods
set_aaseq(seq)
click to toggle source
Bio::Genescan::Report::Gene#seq_aaseq
# File lib/bio/appl/genscan/report.rb 226 def set_aaseq(seq) 227 @aaseq = seq 228 end
set_naseq(seq)
click to toggle source
Bio::Genescan::Report::Gene#seq_naseq
# File lib/bio/appl/genscan/report.rb 232 def set_naseq(seq) 233 @naseq = seq 234 end
set_polyA(segment)
click to toggle source
Bio::Genescan::Report::Gene#seq_polyA
# File lib/bio/appl/genscan/report.rb 244 def set_polyA(segment) 245 @polyA = segment 246 end
set_promoter(segment)
click to toggle source
Bio::Genescan::Report::Gene#seq_promoter
# File lib/bio/appl/genscan/report.rb 238 def set_promoter(segment) 239 @promoter = segment 240 end