file_formats.ml 719 Bytes
Newer Older
Philippe Veber's avatar
Philippe Veber committed
1
open Bistro
2 3 4 5 6 7

class type nhx = object
  inherit text_file
  method format : [`nhx]
end

Carine Rey's avatar
Carine Rey committed
8 9 10 11 12
class type nw = object
  inherit text_file
  method format : [`nw]
end

Philippe Veber's avatar
Philippe Veber committed
13 14 15 16 17
class type diffsel_tree = object
  inherit text_file
  method format : [`diffsel_tree]
end

18 19 20 21 22
class type topological_tree = object
  inherit text_file
  method format : [`topological_tree]
end

Philippe Veber's avatar
Philippe Veber committed
23 24 25 26
class type nucleotide_fasta = object
  inherit fasta
  method alphabet : [`Nucleotide]
end
27

28 29
class type aminoacid_fasta = object
  inherit fasta
Carine Rey's avatar
Carine Rey committed
30 31 32 33 34 35
  method alphabet : [`Aminoacid]
end

class type nucleotide_phylip = object
  inherit text_file
  method format : [`Nucleotide]
36
end
Carine Rey's avatar
Carine Rey committed
37 38 39 40
class type aminoacid_phylip = object
  inherit text_file
  method format : [`Aminoacid]
end