file_formats.ml 1000 Bytes
Newer Older
Philippe Veber's avatar
Philippe Veber committed
1
open Bistro
2

Louis Duchemin's avatar
Louis Duchemin committed
3 4 5 6 7
class type bimbam = object
  inherit text
  method format : [`bimbam]
end

8 9 10 11 12
class type newick = object
  inherit text
  method format : [`newick]
end

13 14 15 16 17
class type nhx = object
  inherit newick
  method newick_variant : [`nhx]
end

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

Carine Rey's avatar
Carine Rey committed
23
class type nw = object
Philippe Veber's avatar
Philippe Veber committed
24
  inherit text
Carine Rey's avatar
Carine Rey committed
25 26 27
  method format : [`nw]
end

Philippe Veber's avatar
Philippe Veber committed
28
class type diffsel_tree = object
Philippe Veber's avatar
Philippe Veber committed
29
  inherit text
Philippe Veber's avatar
Philippe Veber committed
30 31 32
  method format : [`diffsel_tree]
end

33
class type topological_tree = object
Philippe Veber's avatar
Philippe Veber committed
34
  inherit text
35 36 37
  method format : [`topological_tree]
end

Philippe Veber's avatar
Philippe Veber committed
38 39 40 41
class type nucleotide_fasta = object
  inherit fasta
  method alphabet : [`Nucleotide]
end
42

43 44
class type aminoacid_fasta = object
  inherit fasta
Carine Rey's avatar
Carine Rey committed
45 46 47 48
  method alphabet : [`Aminoacid]
end

class type nucleotide_phylip = object
Philippe Veber's avatar
Philippe Veber committed
49
  inherit text
Carine Rey's avatar
Carine Rey committed
50
  method format : [`Nucleotide]
51
end
Carine Rey's avatar
Carine Rey committed
52
class type aminoacid_phylip = object
Philippe Veber's avatar
Philippe Veber committed
53
  inherit text
Carine Rey's avatar
Carine Rey committed
54 55
  method format : [`Aminoacid]
end
56 57 58 59 60

class type rds = object
  inherit binary_file
  method format : [`rds]
end