file_formats.ml 484 Bytes
Newer Older
1 2 3 4 5 6 7 8
open Bistro.Std
open Bistro_bioinfo.Std

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

Philippe Veber's avatar
Philippe Veber committed
9 10 11 12 13
class type diffsel_tree = object
  inherit text_file
  method format : [`diffsel_tree]
end

Philippe Veber's avatar
Philippe Veber committed
14 15 16 17
class type nucleotide_fasta = object
  inherit fasta
  method alphabet : [`Nucleotide]
end
18

19 20
class type aminoacid_fasta = object
  inherit fasta
Carine Rey's avatar
Carine Rey committed
21 22 23 24 25 26
  method alphabet : [`Aminoacid]
end

class type nucleotide_phylip = object
  inherit text_file
  method format : [`Nucleotide]
27 28
end