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

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

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

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

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

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

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

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