file_formats.ml 555 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

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

Philippe Veber's avatar
Philippe Veber committed
19 20 21 22
class type nucleotide_fasta = object
  inherit fasta
  method alphabet : [`Nucleotide]
end
23

24 25
class type aminoacid_fasta = object
  inherit fasta
Carine Rey's avatar
Carine Rey committed
26 27 28 29 30 31
  method alphabet : [`Aminoacid]
end

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