Method: Bio::Alignment::OriginalAlignment#initialize

Defined in:
lib/bio/alignment.rb

#initialize(seqs = []) ⇒ OriginalAlignment

Creates a new alignment object. seqs may be one of follows: an array of sequences (or strings), an array of sequence database objects, an alignment object.



1553
1554
1555
1556
1557
# File 'lib/bio/alignment.rb', line 1553

def initialize(seqs = [])
  @seqs = {}
  @keys = []
  self.add_sequences(seqs)
end