file_formats.ml 1.06 KB
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

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

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

Philippe Veber's avatar
Philippe Veber committed
33 34 35 36
class type nucleotide_fasta = object
  inherit fasta
  method alphabet : [`Nucleotide]
end
37

38 39
class type aminoacid_fasta = object
  inherit fasta
Carine Rey's avatar
Carine Rey committed
40 41 42 43
  method alphabet : [`Aminoacid]
end

class type nucleotide_phylip = object
44 45
  inherit phylip
  method alphabet : [`Nucleotide]
46
end
47

Carine Rey's avatar
Carine Rey committed
48
class type aminoacid_phylip = object
49 50
  inherit phylip
  method alphabet : [`Aminoacid]
Carine Rey's avatar
Carine Rey committed
51
end
52 53 54 55 56

class type rds = object
  inherit binary_file
  method format : [`rds]
end
57 58 59 60 61 62 63

(** Convergence Prediction Table *)
class type cpt = object
  inherit tsv
  method header : [`Yes]
  method fields : [`Site_then_scores]
end