file_formats.ml 698 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
class type nucleotide_fasta = object
  inherit fasta
  method alphabet : [`Nucleotide]
end
13

14 15 16 17 18 19 20 21
class type aminoacid_fasta = object
  inherit fasta
  method alphabet : [`Nucleotide]
end


type parsed_input_tree

22 23 24 25 26 27
type output_parse_input_tree =
  | Nodes_H0
  | Nodes_Ha
  | Tree4detect
  | Tree4simu
  | Tree_diffsel
28 29 30 31 32 33 34

type raw_dataset = {
  input_tree: nhx workflow ;
  fna: nucleotide_fasta workflow ;
  }

type ready_dataset = {
35
  input_tree: nhx workflow ;
36 37 38 39
  parsed_tree : parsed_input_tree directory workflow ;
  fna: nucleotide_fasta workflow ;
  faa: aminoacid_fasta workflow ;
  }