convergence_detection.mli 1.65 KB
Newer Older
Philippe Veber's avatar
Philippe Veber committed
1
open Bistro
2
open File_formats
Carine Rey's avatar
Carine Rey committed
3

Philippe Veber's avatar
Philippe Veber committed
4
type result = [
Philippe Veber's avatar
Philippe Veber committed
5 6 7 8 9 10 11 12 13
  | `Pcoc of [`pcoc] dworkflow
  | `Pcoc_gamma of [`pcoc] dworkflow
  | `Pcoc_C60 of [`pcoc] dworkflow
  | `Diffsel of [`diffsel] dworkflow
  | `Identical_LG of [`identical] dworkflow
  | `Identical_WAG of [`identical] dworkflow
  | `Topological_LG of [`topological] dworkflow
  | `Topological_WAG of [`topological] dworkflow
  | `Tdg09 of [`tdg09] dworkflow
14
  | `Multinomial of text_file pworkflow
Philippe Veber's avatar
Philippe Veber committed
15
  | `Msd of [`msd] dworkflow * float
Philippe Veber's avatar
Philippe Veber committed
16
]
Carine Rey's avatar
Carine Rey committed
17

Philippe Veber's avatar
Philippe Veber committed
18
val meth_string_of_result : result -> string
Carine Rey's avatar
Carine Rey committed
19 20 21 22

type dataset_res = {
  model_prefix : string ;
  tree_prefix : string ;
Carine Rey's avatar
Carine Rey committed
23
  dataset : Dataset.t ;
Philippe Veber's avatar
Philippe Veber committed
24
  res_by_tools: result list ;
Philippe Veber's avatar
Philippe Veber committed
25 26
  merged_results : text_file pworkflow ;
  plot_merged_results : svg pworkflow
27
}
Carine Rey's avatar
Carine Rey committed
28 29

val merge_results :
30
  ?fna_infos:text_file pworkflow ->
Philippe Veber's avatar
Philippe Veber committed
31
  res_by_tools : result list ->
Carine Rey's avatar
Carine Rey committed
32
  unit ->
Philippe Veber's avatar
Philippe Veber committed
33
  text_file pworkflow
Carine Rey's avatar
Carine Rey committed
34

35 36 37 38
val merge_result_tables :
  ?fna_infos:text_file pworkflow ->
  ?oracle:text_file pworkflow ->
  ?multinomial:text_file pworkflow ->
39
  ?tdg09:text_file pworkflow ->
40
  ?diffsel:text_file pworkflow ->
41
  ?diffseldsparse:text_file pworkflow ->
42 43 44
  unit ->
  text_file pworkflow

Carine Rey's avatar
Carine Rey committed
45
val plot_merge_results :
Philippe Veber's avatar
Philippe Veber committed
46
  ? t_choices : text_file pworkflow ->
47 48
  plot_all_sites: bool ->
  res_by_tools : result list ->
Philippe Veber's avatar
Philippe Veber committed
49 50 51
  tree:nhx pworkflow ->
  faa:aminoacid_fasta pworkflow ->
  tsv:text_file pworkflow ->
52
  unit ->
Philippe Veber's avatar
Philippe Veber committed
53
  svg pworkflow
54 55 56 57 58 59 60 61

val plot_convergent_sites :
  ?plot_all_sites:bool ->
  alignment:aminoacid_fasta pworkflow ->
  detection_results:text_file pworkflow ->
  tree:nhx pworkflow ->
  unit ->
  svg pworkflow
Philippe Veber's avatar
Philippe Veber committed
62 63 64 65 66 67 68 69 70

val recall_precision_curve :
  text_file pworkflow ->
  svg pworkflow

val oracle :
  n_h0:int ->
  n_ha:int ->
  text_file pworkflow