class Bio::MAF::EmptySequence

An empty sequence record from an ‘e’ line.

This indicates that “there isn’t aligning DNA for a species but that the current block is bridged by a chain that connects blocks before and after this block” (MAF spec). @api public

Attributes

status[R]

Public Class Methods

new(*args) click to toggle source
Calls superclass method Bio::MAF::Sequence::new
# File lib/bio/maf/maf.rb, line 467
def initialize(*args)
  super(*(args[0..4] << nil))
  @status = args[5]
end

Public Instance Methods

empty?() click to toggle source
# File lib/bio/maf/maf.rb, line 489
def empty?
  true
end
join(o) click to toggle source
# File lib/bio/maf/maf.rb, line 480
def join(o)
  EmptySequence.new(source,
                    start,
                    size + o.size,
                    strand,
                    src_size,
                    @status)
end
slice(offset, len) click to toggle source
# File lib/bio/maf/maf.rb, line 476
def slice(offset, len)
  self
end
text() click to toggle source
# File lib/bio/maf/maf.rb, line 472
def text
  ''
end
upcase!() click to toggle source
# File lib/bio/maf/maf.rb, line 493
def upcase!
  # no-op
end
write_fasta(writer) click to toggle source
# File lib/bio/maf/maf.rb, line 497
def write_fasta(writer)
  raise "empty sequence output not implemented!"
end