Method: Bio::Alignment::Output#output

Defined in:
lib/bio/alignment.rb

#output(format, *arg) ⇒ Object



873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
# File 'lib/bio/alignment.rb', line 873

def output(format, *arg)
  case format
  when :clustal
    output_clustal(*arg)
  when :fasta
    output_fasta(*arg)
  when :phylip
    output_phylip(*arg)
  when :phylipnon
    output_phylipnon(*arg)
  when :msf
    output_msf(*arg)
  when :molphy
    output_molphy(*arg)
  else
    raise "Unknown format: #{format.inspect}"
  end
end