convergence_detection.mli 1.18 KB
Newer Older
1
open Core
Carine Rey's avatar
Carine Rey committed
2 3 4
open Bistro.EDSL
open Bistro.Std
open Bistro_bioinfo.Std
5
open File_formats
Carine Rey's avatar
Carine Rey committed
6
open Defs
Carine Rey's avatar
Carine Rey committed
7

Philippe Veber's avatar
Philippe Veber committed
8 9 10
type result = [
  | `Pcoc of [`pcoc] directory workflow
  | `Pcoc_gamma of [`pcoc] directory workflow
Carine Rey's avatar
Carine Rey committed
11
  | `Pcoc_C60 of [`pcoc] directory workflow
Philippe Veber's avatar
Philippe Veber committed
12
  | `Diffsel of [`diffsel] directory workflow
Carine Rey's avatar
Carine Rey committed
13 14
  | `Identical_LG of [`identical] directory workflow
  | `Identical_WAG of [`identical] directory workflow
15 16 17
  | `Topological_LG of [`topological] directory workflow
  | `Topological_WAG of [`topological] directory workflow
  | `Tdg09 of [`tdg09] directory workflow
18
  | `Multinomial of [`multinomial] directory workflow
19
  | `Msd of [`msd] directory workflow
Philippe Veber's avatar
Philippe Veber committed
20
]
Carine Rey's avatar
Carine Rey committed
21

Philippe Veber's avatar
Philippe Veber committed
22
val meth_string_of_result : result -> string
Carine Rey's avatar
Carine Rey committed
23 24 25 26

type dataset_res = {
  model_prefix : string ;
  tree_prefix : string ;
Carine Rey's avatar
Carine Rey committed
27
  dataset : Dataset.t ;
Philippe Veber's avatar
Philippe Veber committed
28
  res_by_tools: result list ;
Carine Rey's avatar
Carine Rey committed
29 30
  merged_results : text_file workflow ;
  plot_merged_results : svg workflow
31
}
Carine Rey's avatar
Carine Rey committed
32 33

val merge_results :
Philippe Veber's avatar
Philippe Veber committed
34
  res_by_tools : result list ->
Carine Rey's avatar
Carine Rey committed
35
  text_file workflow
Carine Rey's avatar
Carine Rey committed
36 37

val plot_merge_results :
38
  ? t_choices : text_file workflow ->
39 40 41 42 43
  plot_all_sites: bool ->
  res_by_tools : result list ->
  tree:nhx workflow ->
  faa:aminoacid_fasta workflow ->
  tsv:text_file workflow ->
44
  unit ->
45
  svg workflow