Method: Ytilib.read_seqs2array

Defined in:
lib/sequence_logo/ytilib/ytilib.rb

.read_seqs2array(path) ⇒ Object



87
88
89
90
91
92
93
94
95
96
97
# File 'lib/sequence_logo/ytilib/ytilib.rb', line 87

def Ytilib.read_seqs2array(path)
  type = File.ext_wo_name(path)
  case type
  when "mfa", "fasta", "fa"
    return Ytilib.read_mfa2array(path)
  when "plain","txt"
    return Ytilib.read_plain2array(path)
  else
    checkerr("unknown sequences-file, ext=#{type}")
  end
end